diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-02 03:48:36 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-02 03:48:36 +0000 |
commit | 6a0bbfc67659e8fd303162cd3c8e2f27b4be528b (patch) | |
tree | 14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/ppunpack | |
parent | abd93136031ca3b8ecf3b96e0d1a078f10ccd7d5 (diff) | |
download | pkgsrc-6a0bbfc67659e8fd303162cd3c8e2f27b4be528b.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'archivers/ppunpack')
-rw-r--r-- | archivers/ppunpack/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/archivers/ppunpack/Makefile b/archivers/ppunpack/Makefile index 4feaeff769f..3c5e01a9049 100644 --- a/archivers/ppunpack/Makefile +++ b/archivers/ppunpack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2007/06/08 18:30:31 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2008/03/02 03:48:36 jlam Exp $ DISTNAME= ppsmall-1.0 PKGNAME= ppunpack-1.0 @@ -12,6 +12,7 @@ COMMENT= Decompresses Amiga PowerPacker files LICENSE= ppunpack-license PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR}/PPUnpack @@ -24,6 +25,6 @@ BUILD_TARGET= ppunpack INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ppunpack ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/ppunpack ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |