aboutsummaryrefslogtreecommitdiffstats
path: root/www/e107
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2014-05-22 22:23:43 +0800
committerwen <wen@FreeBSD.org>2014-05-22 22:23:43 +0800
commite037ca20a35331fe99a17bbac0fa86b5eaf24b39 (patch)
treeca84bfa69eb1b7d5a74f256d653a74104788491d /www/e107
parent8bc7c7fcdda5819dbcd2056fb8d49ce67a1f734b (diff)
downloadfreebsd-ports-gnome-e037ca20a35331fe99a17bbac0fa86b5eaf24b39.tar.gz
freebsd-ports-gnome-e037ca20a35331fe99a17bbac0fa86b5eaf24b39.tar.zst
freebsd-ports-gnome-e037ca20a35331fe99a17bbac0fa86b5eaf24b39.zip
- Stage support [1]
- Pet portlint PR: 190042 [1] Submitted by: Joseph Benden <joe@thrallingpenguin.com> [1]
Diffstat (limited to 'www/e107')
-rw-r--r--www/e107/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/www/e107/Makefile b/www/e107/Makefile
index 155a6091c736..8e9ae7f2a1ae 100644
--- a/www/e107/Makefile
+++ b/www/e107/Makefile
@@ -8,14 +8,11 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20v${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}_full
MAINTAINER= wen@FreeBSD.org
-COMMENT= A content management system written in PHP
+COMMENT= Content management system written in PHP
USE_PHP= mysql xml
WRKSRC= ${WRKDIR}/e107
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
NO_BUILD= yes
PLIST= ${WRKDIR}/plist
SUB_FILES= pkg-message
@@ -35,16 +32,16 @@ pre-install:
@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dirrm ${E107DIR}#g" >> ${PLIST}
do-install:
- @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
- @${CHMOD} -R 755 ${WWWDIR}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
+ @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
- @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
+ @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' \
>> ${TMPPLIST}
- @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
+ @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' \
>> ${TMPPLIST}
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>