diff options
author | obache <obache> | 2007-12-21 11:49:38 +0000 |
---|---|---|
committer | obache <obache> | 2007-12-21 11:49:38 +0000 |
commit | a228b5c9c0353dea9267cde629c30acd9c64b655 (patch) | |
tree | 1eae035f707816c4e01743ac4b254826946e2400 /net | |
parent | 041ec59d925bd65bc4e03805db4ef2be1cd475ea (diff) | |
download | pkgsrc-a228b5c9c0353dea9267cde629c30acd9c64b655.tar.gz |
* Also need ${PKGMANDIR}/man5 before install.
* Should use INSTALL_LIB instead of INSTALL_DATA for library.
* Add DESTDIR support.
Diffstat (limited to 'net')
-rw-r--r-- | net/mDNSResponder-nss/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/net/mDNSResponder-nss/Makefile b/net/mDNSResponder-nss/Makefile index beb17908d34..933f77b13e6 100644 --- a/net/mDNSResponder-nss/Makefile +++ b/net/mDNSResponder-nss/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2007/02/22 19:01:23 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2007/12/21 11:49:38 obache Exp $ DISTNAME= mDNSResponder-108 PKGNAME= mDNSResponder-nss-108 @@ -13,6 +13,10 @@ COMMENT= Apple's mDNS responder - NetBSD nsswitch module # needs nsswitch ONLY_FOR_PLATFORM= NetBSD-[3-9]*-* +INSTALLATION_DIRS= lib share/examples/nss_mdns ${PKGMANDIR}/man5 + +PKG_DESTDIR_SUPPORT= user-destdir + post-extract: ${CP} ${FILESDIR}/netbsd.c ${FILESDIR}/netbsd.h ${WRKSRC}/mDNSPosix @@ -23,11 +27,10 @@ do-build: -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -ldns_sd) do-install: - ${INSTALL_DATA} ${WRKSRC}/mDNSPosix/nss_mdns.so.0 ${PREFIX}/lib - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nss_mdns + ${INSTALL_LIB} ${WRKSRC}/mDNSPosix/nss_mdns.so.0 ${DESTDIR}${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/mDNSPosix/nss_mdns.conf \ - ${PREFIX}/share/examples/nss_mdns - ${INSTALL_MAN} ${WRKSRC}/mDNSPosix/nss_mdns.conf.5 ${PREFIX}/${PKGMANDIR}/man5 + ${DESTDIR}${PREFIX}/share/examples/nss_mdns + ${INSTALL_MAN} ${WRKSRC}/mDNSPosix/nss_mdns.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 .include "../../net/mDNSResponder/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" |