- Stage support [1]

- Pet portlint

PR:		190043 [1]
Submitted by:	Joseph Benden <joe@thrallingpenguin.com> [1]
This commit is contained in:
Wen Heping 2014-05-22 14:16:26 +00:00
parent 073c6023d0
commit 407fb92590
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354846
2 changed files with 10 additions and 13 deletions

View file

@ -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>

View file

@ -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/