pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/mDNSResponder-nss * Also need ${PKGMANDIR}/man5 be...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cadcb37d4b06
branches: trunk
changeset: 536720:cadcb37d4b06
user: obache <obache%pkgsrc.org@localhost>
date: Fri Dec 21 11:49:38 2007 +0000
description:
* Also need ${PKGMANDIR}/man5 before install.
* Should use INSTALL_LIB instead of INSTALL_DATA for library.
* Add DESTDIR support.
diffstat:
net/mDNSResponder-nss/Makefile | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r 5e1960d1e565 -r cadcb37d4b06 net/mDNSResponder-nss/Makefile
--- a/net/mDNSResponder-nss/Makefile Fri Dec 21 11:33:21 2007 +0000
+++ b/net/mDNSResponder-nss/Makefile Fri Dec 21 11:49:38 2007 +0000
@@ -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 @@
# 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 @@
-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"
Home |
Main Index |
Thread Index |
Old Index