diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-26 06:05:35 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-26 06:05:35 +0800 |
commit | 56f53f8da95767df762426612352d2c9a8aaa4dd (patch) | |
tree | f09b114d807fca928e26a7d440ab9c68f7f30949 /dns | |
parent | 07d8892a1ab98f8ee59e47ddebed21f6e88f4b2a (diff) | |
download | freebsd-ports-gnome-56f53f8da95767df762426612352d2c9a8aaa4dd.tar.gz freebsd-ports-gnome-56f53f8da95767df762426612352d2c9a8aaa4dd.tar.zst freebsd-ports-gnome-56f53f8da95767df762426612352d2c9a8aaa4dd.zip |
Support stage
Cleanup a bit
Diffstat (limited to 'dns')
-rw-r--r-- | dns/samba-nsupdate/Makefile | 50 |
1 files changed, 20 insertions, 30 deletions
diff --git a/dns/samba-nsupdate/Makefile b/dns/samba-nsupdate/Makefile index a385c9db6dd5..767456bf0cfc 100644 --- a/dns/samba-nsupdate/Makefile +++ b/dns/samba-nsupdate/Makefile @@ -37,11 +37,13 @@ CONFIGURE_ARGS+= \ --without-idn \ --with-randomdev=/dev/random -NO_STAGE= yes - OPTIONS_DEFINE= IPV6 -.include <bsd.port.options.mk> +SIGCHASE_CONFIGURE_ARGS+= STD_CDEFINES="-DDIG_SIGCHASE=1" +IPV6_CONFIGURE_ON= --enable-ipv6 + +PLIST_FILES= bin/${UNIQUENAME} \ + man/man1/${UNIQUENAME}.1.gz .include <bsd.port.pre.mk> @@ -49,14 +51,6 @@ OPTIONS_DEFINE= IPV6 ARCH= x86_64 .endif -.if ${PORT_OPTIONS:MSIGCHASE} -CONFIGURE_ARGS+= STD_CDEFINES="-DDIG_SIGCHASE=1" -.endif - -.if ${PORT_OPTIONS:MIPV6} -CONFIGURE_ARGS+= --enable-ipv6 -.endif - # Enable OpenSSL API CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} # Try to find appropriate GSSAPI libs @@ -71,27 +65,23 @@ LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal CONFIGURE_ARGS+= --with-gssapi="${LOCALBASE}" .endif -MAN1= ${UNIQUENAME}.1 - -PLIST_FILES= bin/${UNIQUENAME} - post-patch: - @${REINPLACE_CMD} \ - -e 's|^SUBDIRS.*|SUBDIRS = lib bin|' \ - -e 's|isc-config.sh installdirs|installdirs|' \ - -e 's|.*INSTALL.*isc-config.*||' \ - -e 's|.*INSTALL.*bind.keys.*||' \ - ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} \ - -e 's|^SUBDIRS.*|SUBDIRS = ${PORTNAME}|' \ - -e 's|^.*check confgen ||' \ - ${WRKSRC}/bin/Makefile.in - @${REINPLACE_CMD} \ - -e 's|${PORTNAME}|${UNIQUENAME}|g' \ - ${WRKSRC}/bin/nsupdate/${PORTNAME}.1 + @${REINPLACE_CMD} \ + -e 's|^SUBDIRS.*|SUBDIRS = lib bin|' \ + -e 's|isc-config.sh installdirs|installdirs|' \ + -e 's|.*INSTALL.*isc-config.*||' \ + -e 's|.*INSTALL.*bind.keys.*||' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} \ + -e 's|^SUBDIRS.*|SUBDIRS = ${PORTNAME}|' \ + -e 's|^.*check confgen ||' \ + ${WRKSRC}/bin/Makefile.in + @${REINPLACE_CMD} \ + -e 's|${PORTNAME}|${UNIQUENAME}|g' \ + ${WRKSRC}/bin/nsupdate/${PORTNAME}.1 do-install: - ${INSTALL_MAN} ${WRKSRC}/bin/nsupdate/${PORTNAME}.1 ${MANPREFIX}/man/man1/${UNIQUENAME}.1 - ${INSTALL_PROGRAM} ${WRKSRC}/bin/nsupdate/${PORTNAME} ${PREFIX}/bin/${UNIQUENAME} + ${INSTALL_MAN} ${WRKSRC}/bin/nsupdate/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${UNIQUENAME}.1 + ${INSTALL_PROGRAM} ${WRKSRC}/bin/nsupdate/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${UNIQUENAME} .include <bsd.port.post.mk> |