source: trunk/dports/sysutils/am-utils/Portfile

Last change on this file was 116700, checked in by cal@…, 4 years ago

am-utils: specify license, conform to BSD license by installing docs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 116700 2014-02-04 00:03:32Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            am-utils
7version         6.1.5
8revision        1
9checksums       rmd160  ab1485aaa65c522cc5db7c7917ec59d3b47e0803 \
10                sha256  d070682af75effd6b49ed3e893603039ecd0a013a49d8d09375187676d645178
11
12categories      sysutils
13platforms       darwin
14maintainers     nomaintainer
15
16homepage        http://www.am-utils.org/
17license         BSD
18description     The Berkeley Automounter Suite of Utilities
19long_description \
20    the "next generation" of the popular BSD Automounter, Amd. Am-utils \
21    includes many additional updates, ports, programs, features (such as\
22    Autofs support, NFS V.3 support, and shared libraries), bug fixes,  \
23    and more.
24
25master_sites    ftp://ftp.fu-berlin.de/unix/network/${name} \
26                ftp://ftp.cise.ufl.edu/pub/mirrors/${name} \
27                ftp://ftp.ring.gr.jp/pub/net/${name} \
28                ftp://ftp.u-aizu.ac.jp/pub/net/amd/${name}
29
30configure.args  --infodir=${prefix}/share/info \
31                --mandir=${prefix}/share/man
32
33platform darwin {
34    if {${os.major} >= 13} {
35        patchfiles      patch-amd__amq_subr.c-mavericks-rpc-compatibility.diff \
36                        patch-amd__amq_xdr.c-mavericks-rpc-compatibility.diff \
37                        patch-libamu__misc_rpc.c-mavericks-rpc-compatibility.diff
38    }
39}
40
41post-destroot {
42    xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
43    xinstall -W ${worksrcpath} -m 0444 \
44       COPYING \
45       ChangeLog \
46       FAQ \
47       README \
48       README.attrcache \
49       README.autofs \
50       README.ldap \
51       README.osx \
52       README.y2k \
53       ${destroot}${prefix}/share/doc/${name} 
54}
55
56test.run        yes
57test.target     check
58
59livecheck.type  regex
60livecheck.url   ftp://ftp.fu-berlin.de/unix/network/${name}/
61livecheck.regex [quotemeta ${name}]-(\\d(\\.\\d)+)[quotemeta ${extract.suffix}]
Note: See TracBrowser for help on using the repository browser.