diff options
author | wen <wen@FreeBSD.org> | 2014-05-20 23:23:45 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2014-05-20 23:23:45 +0800 |
commit | eb6e8335948bb3ffdf97cdbf24c9060091448944 (patch) | |
tree | 25a8e964e49e6aee0855359d97e83074fa7d6308 /www | |
parent | 894caf974c33a5e508b89fc1b0ba1a7b26700039 (diff) | |
download | freebsd-ports-gnome-eb6e8335948bb3ffdf97cdbf24c9060091448944.tar.gz freebsd-ports-gnome-eb6e8335948bb3ffdf97cdbf24c9060091448944.tar.zst freebsd-ports-gnome-eb6e8335948bb3ffdf97cdbf24c9060091448944.zip |
- Stage support
PR: 190008
Submitted by: Joseph Benden <joe@thrallingpenguin.com>
Diffstat (limited to 'www')
-rw-r--r-- | www/atutor/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/www/atutor/Makefile b/www/atutor/Makefile index e7365c5b28aa..b1fbc9d4e674 100644 --- a/www/atutor/Makefile +++ b/www/atutor/Makefile @@ -8,12 +8,11 @@ MASTER_SITES= SF/${PORTNAME}/ATutor%202/ DISTNAME= ATutor-${PORTVERSION} MAINTAINER= wen@FreeBSD.org -COMMENT= An Open Source Web-based Learning Content Management System (LCMS) +COMMENT= Open Source Web-based Learning Content Management System (LCMS) USE_PHP= session mbstring zlib mysql WRKSRC= ${WRKDIR}/ATutor -NO_STAGE= yes .include <bsd.port.pre.mk> NO_BUILD= yes @@ -30,15 +29,15 @@ pre-install: @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${ATUTDIR}?g" >> ${PLIST} do-install: - @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \ ${WWWDIR}' >> ${TMPPLIST} - @${FIND} ${WWWDIR} -type d -exec ${CHMOD} a+x {} \; - @${INSTALL_DATA} -d ${ATUTDATDIR} - @${CHMOD} 777 ${ATUTDATDIR} + @${FIND} ${STAGEDIR}${WWWDIR} -type d -exec ${CHMOD} a+x {} \; + @${INSTALL_DATA} -d ${STAGEDIR}${ATUTDATDIR} + @${CHMOD} 777 ${STAGEDIR}${ATUTDATDIR} @${ECHO_CMD} '@exec ${CHMOD} 777 ${ATUTDATDIR}' >> ${TMPPLIST} - @${CHMOD} 666 ${WWWDIR}/${ATUTCONFIG} + @${CHMOD} 666 ${STAGEDIR}${WWWDIR}/${ATUTCONFIG} @${ECHO_CMD} '@exec ${CHMOD} 666 \ ${WWWDIR}/${ATUTCONFIG}' >> ${TMPPLIST} |