diff options
author | Wen Heping <wen@FreeBSD.org> | 2009-11-04 03:15:53 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2009-11-04 03:15:53 +0000 |
commit | 3b708919045935f681e6ef97540927bc2fd24305 (patch) | |
tree | 5142faabba8d9c101f6513870caa93c054a54b93 /www/docebo/Makefile | |
parent | 987a24a9e7b4664b326d6fca3f5b188a2f718750 (diff) |
Notes
Diffstat (limited to 'www/docebo/Makefile')
-rw-r--r-- | www/docebo/Makefile | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/www/docebo/Makefile b/www/docebo/Makefile index 07d830ef228f..295a62a51b84 100644 --- a/www/docebo/Makefile +++ b/www/docebo/Makefile @@ -6,12 +6,12 @@ # PORTNAME= docebo -PORTVERSION= 3.6.0.2 +PORTVERSION= 3.6.0.3 CATEGORIES= www MASTER_SITES= http://www.docebo.org/doceboCms/index.php?mn=docs&op=download&pi=5_4&id=86/ -DISTNAME= ${PORTNAME}_3602 +DISTNAME= ${PORTNAME}_3603 -MAINTAINER= wenheping@gmail.com +MAINTAINER= wen@FreeBSD.org COMMENT= An Open Source e-Learning platform (LMS and LCMS) USE_PHP= mysql @@ -19,23 +19,29 @@ USE_ZIP= yes SUB_FILES= pkg-message NO_BUILD= yes NO_WRKSUBDIR= yes +DO_FILES= config.php admin.php index.php +DO_DIRS= doceboCms doceboCore doceboCrm doceboEcom doceboLms doceboScs \ + files install readmelicense template upgrade xml_language .include <bsd.port.pre.mk> do-install: - @cd ${WRKDIR} && ${COPYTREE_SHARE} "config.php admin.php index.php" ${WWWDIR} - @cd ${WRKDIR} && ${COPYTREE_SHARE} "doceboCms doceboCore doceboCrm" ${WWWDIR} - @cd ${WRKDIR} && ${COPYTREE_SHARE} "doceboEcom doceboLms doceboScs" ${WWWDIR} - @cd ${WRKDIR} && ${COPYTREE_SHARE} "doceboCms doceboCore doceboCrm" ${WWWDIR} - @cd ${WRKDIR} && ${COPYTREE_SHARE} "files install readmelicense" ${WWWDIR} - @cd ${WRKDIR} && ${COPYTREE_SHARE} "template upgrade xml_language" ${WWWDIR} + @${INSTALL} -d ${WWWDIR} + +.for i in ${DO_FILES} + @cd ${WRKDIR} && ${CP} ${i} ${WWWDIR}/ +.endfor +.for i in ${DO_DIRS} + @cd ${WRKDIR} && ${COPYTREE_SHARE} ${i} ${WWWDIR}/ +.endfor + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} @${CHMOD} -R 755 ${WWWDIR} post-install: @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ >> ${TMPPLIST} - @${ECHO_CMD} '@exec ${CHMOD} 755 -R ${WWWDIR}' \ + @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \ >> ${TMPPLIST} @${CAT} ${PKGMESSAGE} |