summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-10-09 12:52:34 +0000
committerjoerg <joerg@pkgsrc.org>2006-10-09 12:52:34 +0000
commitf75176b39cb7d35a6a241e5e0a0e934d21742e72 (patch)
tree394404a5282788a08d7e1183cc0f35c1b517e24d /archivers
parent297e6be4e8b8c4b86d2b7a7bd42139bbdf64d2ad (diff)
downloadpkgsrc-f75176b39cb7d35a6a241e5e0a0e934d21742e72.tar.gz
Flag a number of packages I use as supporting (user-)destdir.
apg is a bit special as it has some hardcoded ownership, so mark that as "destdir".
Diffstat (limited to 'archivers')
-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"