aboutsummaryrefslogtreecommitdiff
path: root/archivers/unzip
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2006-08-12 13:11:23 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2006-08-12 13:11:23 +0000
commit2dcf91072727d5daef45f0fb7739e86c6c36721b (patch)
tree71171fceb2e4dbbeaa4525d7fe1dcc967114fdb2 /archivers/unzip
parent85d148a1d466fd1881ec44369b5382a90b1a4158 (diff)
Notes
Diffstat (limited to 'archivers/unzip')
-rw-r--r--archivers/unzip/Makefile16
-rw-r--r--archivers/unzip/pkg-plist8
2 files changed, 9 insertions, 15 deletions
diff --git a/archivers/unzip/Makefile b/archivers/unzip/Makefile
index 55e0737c3703..4006d970e468 100644
--- a/archivers/unzip/Makefile
+++ b/archivers/unzip/Makefile
@@ -19,6 +19,8 @@ COMMENT?= List, test and extract compressed files in a ZIP archive
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKEFILE= unix/Makefile
MAKE_ENV= LOCAL_UNZIP="${CFLAGS} -DUSE_UNSHRINK"
+PLIST_FILES= bin/unzip bin/funzip bin/unzipsfx bin/zipgrep bin/zipinfo
+PORTDOCS= README WHERE
MAN1= funzip.1 unzip.1 unzipsfx.1 zipgrep.1 zipinfo.1
.if defined(WITH_UNZIP_UNREDUCE)
@@ -50,17 +52,17 @@ pre-build:
do-install:
.for file in funzip unzip unzipsfx
- ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${TARGETDIR}/bin
.endfor
- ${LN} -sf unzip ${PREFIX}/bin/zipinfo
- ${INSTALL_SCRIPT} ${WRKSRC}/unix/zipgrep ${PREFIX}/bin
+ ${LN} -sf unzip ${TARGETDIR}/bin/zipinfo
+ ${INSTALL_SCRIPT} ${WRKSRC}/unix/zipgrep ${TARGETDIR}/bin
.for f in ${MAN1}
- ${INSTALL_MAN} ${WRKSRC}/man/${f} ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/man/${f} ${MAN1PREFIX}/man/man1
.endfor
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/unzip
-.for f in README WHERE
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/unzip
+ @${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
diff --git a/archivers/unzip/pkg-plist b/archivers/unzip/pkg-plist
deleted file mode 100644
index 361a85c00001..000000000000
--- a/archivers/unzip/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-bin/unzip
-bin/funzip
-bin/unzipsfx
-bin/zipgrep
-bin/zipinfo
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/WHERE
-%%PORTDOCS%%@dirrm %%DOCSDIR%%