diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2013-11-29 17:54:18 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2013-11-29 17:54:18 +0800 |
commit | ea977a0a6430c8c735317fe11ca3e777df16c577 (patch) | |
tree | 6022d81c508920191738e1af3b13258d79e91292 /archivers/unzip | |
parent | c6018ccf55f5b58ce0db81a001e62e223a156e50 (diff) | |
download | freebsd-ports-gnome-ea977a0a6430c8c735317fe11ca3e777df16c577.tar.gz freebsd-ports-gnome-ea977a0a6430c8c735317fe11ca3e777df16c577.tar.zst freebsd-ports-gnome-ea977a0a6430c8c735317fe11ca3e777df16c577.zip |
- Quiesce portlint
- Define DOCS
- Support staging
PR: 184366
Submitted by: Takefu <takefu@airport.fm>
Diffstat (limited to 'archivers/unzip')
-rw-r--r-- | archivers/unzip/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/archivers/unzip/Makefile b/archivers/unzip/Makefile index d1f2045f53e4..4ce0f9d9477c 100644 --- a/archivers/unzip/Makefile +++ b/archivers/unzip/Makefile @@ -14,9 +14,9 @@ MAINTAINER?= ehaupt@FreeBSD.org COMMENT?= List, test, and extract compressed files in a ZIP archive LICENSE= Info-ZIP -LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_NAME= Info-ZIP license LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept CONFLICTS?= unzip-iconv-[0-9]* zh-unzip-[0-9]* ko-unzip-[0-9]* ru-unzip-[0-9]* @@ -58,6 +58,8 @@ MAKE_ENV= LOCAL_UNZIP="${LOCAL_UNZIP}" \ .error You have `USE_UNZIP' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if ${ARCH} == "i386" @@ -88,8 +90,8 @@ pre-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/unzip ${STAGEDIR}${PREFIX}/bin/${UNZIP_NAME} -.for file in funzip unzipsfx - ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin +.for f in funzip unzipsfx + ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor ${LN} -sf ${UNZIP_NAME} ${STAGEDIR}${PREFIX}/bin/zipinfo ${INSTALL_SCRIPT} ${WRKSRC}/unix/zipgrep ${STAGEDIR}${PREFIX}/bin @@ -97,7 +99,7 @@ do-install: .for f in ${MAN1:Nunzip.1:Ninfo-unzip.1} ${INSTALL_MAN} ${WRKSRC}/man/${f} ${STAGEDIR}${MAN1PREFIX}/man/man1 .endfor -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} |