summaryrefslogtreecommitdiff
path: root/mbone/mdd
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 17:57:17 +0000
committerjlam <jlam>2008-03-04 17:57:17 +0000
commit227db4fd65c1798f1f06219f896b8a2add93ce0c (patch)
treeea772f1017a149bdf8c86107c24d16246695614e /mbone/mdd
parent47512d21954e6312a4cd43b04b4c2594596e697b (diff)
downloadpkgsrc-227db4fd65c1798f1f06219f896b8a2add93ce0c.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'mbone/mdd')
-rw-r--r--mbone/mdd/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/mbone/mdd/Makefile b/mbone/mdd/Makefile
index 2d8f3529e00..aa1677cb826 100644
--- a/mbone/mdd/Makefile
+++ b/mbone/mdd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/01/07 09:14:00 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/04 18:15:08 jlam Exp $
#
DISTNAME= mdd-20050318
@@ -9,10 +9,11 @@ EXTRACT_SUFX= .tgz
MAINTAINER= manu@NetBSD.org
COMMENT= Multicast file distribution tool
+PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mdd ${PREFIX}/bin/
- ${INSTALL_DATA} ${WRKSRC}/mdd.1 ${PREFIX}/${PKGMANDIR}/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/mdd ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_DATA} ${WRKSRC}/mdd.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
.include "../../mk/bsd.pkg.mk"