From 7e328256e23e9e6b0607c88e156693ceb5eb9bbf Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Mon, 9 Jun 2014 10:24:23 +0000 Subject: Unbreak, it seems not everybody as switched to pkg yet... Sponsored by: Absolight --- dns/bind99/Makefile | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) (limited to 'dns/bind99/Makefile') diff --git a/dns/bind99/Makefile b/dns/bind99/Makefile index 1b2784560092..9abdcb8d6e34 100644 --- a/dns/bind99/Makefile +++ b/dns/bind99/Makefile @@ -2,7 +2,7 @@ PORTNAME= bind PORTVERSION= 9.9.5 -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= dns net ipv6 MASTER_SITES= ${MASTER_SITE_ISC} MASTER_SITE_SUBDIR= bind9/${ISCVERSION} @@ -141,27 +141,26 @@ CONFIGURE_ARGS+= --disable-threads .if ${PORT_OPTIONS:MREPLACE_BASE} .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000100 IGNORE= REPLACE_BASE option is not supported on this release -.endif +.endif # >= 10.0 PKGNAMESUFFIX= -base PREFIX= /usr PLIST_SUB+= SHARE_MAN="share/" NO_MTREE= yes BIND_DESTETC= /etc/namedb -.else +.else # REPLACE_BASE PLIST_SUB+= SHARE_MAN="" .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000100 BIND_DESTETC= ${PREFIX}/etc/namedb PKGINSTALL= ${NONEXISTENT} -.else +.else # >= 10.0 BIND_DESTETC= ${PREFIX}/etc -.endif -.endif +.endif # >= 10.0 +.endif # REPLACE_BASE PKGDEINSTALL= ${PKGINSTALL} CONFIGURE_ARGS+= --prefix=${PREFIX} \ --sysconfdir=${BIND_DESTETC} -PLIST_SUB+= BIND_DESTETC="${BIND_DESTETC}" SUB_LIST+= BIND_DESTETC="${BIND_DESTETC}" .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000100 @@ -210,19 +209,17 @@ post-install: .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000100 - ${MKDIR} ${STAGEDIR}${BIND_DESTETC} + ${MKDIR} ${STAGEDIR}${ETCDIR} .for i in dynamic master slave working - @${MKDIR} ${STAGEDIR}${BIND_DESTETC}/$i + @${MKDIR} ${STAGEDIR}${ETCDIR}/$i .endfor - ${INSTALL_DATA} ${WRKDIR}/named.conf ${STAGEDIR}${BIND_DESTETC}/named.conf.sample - ${INSTALL_DATA} ${FILESDIR}/named.root ${STAGEDIR}${BIND_DESTETC} - ${INSTALL_DATA} ${FILESDIR}/empty.db ${STAGEDIR}${BIND_DESTETC}/master - ${INSTALL_DATA} ${FILESDIR}/localhost-forward.db ${STAGEDIR}${BIND_DESTETC}/master - ${INSTALL_DATA} ${FILESDIR}/localhost-reverse.db ${STAGEDIR}${BIND_DESTETC}/master + ${INSTALL_DATA} ${WRKDIR}/named.conf ${STAGEDIR}${ETCDIR}/named.conf.sample + ${INSTALL_DATA} ${FILESDIR}/named.root ${STAGEDIR}${ETCDIR} + ${INSTALL_DATA} ${FILESDIR}/empty.db ${STAGEDIR}${ETCDIR}/master + ${INSTALL_DATA} ${FILESDIR}/localhost-forward.db ${STAGEDIR}${ETCDIR}/master + ${INSTALL_DATA} ${FILESDIR}/localhost-reverse.db ${STAGEDIR}${ETCDIR}/master + ${INSTALL_DATA} ${WRKSRC}/bin/rndc/rndc.conf ${STAGEDIR}${ETCDIR}/rndc.conf.sample .endif - ${INSTALL_DATA} ${WRKSRC}/bin/rndc/rndc.conf \ - ${STAGEDIR}${BIND_DESTETC}/rndc.conf.sample - .endif # BIND_TOOLS_SLAVE .include -- cgit v1.2.3