diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2013-10-28 21:26:35 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2013-10-28 21:26:35 +0800 |
commit | 48ac60c0fdcf4c053178b68fef28935702640024 (patch) | |
tree | e9c3676619c25d2fb9dbb5931ee1fde272a33943 /archivers/unzip | |
parent | e4866fdf82d0ed9108197a5539d7b98091f28aec (diff) | |
download | freebsd-ports-gnome-48ac60c0fdcf4c053178b68fef28935702640024.tar.gz freebsd-ports-gnome-48ac60c0fdcf4c053178b68fef28935702640024.tar.zst freebsd-ports-gnome-48ac60c0fdcf4c053178b68fef28935702640024.zip |
Support staging.
Diffstat (limited to 'archivers/unzip')
-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 |