Bug 186084 - [MAINTAINER] devel/commit-patch: support staging
Summary: [MAINTAINER] devel/commit-patch: support staging
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: Alex Kozlov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-24 20:20 UTC by Lapo Luchini
Modified: 2014-01-25 08:50 UTC (History)
1 user (show)

See Also:


Attachments
commit-patch-2.5.patch (911 bytes, patch)
2014-01-24 20:20 UTC, Lapo Luchini
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lapo Luchini 2014-01-24 20:20:00 UTC
Support staging.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: ports)
Comment 1 dfilter service freebsd_committer 2014-01-25 08:40:41 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"
Comment 2 Alex Kozlov freebsd_committer 2014-01-25 08:40:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ak

I'll take it.
Comment 3 Alex Kozlov freebsd_committer 2014-01-25 08:41:04 UTC
State Changed
From-To: open->closed

Committed. Thanks!