diff options
author | wen <wen@FreeBSD.org> | 2014-05-22 22:16:26 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2014-05-22 22:16:26 +0800 |
commit | 049caee2974877602a955de0e53ee2aee115949f (patch) | |
tree | 4056e6a67670a0ca383725177e66ac2ed2e44261 /www | |
parent | 700500f0fd015ca8e31d5563c34550f9f00d0b93 (diff) | |
download | freebsd-ports-gnome-049caee2974877602a955de0e53ee2aee115949f.tar.gz freebsd-ports-gnome-049caee2974877602a955de0e53ee2aee115949f.tar.zst freebsd-ports-gnome-049caee2974877602a955de0e53ee2aee115949f.zip |
- Stage support [1]
- Pet portlint
PR: 190043 [1]
Submitted by: Joseph Benden <joe@thrallingpenguin.com> [1]
Diffstat (limited to 'www')
-rw-r--r-- | www/efront/Makefile | 21 | ||||
-rw-r--r-- | www/efront/pkg-descr | 2 |
2 files changed, 10 insertions, 13 deletions
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 <bsd.port.pre.mk> 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 <bsd.port.post.mk> +.include <bsd.port.mk> 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/ |