Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2013 09:54:18 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335157 - in head: archivers/unzip korean/unzip
Message-ID:  <201311290954.rAT9sIu2077352@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Nov 29 09:54:18 2013
New Revision: 335157
URL: http://svnweb.freebsd.org/changeset/ports/335157

Log:
  - Quiesce portlint
  - Define DOCS
  - Support staging
  
  PR:		184366
  Submitted by:	Takefu <takefu@airport.fm>

Modified:
  head/archivers/unzip/Makefile
  head/korean/unzip/Makefile

Modified: head/archivers/unzip/Makefile
==============================================================================
--- head/archivers/unzip/Makefile	Fri Nov 29 09:51:02 2013	(r335156)
+++ head/archivers/unzip/Makefile	Fri Nov 29 09:54:18 2013	(r335157)
@@ -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}

Modified: head/korean/unzip/Makefile
==============================================================================
--- head/korean/unzip/Makefile	Fri Nov 29 09:51:02 2013	(r335156)
+++ head/korean/unzip/Makefile	Fri Nov 29 09:54:18 2013	(r335157)
@@ -11,5 +11,4 @@ CONFLICTS=	unzip-[0-9]* unzip-iconv-[0-9
 EXTRA_PATCHES=	${.CURDIR}/files/patch-*
 MASTERDIR=	${.CURDIR}/../../archivers/unzip
 
-NO_STAGE=	yes
 .include "${MASTERDIR}/Makefile"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311290954.rAT9sIu2077352>