From lapo@lapo.it  Fri Jan 24 20:14:53 2014
Return-Path: <lapo@lapo.it>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 836EC3C6
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Jan 2014 20:14:53 +0000 (UTC)
Received: from relay.andxor.it (firewall.andxor.it [78.134.40.49])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id CF8F514D6
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Jan 2014 20:14:52 +0000 (UTC)
Received: (qmail 99643 invoked from network); 24 Jan 2014 20:14:49 -0000
Received: from lapo.andxor.it (192.168.2.22)
  by relay.andxor.it with SMTP; 24 Jan 2014 20:14:49 -0000
Received: by lapo.andxor.it (sSMTP sendmail emulation); Fri, 24 Jan 2014 21:14:49 +0100
Date: Fri, 24 Jan 2014 21:14:49 +0100
From: Lapo Luchini <lapo@lapo.it>
To: FreeBSD-gnats-submit@freebsd.org
Cc: madpilot@freebsd.org, Lapo Luchini <lapo@lapo.it>
Subject: [MAINTAINER] devel/commit-patch: support staging
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         186084
>Category:       ports
>Synopsis:       [MAINTAINER] devel/commit-patch: support staging
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ak
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 24 20:20:00 UTC 2014
>Closed-Date:    Sat Jan 25 08:41:05 UTC 2014
>Last-Modified:  Sat Jan 25 08:50:00 UTC 2014
>Originator:     Lapo Luchini
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD lapo.andxor.it 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC
>Description:
Support staging.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- commit-patch-2.5.patch begins here ---
diff -ruN /usr/ports/devel/commit-patch/Makefile ./Makefile
--- /usr/ports/devel/commit-patch/Makefile	2013-09-20 19:03:26.000000000 +0200
+++ ./Makefile	2014-01-24 18:51:15.941568000 +0100
@@ -17,6 +17,7 @@
 USE_GITHUB=	yes
 USES=		gmake perl5
 USE_PERL5=	build # pod2man
+MAKE_ARGS=	BASEDIR="${STAGEDIR}"
 
 GH_ACCOUNT=	caldwell
 GH_PROJECT=	commit-patch
@@ -24,13 +25,14 @@
 GH_COMMIT=	fb3a8c5
 
 PLIST_FILES=	bin/commit-partial bin/commit-patch \
-		share/emacs/site-lisp/commit-patch-buffer.el
-MAN1=		commit-partial.1 commit-patch.1
+		share/emacs/site-lisp/commit-patch-buffer.el \
+		man/man1/commit-partial.1.gz man/man1/commit-patch.1.gz
 PORTDOCS=	*
 
-NO_STAGE=	yes
 post-patch:
 		${REINPLACE_CMD} -e 's/share[/]man/man/' \
-			-e 's/PREFIX=/PREFIX?=/' ${WRKSRC}/Makefile
+			-e 's/PREFIX=/PREFIX?=/' \
+			-e 's/$$(PREFIX)/$$(BASEDIR)$$(PREFIX)/' \
+			${WRKSRC}/Makefile
 
 .include <bsd.port.mk>
--- commit-patch-2.5.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ak 
Responsible-Changed-By: ak 
Responsible-Changed-When: Sat Jan 25 08:40:57 UTC 2014 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186084 
State-Changed-From-To: open->closed 
State-Changed-By: ak 
State-Changed-When: Sat Jan 25 08:41:04 UTC 2014 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/186084: commit references a PR
Date: Sat, 25 Jan 2014 08:40:41 +0000 (UTC)

 Author: ak
 Date: Sat Jan 25 08:40:30 2014
 New Revision: 340995
 URL: http://svnweb.freebsd.org/changeset/ports/340995
 QAT: https://qat.redports.org/buildarchive/r340995/
 
 Log:
   - Support STAGEDIR
   
   PR:	ports/186084
   Submitted by:	Lapo Luchini <lapo@lapo.it> (maintainer)
 
 Modified:
   head/devel/commit-patch/Makefile
 
 Modified: head/devel/commit-patch/Makefile
 ==============================================================================
 --- head/devel/commit-patch/Makefile	Sat Jan 25 08:25:41 2014	(r340994)
 +++ head/devel/commit-patch/Makefile	Sat Jan 25 08:40:30 2014	(r340995)
 @@ -17,6 +17,7 @@ RUN_DEPENDS=	interdiff:${PORTSDIR}/misc/
  USE_GITHUB=	yes
  USES=		gmake perl5
  USE_PERL5=	build # pod2man
 +MAKE_ARGS=	BASEDIR="${STAGEDIR}"
  
  GH_ACCOUNT=	caldwell
  GH_PROJECT=	commit-patch
 @@ -24,13 +25,14 @@ GH_TAGNAME=	2.5
  GH_COMMIT=	fb3a8c5
  
  PLIST_FILES=	bin/commit-partial bin/commit-patch \
 -		share/emacs/site-lisp/commit-patch-buffer.el
 -MAN1=		commit-partial.1 commit-patch.1
 +		share/emacs/site-lisp/commit-patch-buffer.el \
 +		man/man1/commit-partial.1.gz man/man1/commit-patch.1.gz
  PORTDOCS=	*
  
 -NO_STAGE=	yes
  post-patch:
  		${REINPLACE_CMD} -e 's/share[/]man/man/' \
 -			-e 's/PREFIX=/PREFIX?=/' ${WRKSRC}/Makefile
 +			-e 's/PREFIX=/PREFIX?=/' \
 +			-e 's/$$(PREFIX)/$$(BASEDIR)$$(PREFIX)/' \
 +			${WRKSRC}/Makefile
  
  .include <bsd.port.mk>
 _______________________________________________
 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"
 
>Unformatted:
