Thu Feb 11 22:07:18 2010 UTC ()
DESTDIR support


(joerg)
diff -r1.4 -r1.5 pkgsrc/net/mcast-tools/Makefile

cvs diff -r1.4 -r1.5 pkgsrc/net/mcast-tools/Makefile (expand / switch to context diff)
--- pkgsrc/net/mcast-tools/Makefile 2009/06/30 00:07:21 1.4
+++ pkgsrc/net/mcast-tools/Makefile 2010/02/11 22:07:18 1.5
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2009/06/30 00:07:21 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2010/02/11 22:07:18 joerg Exp $
 
 DISTNAME=	mcast-tools-20061214
 PKGREVISION=	1
@@ -8,18 +8,18 @@
 MAINTAINER=	is@NetBSD.org
 COMMENT=	IPv6 multicast routing daemons and tools
 
+PKG_DESTDIR_SUPPORT=	user-destdir
 MAKE_JOBS_SAFE=		no
 
 CONFLICTS=	pim6sd-[0-9]* pim6dd-[0-9]*
 
 GNU_CONFIGURE=	yes
 
-INSTALLATION_DIRS= share/examples
+INSTALLATION_DIRS= share/examples/mcast-tools
 
 post-install:
-	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mcast-tools
-	${INSTALL_DATA} ${WRKSRC}/pim6sd/pim6sd.conf.sample ${PREFIX}/share/examples/mcast-tools
-	${INSTALL_DATA} ${FILESDIR}/pim6dd.conf.sample ${PREFIX}/share/examples/mcast-tools
-	${INSTALL_DATA} ${WRKSRC}/mfc/mfc.conf.sample ${PREFIX}/share/examples/mcast-tools
+	${INSTALL_DATA} ${WRKSRC}/pim6sd/pim6sd.conf.sample ${DESTDIR}${PREFIX}/share/examples/mcast-tools
+	${INSTALL_DATA} ${FILESDIR}/pim6dd.conf.sample ${DESTDIR}${PREFIX}/share/examples/mcast-tools
+	${INSTALL_DATA} ${WRKSRC}/mfc/mfc.conf.sample ${DESTDIR}${PREFIX}/share/examples/mcast-tools
 
 .include "../../mk/bsd.pkg.mk"