From 3170d23f01ae24aa1c4d6e488619cd4779dc3023 Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 2 Mar 2008 03:48:36 +0000 Subject: Mechanical changes to add full DESTDIR support to packages that install their files via a custom do-install target. --- archivers/unzoo/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'archivers/unzoo/Makefile') 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" -- cgit v1.2.3