aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-06 21:02:18 +0800
committermiwi <miwi@FreeBSD.org>2014-06-06 21:02:18 +0800
commite9e8ae4f5a3fe9d90239b05b7a813946db7a51c8 (patch)
treecd89cecff92b52ddaffa71622cc0ef17b2e5d1b2
parent1edaeff65ff49f63bd88913988e9a6aebcccb4f5 (diff)
downloadfreebsd-ports-gnome-e9e8ae4f5a3fe9d90239b05b7a813946db7a51c8.tar.gz
freebsd-ports-gnome-e9e8ae4f5a3fe9d90239b05b7a813946db7a51c8.tar.zst
freebsd-ports-gnome-e9e8ae4f5a3fe9d90239b05b7a813946db7a51c8.zip
- Stage support
PR: 190044
-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