Bug 184366 - [PATCH] archivers/unzip: fix portlint(1) compliant
Summary: [PATCH] archivers/unzip: fix portlint(1) compliant
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-29 02:40 UTC by takefu
Modified: 2013-11-29 10:00 UTC (History)
1 user (show)

See Also:


Attachments
unzip-6.0_1.patch (1.60 KB, patch)
2013-11-29 02:40 UTC, takefu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description takefu 2013-11-29 02:40:00 UTC
fix
  archivers/unzip portlint(1) compliant
  korean/unzip StageDir

Port maintainer (ehaupt@FreeBSD.org) is cc'd.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-29 02:40:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ehaupt

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Emanuel Haupt freebsd_committer freebsd_triage 2013-11-29 09:54:25 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-11-29 09:54:26 UTC
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"
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"