diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2013-10-28 13:26:35 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2013-10-28 13:26:35 +0000 |
commit | 47f12b111cf254103d6218325fac699ad1036ce5 (patch) | |
tree | e9c3676619c25d2fb9dbb5931ee1fde272a33943 /archivers | |
parent | 2adacb737d4a1834f04ec44248eb8a2886bba2f0 (diff) | |
download | ports-47f12b111cf254103d6218325fac699ad1036ce5.tar.gz ports-47f12b111cf254103d6218325fac699ad1036ce5.zip |
Notes
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/unzip/Makefile | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/archivers/unzip/Makefile b/archivers/unzip/Makefile index e05f06e1977a..d1f2045f53e4 100644 --- a/archivers/unzip/Makefile +++ b/archivers/unzip/Makefile @@ -20,7 +20,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE CONFLICTS?= unzip-iconv-[0-9]* zh-unzip-[0-9]* ko-unzip-[0-9]* ru-unzip-[0-9]* -NO_STAGE= yes MAKEFILE= unix/Makefile MAKE_ARGS= LF2="${STRIP}" .if defined(INSTALL_AS_INFOUNZIP) @@ -67,6 +66,10 @@ ALL_TARGET= freebsd ALL_TARGET= bsd .endif +.for m in ${MAN1} +PLIST_FILES+= man/man1/${m}.gz +.endfor + .if !defined(INSTALL_AS_INFOUNZIP) pre-fetch: @${ECHO} "" @@ -84,20 +87,20 @@ pre-build: .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/unzip ${PREFIX}/bin/${UNZIP_NAME} + ${INSTALL_PROGRAM} ${WRKSRC}/unzip ${STAGEDIR}${PREFIX}/bin/${UNZIP_NAME} .for file in funzip unzipsfx - ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin .endfor - ${LN} -sf ${UNZIP_NAME} ${PREFIX}/bin/zipinfo - ${INSTALL_SCRIPT} ${WRKSRC}/unix/zipgrep ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man/unzip.1 ${MAN1PREFIX}/man/man1/${UNZIP_NAME}.1 + ${LN} -sf ${UNZIP_NAME} ${STAGEDIR}${PREFIX}/bin/zipinfo + ${INSTALL_SCRIPT} ${WRKSRC}/unix/zipgrep ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/unzip.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/${UNZIP_NAME}.1 .for f in ${MAN1:Nunzip.1:Ninfo-unzip.1} - ${INSTALL_MAN} ${WRKSRC}/man/${f} ${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/man/${f} ${STAGEDIR}${MAN1PREFIX}/man/man1 .endfor .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .endif |