diff options
author | jlam <jlam> | 2008-03-04 19:21:10 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 19:21:10 +0000 |
commit | cfcb73a7daae0a4628a69e74119df08f06aea0a7 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/parchive | |
parent | 75e62b0b49c3ce7b99b2416889b080608416d847 (diff) | |
download | pkgsrc-cfcb73a7daae0a4628a69e74119df08f06aea0a7.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/parchive')
-rw-r--r-- | misc/parchive/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/parchive/Makefile b/misc/parchive/Makefile index a37743a78ad..8c6e0dfe55a 100644 --- a/misc/parchive/Makefile +++ b/misc/parchive/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/12/12 20:42:33 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/04 19:21:12 jlam Exp $ # DISTNAME= par-v1.1 @@ -11,11 +11,13 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://parchive.sourceforge.net/ COMMENT= Create or use "Parity Volume Set" (PAR and Pnn) files +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/par-cmdline INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/par ${PREFIX}/bin/parchive + ${INSTALL_PROGRAM} ${WRKSRC}/par ${DESTDIR}${PREFIX}/bin/parchive .include "../../mk/bsd.pkg.mk" |