Ticket #496: Portfile

File Portfile, 1.3 KB (added by bchesneau@…, 21 years ago)

Portfile

Line 
1PortSystem 1.0
2name                    bind9
3version                 9.2.2
4revision                1
5categories              net
6maintainers             bchesneau@mac.com
7description             Domain Name System server
8long_description        The BIND DNS Server is used on the vast majority of name serving machines on the Internet, providing a robust and stable architecture on top of which an organization's naming architecture can be built.  The resolver library included in the BIND distribution provides the standard APIs for translation between domain names and Internet addresses and is intended to be linked with applications requiring name service.
9
10platforms               darwin freebsd
11master_sites            ftp://ftp.isc.org/isc/${portname}/${version}/
12distname                bind-${version}
13worksrcdir              bind-${version}
14checksums               md5 6ea7d64a0856893ab3eb541ab7bbc725
15
16depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
17
18
19configure.args          --mandir=${prefix}/share/man --localstatedir=${prefix}/var
20
21post-install    {
22        file mkdir ${destroot}${prefix}/etc/rc.d/
23        file mkdir ${destroot}${prefix}/var/run/
24        system "install -bC -o root ${portpath}/bind.sh ${destroot}${prefix}/etc/rc.d/"
25}
26
27variant darwin {
28        depends_lib-append      lib:libdl.1:dlcompat
29}
30
31
32variant ipv6 {
33        configure.args-append   --enable-ipv6
34}
35
36variant ssl {
37        depends_lib-append      lib:libssl.0.9:openssl
38        configure.args-append   --with-openssl
39}