Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 08:40:30 +0000 (UTC)
From:      Alex Kozlov <ak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340995 - head/devel/commit-patch
Message-ID:  <201401250840.s0P8eUJt005006@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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