summaryrefslogtreecommitdiff
path: root/archivers/zip
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/zip')
-rw-r--r--archivers/zip/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/archivers/zip/Makefile b/archivers/zip/Makefile
index bf9b59c72a8..ba3ec315e47 100644
--- a/archivers/zip/Makefile
+++ b/archivers/zip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2006/09/09 02:41:54 obache Exp $
+# $NetBSD: Makefile,v 1.52 2006/10/09 12:52:34 joerg Exp $
DISTNAME= zip232
PKGNAME= zip-2.32
@@ -14,6 +14,7 @@ HOMEPAGE= http://www.info-zip.org/pub/infozip/Zip.html
COMMENT= Create/update ZIP files compatible with pkzip
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
MAKE_FILE= unix/Makefile
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
@@ -43,11 +44,11 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
cd ${WRKSRC} && \
- ${INSTALL_PROGRAM} zip zipnote zipsplit zipcloak ${PREFIX}/bin
+ ${INSTALL_PROGRAM} zip zipnote zipsplit zipcloak ${DESTDIR}${PREFIX}/bin
cd ${WRKSRC}/man && \
- ${INSTALL_MAN} zip.1 ${PREFIX}/${PKGMANDIR}/man1
- ${LN} -f -s zip.1 ${PREFIX}/${PKGMANDIR}/man1/zipcloak.1
- ${LN} -f -s zip.1 ${PREFIX}/${PKGMANDIR}/man1/zipnote.1
- ${LN} -f -s zip.1 ${PREFIX}/${PKGMANDIR}/man1/zipsplit.1
+ ${INSTALL_MAN} zip.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${LN} -f -s zip.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/zipcloak.1
+ ${LN} -f -s zip.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/zipnote.1
+ ${LN} -f -s zip.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/zipsplit.1
.include "../../mk/bsd.pkg.mk"