From yasu@home.utahime.org  Fri Jan 24 00:29:02 2014
Return-Path: <yasu@home.utahime.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id EBEE1DCC
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Jan 2014 00:29:02 +0000 (UTC)
Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210])
	by mx1.freebsd.org (Postfix) with ESMTP id B72D41E2A
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Jan 2014 00:29:02 +0000 (UTC)
Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1])
	by gate.utahime.jp (Postfix) with ESMTP id 44374139B8;
	Fri, 24 Jan 2014 09:28:54 +0900 (JST)
Received: from eastasia.home.utahime.org (localhost [127.0.0.1])
	by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id 0CCD77591D;
	Fri, 24 Jan 2014 09:28:54 +0900 (JST)
Received: from rolling-vm-freebsd2.home.utahime.org (rolling-vm-freebsd2.home.utahime.org [192.168.174.54])
	by eastasia.home.utahime.org (Postfix) with ESMTP id C400E7590A;
	Fri, 24 Jan 2014 09:28:53 +0900 (JST)
Received: by rolling-vm-freebsd2.home.utahime.org (Postfix, from userid 1000)
	id 89473C3F5D; Fri, 24 Jan 2014 09:28:53 +0900 (JST)
Message-Id: <20140124002853.89473C3F5D@rolling-vm-freebsd2.home.utahime.org>
Date: Fri, 24 Jan 2014 09:28:53 +0900 (JST)
From: Yasuhiro KIMURA <yasu@utahime.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] www/validator: add 'USES=shebangfix' to adjust perl path
X-Send-Pr-Version: 3.113
X-GNATS-Notify: cyberbotx@cyberbotx.com

>Number:         186063
>Category:       ports
>Synopsis:       [PATCH] www/validator: add 'USES=shebangfix' to adjust perl path
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 24 00:30:00 UTC 2014
>Closed-Date:    Mon Feb 24 15:56:21 UTC 2014
>Last-Modified:  Mon Feb 24 15:56:21 UTC 2014
>Originator:     Yasuhiro KIMURA
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD xxxx 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260673: Mon Jan 20 13:37:55 JST 2014 xxxx amd64


	
>Description:
	
	- Add 'USES=shebangfix' to adjust perl path of scripts.
	- Support staging.
	- Bump PORTREVISION because scripts are changed.

>How-To-Repeat:
	
>Fix:

	

--- patch-validator begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 340866)
+++ Makefile	(working copy)
@@ -3,6 +3,7 @@
 
 PORTNAME=	validator
 PORTVERSION=	1.3
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://validator.w3.org/dist/ \
 		http://www.cyberbotx.com/w3c-validator/
@@ -25,17 +26,17 @@
 		p5-URI>=0:${PORTSDIR}/net/p5-URI \
 		p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML
 
-USES=		perl5
+USES=		perl5 shebangfix
 NO_BUILD=	yes
 USE_PERL5=	run
 
 SUB_FILES=	pkg-message validator.conf.sample
+SHEBANG_FILES=	httpd/cgi-bin/check httpd/cgi-bin/sendfeedback.pl
 
 OPTIONS_DEFINE=	HTML_TIDY
 OPTIONS_DEFAULT=HTML_TIDY
 HTML_TIDY_DESC=	Enable HTML Markup Cleaning
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MHTML_TIDY}
@@ -52,14 +53,11 @@
 	@${CP} ${WRKDIR}/validator.conf.sample ${WRKSRC}/htdocs/config/
 
 do-install:
-	${MKDIR} ${PREFIX}/www/validator/htdocs
-	${MKDIR} ${PREFIX}/www/validator/httpd/cgi-bin
-	${MKDIR} ${PREFIX}/www/validator/share
-	(cd ${WRKSRC}/htdocs && ${COPYTREE_SHARE} \* ${PREFIX}/www/validator/htdocs/)
-	${INSTALL_SCRIPT} ${WRKSRC}/httpd/cgi-bin/* ${PREFIX}/www/validator/httpd/cgi-bin
-	(cd ${WRKSRC}/share && ${COPYTREE_SHARE} \* ${PREFIX}/www/validator/share/)
+	${MKDIR} ${STAGEDIR}${PREFIX}/www/validator/htdocs
+	${MKDIR} ${STAGEDIR}${PREFIX}/www/validator/httpd/cgi-bin
+	${MKDIR} ${STAGEDIR}${PREFIX}/www/validator/share
+	(cd ${WRKSRC}/htdocs && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/www/validator/htdocs/)
+	${INSTALL_SCRIPT} ${WRKSRC}/httpd/cgi-bin/* ${STAGEDIR}${PREFIX}/www/validator/httpd/cgi-bin
+	(cd ${WRKSRC}/share && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/www/validator/share/)
 
-post-install:
-	@${CAT} ${PKGMESSAGE}
-
 .include <bsd.port.post.mk>
--- patch-validator ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Jan 24 00:30:08 UTC 2014 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186063 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: cyberbotx@cyberbotx.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/186063: [PATCH] www/validator: add 'USES=shebangfix' to adjust perl path
Date: Fri, 24 Jan 2014 00:30:07 UT

 Maintainer of www/validator,
 
 Please note that PR ports/186063 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/186063
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Fri Feb 7 05:57:24 UTC 2014 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186063 
State-Changed-From-To: open->closed 
State-Changed-By: pawel 
State-Changed-When: Mon Feb 24 15:56:19 UTC 2014 
State-Changed-Why:  
Same changes done in r341503 by bapt 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186063 
>Unformatted:
