summaryrefslogtreecommitdiff
path: root/archivers/gzrecover
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-02 03:48:36 +0000
committerjlam <jlam>2008-03-02 03:48:36 +0000
commit3222446d842fc6000d59dc223f801a8762d7510f (patch)
tree14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/gzrecover
parent009577271ae73dec9c5a8e01bda4361a966a5406 (diff)
downloadpkgsrc-3222446d842fc6000d59dc223f801a8762d7510f.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/gzrecover')
-rw-r--r--archivers/gzrecover/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/archivers/gzrecover/Makefile b/archivers/gzrecover/Makefile
index 1e4722415ad..7b61043f73e 100644
--- a/archivers/gzrecover/Makefile
+++ b/archivers/gzrecover/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2005/04/11 21:44:49 tv Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/02 03:48:36 jlam Exp $
#
DISTNAME= gzrt-0.2
PKGNAME= gzrecover-0.2
-PKGREVISION= 1
+PKGREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://www.urbanophile.com/arenn/hacking/gzrt/
@@ -12,13 +12,14 @@ HOMEPAGE= http://www.urbanophile.com/arenn/hacking/gzrt/
COMMENT= GZip Recovery Toolkit
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
BUILD_TARGET= gzrecover
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gzrecover ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/gzrecover ${DESTDIR}${PREFIX}/bin
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"