diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-03-03 22:09:35 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-03-03 22:09:35 +0800 |
commit | 6c9e66b75bc4f06db3b4fffe8a2e989f8d269356 (patch) | |
tree | d1dfed3eb96e876db0362153af2f1038ed95895b /dns/adsuck | |
parent | b4c90dadfb3733c10b0af1834b80221a205e24d8 (diff) | |
download | freebsd-ports-gnome-6c9e66b75bc4f06db3b4fffe8a2e989f8d269356.tar.gz freebsd-ports-gnome-6c9e66b75bc4f06db3b4fffe8a2e989f8d269356.tar.zst freebsd-ports-gnome-6c9e66b75bc4f06db3b4fffe8a2e989f8d269356.zip |
Support staging
Diffstat (limited to 'dns/adsuck')
-rw-r--r-- | dns/adsuck/Makefile | 17 | ||||
-rw-r--r-- | dns/adsuck/pkg-plist | 1 |
2 files changed, 7 insertions, 11 deletions
diff --git a/dns/adsuck/Makefile b/dns/adsuck/Makefile index 235b3a7a6c75..106588ad3be0 100644 --- a/dns/adsuck/Makefile +++ b/dns/adsuck/Makefile @@ -14,7 +14,7 @@ COMMENT= DNS relay for ad blocking LICENSE= BSD -LIB_DEPENDS+= event-1.4:${PORTSDIR}/devel/libevent \ +LIB_DEPENDS+= libevent-1.4.so:${PORTSDIR}/devel/libevent \ ldns:${PORTSDIR}/dns/ldns USE_RC_SUBR= adsuck @@ -24,17 +24,12 @@ GROUPS= _adsuck SUB_FILES+= pkg-message -MAN8= adsuck.8 -MANCOMPRESSED= yes +OPTIONS_DEFINE= EXAMPLES -NO_STAGE= yes do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/adsuck ${PREFIX}/sbin/ - @${INSTALL_MAN} ${WRKSRC}/${MAN8}.gz ${MANPREFIX}/man/man8/ - -post-install: - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/files/* ${EXAMPLESDIR} - @${CAT} ${PKGMESSAGE} + ${INSTALL_PROGRAM} ${WRKSRC}/adsuck ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8.gz ${STAGEDIR}${MANPREFIX}/man/man8 + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/files/* ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> diff --git a/dns/adsuck/pkg-plist b/dns/adsuck/pkg-plist index 92dda15e716f..f1056fa329a8 100644 --- a/dns/adsuck/pkg-plist +++ b/dns/adsuck/pkg-plist @@ -1,4 +1,5 @@ sbin/adsuck +man/man8/adsuck.8.gz %%EXAMPLESDIR%%/Hosts.blc %%EXAMPLESDIR%%/Hosts.pub %%EXAMPLESDIR%%/Hosts.rsk |