diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-06-03 12:44:18 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-06-03 12:44:18 +0000 |
commit | dc61622c6f9b38295deaabb217e7c41e6e78e848 (patch) | |
tree | 52cbd78b88c26ee0d0d2b17c6d4f31e691250942 /net/mDNSResponder | |
parent | 7330d63edd84f6aa8226080a37ad762477fa5abb (diff) |
- Strip binary executable and shared library in post-install:
- Cosmetic change
Notes
Notes:
svn path=/head/; revision=356336
Diffstat (limited to 'net/mDNSResponder')
-rw-r--r-- | net/mDNSResponder/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/mDNSResponder/Makefile b/net/mDNSResponder/Makefile index dd2c4f1f3fa0..dcd147c3a80d 100644 --- a/net/mDNSResponder/Makefile +++ b/net/mDNSResponder/Makefile @@ -16,10 +16,10 @@ CONFLICTS= avahi-libdns-[0-9]* BUILD_WRKSRC= ${WRKSRC}/mDNSPosix INSTALL_WRKSRC= ${WRKSRC}/mDNSPosix -MAKE_ARGS= LOCALBASE=${PREFIX} MANPATH=${MANPREFIX}/man os=freebsd LDCONFIG=${TRUE} -USES= gmake +MAKE_ARGS= LDCONFIG=${TRUE} LOCALBASE=${PREFIX} MANPATH=${MANPREFIX}/man os=freebsd USE_LDCONFIG= yes USE_RC_SUBR= mdnsd mdnsresponder +USES= gmake EXTRA_BIN= mDNSClientPosix mDNSIdentify mDNSNetMonitor mDNSProxyResponderPosix mDNSResponderPosix EXTRA_MAN1= dns-sd.1 @@ -38,13 +38,11 @@ post-patch: @${REINPLACE_CMD} -e 's|\(#define IPV6_2292_PKTINFO \).*|\1IPV6_PKTINFO|; s|\(#define IPV6_2292_HOPLIMIT \).*|\1IPV6_HOPLIMIT|' ${WRKSRC}/mDNSPosix/mDNSUNP.h @${MV} ${WRKSRC}/mDNSShared/mDNSResponder.8 ${WRKSRC}/mDNSShared/mDNSResponderPosix.8 -post-build: - @${STRIP_CMD} ${WRKSRC}/Clients/build/dns-sd ${WRKSRC}/mDNSPosix/build/prod/mdnsd ${WRKSRC}/mDNSPosix/build/prod/libdns_sd.so - post-install: cd ${WRKSRC}/mDNSPosix/build/prod/ && ${INSTALL_PROGRAM} ${EXTRA_BIN} ${STAGEDIR}${PREFIX}/bin/ cd ${WRKSRC}/mDNSShared/ && ${INSTALL_MAN} ${EXTRA_MAN1} ${STAGEDIR}${PREFIX}/man/man1/ cd ${WRKSRC}/mDNSShared/ && ${INSTALL_MAN} ${EXTRA_MAN8} ${STAGEDIR}${PREFIX}/man/man8/ cd ${WRKSRC}/mDNSPosix/build/prod/ && ${INSTALL_PROGRAM} ${EXTRA_SBIN} ${STAGEDIR}${PREFIX}/sbin/ + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdns_sd.so.1 ${STAGEDIR}${PREFIX}/sbin/* .include <bsd.port.post.mk> |