Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2013 04:26:16 +0000 (UTC)
From:      Thomas Abthorpe <tabthorpe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332806 - head/devel/gitphp
Message-ID:  <201311050426.rA54QGaM093271@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tabthorpe
Date: Tue Nov  5 04:26:15 2013
New Revision: 332806
URL: http://svnweb.freebsd.org/changeset/ports/332806

Log:
  - Add stage support

Modified:
  head/devel/gitphp/Makefile

Modified: head/devel/gitphp/Makefile
==============================================================================
--- head/devel/gitphp/Makefile	Tue Nov  5 04:15:52 2013	(r332805)
+++ head/devel/gitphp/Makefile	Tue Nov  5 04:26:15 2013	(r332806)
@@ -20,13 +20,12 @@ SUB_FILES=	pkg-message
 
 RUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdiff.so:${PORTSDIR}/textproc/pecl-xdiff
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${WWWDIR}
+	${MKDIR} ${STAGEDIR}${WWWDIR}
 	(cd ${WRKSRC} \
-		 && ${COPYTREE_SHARE} \* ${WWWDIR})
-	${CHOWN} -R www:www ${WWWDIR}
-	${FIND} ${WWWDIR} -type f -exec ${CHMOD} 644 '{}' +
+		 && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR})
+	${CHOWN} -R www:www ${STAGEDIR}${WWWDIR}
+	${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 644 '{}' +
 
 .if !defined(BATCH)
 	@ ${CAT} ${PKGMESSAGE}



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