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/ppmd | |
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/ppmd')
-rw-r--r-- | archivers/ppmd/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/archivers/ppmd/Makefile b/archivers/ppmd/Makefile index 26e8dcc7530..81db1b06866 100644 --- a/archivers/ppmd/Makefile +++ b/archivers/ppmd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/12/15 14:34:18 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/02 03:48:36 jlam Exp $ # DISTNAME= ppmdi1 @@ -12,6 +12,7 @@ HOMEPAGE= http://compression.ru/ds/ COMMENT= PPM file compressor PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir MAKE_FILE= makefile.gmk BUILD_TARGET= ppmd @@ -28,8 +29,9 @@ SUBST_FILES.d2u= * SUBST_FILTER_CMD.d2u= ${TR} -d '\015' do-install: - ${INSTALL_PROGRAM} ${WRKSRC:Q}/ppmd ${PREFIX:Q}/bin - ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/doc/ppmd - ${INSTALL_DATA} ${WRKSRC:Q}/read_me.txt ${PREFIX:Q}/share/doc/ppmd/ + ${INSTALL_PROGRAM} ${WRKSRC:Q}/ppmd ${DESTDIR}${PREFIX:Q}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX:Q}/share/doc/ppmd + ${INSTALL_DATA} ${WRKSRC:Q}/read_me.txt \ + ${DESTDIR}${PREFIX:Q}/share/doc/ppmd/ .include "../../mk/bsd.pkg.mk" |