source: trunk/dports/net/bind9/Portfile @ 9182

Last change on this file since 9182 was 9182, checked in by jkh, 13 years ago

Bump revisions

  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1# $Id: Portfile,v 1.8 2004/11/07 01:03:19 jkh Exp $
2
3PortSystem 1.0
4name                    bind9
5version                 9.2.2-P3
6revision                1
7categories              net
8maintainers             bchesneau@mac.com
9description             Domain Name System server
10homepage                http://www.isc.org
11long_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.
12
13platforms               darwin freebsd
14master_sites            isc:${portname}/${version}
15distname                bind-${version}
16worksrcdir              bind-${version}
17checksums               md5 bb2097d4632991d2cc6d8db8aaf8e5d3
18depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
19
20
21configure.args          --mandir=${prefix}/share/man --localstatedir=${prefix}/var --enable-libbind
22
23post-destroot   {
24        file mkdir ${destroot}${prefix}/etc/rc.d/
25        file mkdir ${destroot}${prefix}/var/run/
26        file mkdir ${destroot}${prefix}/var/named/
27       
28        system "install -o root -m 755 -c ${portpath}/files/bind.sh ${destroot}${prefix}/etc/rc.d/"
29        reinplace "s|%%PREFIX%%|${prefix}|g" ${destroot}${prefix}/etc/rc.d/bind.sh
30
31        system "install -o root -m 755 -c ${portpath}/files/named.conf ${destroot}${prefix}/etc/"
32        reinplace "s|%%PREFIX%%|${prefix}|g" ${destroot}${prefix}/etc/named.conf
33       
34        system "install -o root -m 755 -c ${portpath}/files/db.* ${destroot}${prefix}/var/named/"
35        destroot.keepdirs ${destroot}${prefix}/var/run
36}
37
38
39variant darwin {
40        depends_lib-append      lib:libdl:dlcompat
41}
42
43variant ipv6 {
44        configure.args-append   --enable-ipv6
45}
46
47variant ssl {
48        depends_lib-append      lib:libssl.0.9:openssl
49        configure.args-append   --with-openssl
50}               
Note: See TracBrowser for help on using the repository browser.