diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /mbone/mdd | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.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/Makefile | 7 |
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" |