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

Last change on this file since 2553 was 2553, checked in by jpm, 15 years ago

initial commit of bind port as provided by: Benoit Chesneau bchesneau@…
Bug: 496 <http://www.opendarwin.org/bugzilla/show_bug.cgi?id=496>
Reviewed by: jpm
Approved by:

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