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 | 19758f6cbe35775c1b5055745b7da304d9b97282 (patch) | |
tree | 14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/nomarch | |
parent | 4e43bea59ab72a8987814c672201fbfb219de4c2 (diff) | |
download | pkgsrc-19758f6cbe35775c1b5055745b7da304d9b97282.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/nomarch')
-rw-r--r-- | archivers/nomarch/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/archivers/nomarch/Makefile b/archivers/nomarch/Makefile index 9a069438952..027ea99d9ee 100644 --- a/archivers/nomarch/Makefile +++ b/archivers/nomarch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/07/23 14:40:53 rillig Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/02 03:48:36 jlam Exp $ # DISTNAME= nomarch-1.3 @@ -10,6 +10,7 @@ HOMEPAGE= http://rus.members.beeb.net/nomarch.html COMMENT= Free replacement for the arc program PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir MAKE_FLAGS+= PREFIX=${PREFIX:Q} MAKE_FLAGS+= CC=${CC:Q} @@ -18,7 +19,8 @@ MAKE_FLAGS+= CFLAGS=${CFLAGS:M*:Q} INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/nomarch ${PREFIX}/bin/nomarch - ${INSTALL_DATA} ${WRKSRC}/nomarch.1 ${PREFIX}/${PKGMANDIR}/man1/nomarch.1 + ${INSTALL_PROGRAM} ${WRKSRC}/nomarch ${DESTDIR}${PREFIX}/bin/nomarch + ${INSTALL_DATA} ${WRKSRC}/nomarch.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/nomarch.1 .include "../../mk/bsd.pkg.mk" |