summaryrefslogtreecommitdiff
path: root/archivers/unzoo/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-02 03:48:36 +0000
committerjlam <jlam>2008-03-02 03:48:36 +0000
commit3170d23f01ae24aa1c4d6e488619cd4779dc3023 (patch)
tree14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/unzoo/Makefile
parent3bee3dc66434cf5910b9b2016244f4e8af453b0f (diff)
downloadpkgsrc-3170d23f01ae24aa1c4d6e488619cd4779dc3023.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/Makefile')
-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"