summaryrefslogtreecommitdiff
path: root/archivers/unzoo
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 03:48:36 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 03:48:36 +0000
commit6a0bbfc67659e8fd303162cd3c8e2f27b4be528b (patch)
tree14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/unzoo
parentabd93136031ca3b8ecf3b96e0d1a078f10ccd7d5 (diff)
downloadpkgsrc-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/unzoo')
-rw-r--r--archivers/unzoo/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/archivers/unzoo/Makefile b/archivers/unzoo/Makefile
index 5091ea66ab7..59b7e1acaaf 100644
--- a/archivers/unzoo/Makefile
+++ b/archivers/unzoo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/06/18 07:04:16 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/02 03:48:37 jlam Exp $
#
DISTNAME= unzoo.c
@@ -11,6 +11,7 @@ MAINTAINER= cjep@NetBSD.org
COMMENT= Extract zoo archives
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
NO_CONFIGURE= YES
@@ -24,6 +25,6 @@ do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -DSYS_IS_UNIX -DSYS_HAS_MKDIR -o unzoo unzoo.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/unzoo ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/unzoo ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"