summaryrefslogtreecommitdiff
path: root/net/mDNSResponder
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-12-21 11:59:39 +0000
committerobache <obache@pkgsrc.org>2007-12-21 11:59:39 +0000
commitacde0d9ca90806f136795293d703f8fe83b5dd67 (patch)
tree36602aa67a86add748d44434ef30d1686ebbbe9d /net/mDNSResponder
parentc89746bcf1dd20d41b6c37b0288a9f27b838f94c (diff)
downloadpkgsrc-acde0d9ca90806f136795293d703f8fe83b5dd67.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/mDNSResponder')
-rw-r--r--net/mDNSResponder/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/net/mDNSResponder/Makefile b/net/mDNSResponder/Makefile
index cb70f32c50d..76780b0363d 100644
--- a/net/mDNSResponder/Makefile
+++ b/net/mDNSResponder/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2007/09/07 22:12:18 jlam Exp $
+# $NetBSD: Makefile,v 1.24 2007/12/21 11:59:39 obache Exp $
DISTNAME= mDNSResponder-108
PKGREVISION= 1
@@ -13,6 +13,8 @@ USE_TOOLS+= gmake
BUILD_DIRS= mDNSPosix
BUILDDIR= ${WRKSRC}/mDNSPosix/build/prod
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
SO_SUFFIX= so
@@ -69,13 +71,13 @@ MAKE_ENV+= HAVE_IPV6=1
do-install:
for i in ${BINARY}; do \
- ${INSTALL_PROGRAM} ${BUILDDIR}/$$i ${PREFIX}/bin; \
+ ${INSTALL_PROGRAM} ${BUILDDIR}/$$i ${DESTDIR}${PREFIX}/bin; \
done
for i in ${SBINARY}; do \
- ${INSTALL_PROGRAM} ${BUILDDIR}/$$i ${PREFIX}/sbin; \
+ ${INSTALL_PROGRAM} ${BUILDDIR}/$$i ${DESTDIR}${PREFIX}/sbin; \
done
- ${INSTALL_DATA} ${WRKSRC}/mDNSShared/dns_sd.h ${PREFIX}/include
- ${INSTALL_LIB} ${BUILDDIR}/libdns_sd.${SO_SUFFIX} ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/mDNSShared/dns_sd.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_LIB} ${BUILDDIR}/libdns_sd.${SO_SUFFIX} ${DESTDIR}${PREFIX}/lib
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"