diff options
author | pawel <pawel@FreeBSD.org> | 2014-09-21 01:40:37 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-09-21 01:40:37 +0800 |
commit | b9e3813fd4d24296851093d2e1203a222479e455 (patch) | |
tree | 850f79650a08ae819698265caca296d35f1f4bd3 /dns | |
parent | 82714feb401ac40d22ac8c9866a9abe0c9947d8c (diff) | |
download | freebsd-ports-gnome-b9e3813fd4d24296851093d2e1203a222479e455.tar.gz freebsd-ports-gnome-b9e3813fd4d24296851093d2e1203a222479e455.tar.zst freebsd-ports-gnome-b9e3813fd4d24296851093d2e1203a222479e455.zip |
- Manage config file (with @sample according to the ports guidelines)
- Fix stripping
- Trim long lines
PR: ports/193229
Submitted by: maintainer
Diffstat (limited to 'dns')
-rw-r--r-- | dns/mDNSResponder_nss/Makefile | 19 | ||||
-rw-r--r-- | dns/mDNSResponder_nss/pkg-plist | 1 |
2 files changed, 15 insertions, 5 deletions
diff --git a/dns/mDNSResponder_nss/Makefile b/dns/mDNSResponder_nss/Makefile index 7cb52e5035bf..1826813d2dd9 100644 --- a/dns/mDNSResponder_nss/Makefile +++ b/dns/mDNSResponder_nss/Makefile @@ -2,6 +2,7 @@ PORTNAME= mDNSResponder_nss PORTVERSION= 544 +PORTREVISION= 1 CATEGORIES= dns net MASTER_SITES= http://opensource.apple.com/tarballs/mDNSResponder/ DISTNAME= ${PORTNAME:S/_nss//}-${PORTVERSION} @@ -28,14 +29,22 @@ do-build: (cd ${WRKSRC}/mDNSPosix && ${LD} -shared nss_mdns.o nss_mdns_freebsd.o \ -o nss_mdns.so.1 -L${PREFIX}/lib -R${PREFIX}/lib -ldns_sd) +post-build: + ${STRIP_CMD} ${WRKSRC}/mDNSPosix/nss_mdns.so.1 + do-install: - ${INSTALL_LIB} ${WRKSRC}/mDNSPosix/nss_mdns.so.1 ${STAGEDIR}${PREFIX}/lib - ${LN} -sf ${PREFIX}/lib/nss_mdns.so.1 ${STAGEDIR}${PREFIX}/lib/nss_mdns.so + ${INSTALL_LIB} ${WRKSRC}/mDNSPosix/nss_mdns.so.1 \ + ${STAGEDIR}${PREFIX}/lib + ${LN} -sf ${PREFIX}/lib/nss_mdns.so.1 \ + ${STAGEDIR}${PREFIX}/lib/nss_mdns.so ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/mDNSPosix/nss_mdns.conf ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_MAN} ${WRKSRC}/mDNSPosix/nss_mdns.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5 + ${INSTALL_DATA} ${WRKSRC}/mDNSPosix/nss_mdns.conf \ + ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_MAN} ${WRKSRC}/mDNSPosix/nss_mdns.conf.5 \ + ${STAGEDIR}${MANPREFIX}/man/man5 post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/nss_mdns.so.1 + ${INSTALL_DATA} ${WRKSRC}/mDNSPosix/nss_mdns.conf \ + ${STAGEDIR}${PREFIX}/etc/nss_mdns.conf.sample .include <bsd.port.mk> diff --git a/dns/mDNSResponder_nss/pkg-plist b/dns/mDNSResponder_nss/pkg-plist index 5726b8614252..376ed6a629a5 100644 --- a/dns/mDNSResponder_nss/pkg-plist +++ b/dns/mDNSResponder_nss/pkg-plist @@ -1,3 +1,4 @@ +@sample etc/nss_mdns.conf.sample lib/nss_mdns.so lib/nss_mdns.so.1 man/man5/nss_mdns.conf.5.gz |