From 3edee5e2d8d59e99f9885380c012097c30fb4338 Mon Sep 17 00:00:00 2001 From: Thomas Abthorpe Date: Tue, 5 Nov 2013 04:26:15 +0000 Subject: [PATCH] - Add stage support --- devel/gitphp/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/devel/gitphp/Makefile b/devel/gitphp/Makefile index fc2d7e2772d4..dbd33de4dbcb 100644 --- a/devel/gitphp/Makefile +++ b/devel/gitphp/Makefile @@ -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}