From dac13a81728c8546ceddc62c0f24792812f23923 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Fri, 16 Jan 2004 01:30:59 +0000 Subject: Fix plist construction and silence portlint PR: 61366 Submitted by: Matthias Andree --- archivers/unzip/Makefile | 8 ++++---- archivers/unzip/pkg-plist | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'archivers') diff --git a/archivers/unzip/Makefile b/archivers/unzip/Makefile index 7f713138906e..7643dde6ff23 100644 --- a/archivers/unzip/Makefile +++ b/archivers/unzip/Makefile @@ -54,13 +54,13 @@ do-install: .endfor ${LN} -sf unzip ${PREFIX}/bin/zipinfo ${INSTALL_SCRIPT} ${WRKSRC}/unix/zipgrep ${PREFIX}/bin -.for file in ${MAN1} - ${INSTALL_MAN} ${WRKSRC}/man/${file} ${PREFIX}/man/man1 +.for f in ${MAN1} + ${INSTALL_MAN} ${WRKSRC}/man/${f} ${PREFIX}/man/man1 .endfor .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/unzip -.for file in README WHERE - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/unzip +.for f in README WHERE + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/unzip .endfor .endif diff --git a/archivers/unzip/pkg-plist b/archivers/unzip/pkg-plist index 74294d668a30..361a85c00001 100644 --- a/archivers/unzip/pkg-plist +++ b/archivers/unzip/pkg-plist @@ -1,9 +1,8 @@ bin/unzip -@exec ln -sf %f %B/zipinfo -@unexec rm %D/bin/zipinfo 2>&1 >/dev/null || true bin/funzip bin/unzipsfx bin/zipgrep +bin/zipinfo %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/WHERE %%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit v1.2.3