aboutsummaryrefslogtreecommitdiff
path: root/www/entrans
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-06-06 13:02:18 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-06-06 13:02:18 +0000
commit00931d923ba3f395cf96b5f6a278c69dcc7aaba6 (patch)
treecd89cecff92b52ddaffa71622cc0ef17b2e5d1b2 /www/entrans
parent17b85ad8c5a159bba24e24da381e02ca2029a2a4 (diff)
downloadports-00931d923ba3f395cf96b5f6a278c69dcc7aaba6.tar.gz
ports-00931d923ba3f395cf96b5f6a278c69dcc7aaba6.zip
- Stage support
PR: 190044
Notes
Notes: svn path=/head/; revision=356776
Diffstat (limited to 'www/entrans')
-rw-r--r--www/entrans/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/www/entrans/Makefile b/www/entrans/Makefile
index 6d29e9d824ec..cdcd58098dbf 100644
--- a/www/entrans/Makefile
+++ b/www/entrans/Makefile
@@ -20,7 +20,6 @@ PLIST= ${WRKDIR}/pkg-plist
PORTDOCS= README INSTALL COPYING AUTHORS HACKING THANKS
-NO_STAGE= yes
pre-install:
cd ${WRKSRC} && ${FIND} -s * -type f | \
${SED} -e 's|^|${ENTRANS}/|' > ${PLIST} \
@@ -31,14 +30,14 @@ pre-install:
${WRKSRC}/conf/database.conf.php.sample ${WRKSRC}/conf/database.conf.php; fi
do-install:
- -@${MKDIR} ${PREFIX}/${ENTRANS}
- @${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${ENTRANS}
- @${CHMOD} 755 ${PREFIX}/${ENTRANS}
- ${CP} -R ${WRKSRC}/ ${PREFIX}/${ENTRANS}
+ -@${MKDIR} ${STAGEDIR}${PREFIX}/${ENTRANS}
+ @${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${ENTRANS}
+ @${CHMOD} 755 ${STAGEDIR}${PREFIX}/${ENTRANS}
+ ${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${ENTRANS}
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i}
.endfor
.endif