summaryrefslogtreecommitdiff
path: root/misc/parchive
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 19:21:10 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 19:21:10 +0000
commit39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (patch)
tree49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/parchive
parent0523c1825d9b781d6f10c2ef70daf0a164e0f142 (diff)
downloadpkgsrc-39843c2c61acd3e8f1b7d0fa6eb0f76884067d10.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/Makefile6
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"