diff --git a/www/efront/Makefile b/www/efront/Makefile index 1202ee140380..0411c8b1521a 100644 --- a/www/efront/Makefile +++ b/www/efront/Makefile @@ -9,7 +9,7 @@ MASTER_SITES= SF/${PORTNAME}learning/${PORTNAME}learning/eFront%20v3.6.6/ DISTNAME= ${PORTNAME}_${PORTVERSION}_build8242 MAINTAINER= wen@FreeBSD.org -COMMENT= A Elearning and Human Capital Development platform +COMMENT= Elearning and Human Capital Development platform USES= zip USE_PHP= mbstring zip iconv zlib spl ldap @@ -21,25 +21,22 @@ EFRONT_DIRS= libraries PEAR \ NO_BUILD= yes SUB_FILES= pkg-message -NO_STAGE= yes -.include do-install: - @if [ ! -f ${WWWDIR} ]; then \ - ${MKDIR} ${WWWDIR} ; fi + ${MKDIR} ${STAGEDIR}${WWWDIR} .for i in ${EFRONT_FILES} - @cd ${WRKDIR} && ${CP} ${i} ${WWWDIR} + @cd ${WRKDIR} && ${CP} ${i} ${STAGEDIR}${WWWDIR} .endfor .for i in ${EFRONT_DIRS} - @cd ${WRKDIR} && ${COPYTREE_SHARE} ${i} ${WWWDIR} + @cd ${WRKDIR} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${WWWDIR} .endfor - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} - @${CHMOD} -R 755 ${WWWDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} + @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR} post-install: - @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ + @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' \ >> ${TMPPLIST} - @${ECHO_CMD} '@exec ${CHMOD} 755 -R ${WWWDIR}' \ + @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' \ >> ${TMPPLIST} @${CAT} ${PKGMESSAGE} -.include +.include diff --git a/www/efront/pkg-descr b/www/efront/pkg-descr index 60a9bd84ebc5..a401dbfe5feb 100644 --- a/www/efront/pkg-descr +++ b/www/efront/pkg-descr @@ -1,4 +1,4 @@ eFront is an easy to use, visually attractive, SCORM compatible, eLearning and Human Capital Development system. -WWW: http://www.efrontlearning.net/ +WWW: http://www.efrontlearning.net/