diff options
author | Beech Rintoul <beech@FreeBSD.org> | 2008-02-25 18:58:10 +0000 |
---|---|---|
committer | Beech Rintoul <beech@FreeBSD.org> | 2008-02-25 18:58:10 +0000 |
commit | cb77c288589fa768ca68370625623a44aa32aa93 (patch) | |
tree | fd370f956287f11eb8ac04c44b1065105cb9c57e /www/moodle2 | |
parent | f0bdaa181d448e2d43230439af8a1c2f1972c853 (diff) |
- Update to 1.8.4
- Fix pkg permissions
PR: ports/121042
Submitted by: Wen heping <wenheping@gmail.com>
Approved by: Javier Martin Rueda <jmrueda@diatel.upm.es> (maintainer)
Notes
Notes:
svn path=/head/; revision=207891
Diffstat (limited to 'www/moodle2')
-rw-r--r-- | www/moodle2/Makefile | 19 | ||||
-rw-r--r-- | www/moodle2/distinfo | 6 |
2 files changed, 16 insertions, 9 deletions
diff --git a/www/moodle2/Makefile b/www/moodle2/Makefile index 4162de66bf41..ed1f36c3dafb 100644 --- a/www/moodle2/Makefile +++ b/www/moodle2/Makefile @@ -6,7 +6,7 @@ # PORTNAME= moodle -PORTVERSION= 1.8.3 +PORTVERSION= 1.8.4 CATEGORIES= www MASTER_SITES= http://download.moodle.org/stable18/ EXTRACT_SUFX= .tgz @@ -79,12 +79,19 @@ pre-install: @${ECHO} @dirrm ${MOODLEDATADIR} >> ${PLIST} do-install: - ${INSTALL_DATA} -d ${PREFIX}/${MOODLEDIR} - ${CP} -Rn ${WRKSRC}/* ${PREFIX}/${MOODLEDIR} - ${FIND} ${PREFIX}/${MOODLEDIR} -type d -exec ${CHMOD} a+x {} \; - ${MKDIR} ${PREFIX}/${MOODLEDATADIR} - ${CHOWN} www ${PREFIX}/${MOODLEDATADIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${MOODLEDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MOODLEDIR} + @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MOODLEDIR}' \ + >> ${TMPPLIST} + @${FIND} ${PREFIX}/${MOODLEDIR} -type d -exec ${CHMOD} a+x {} \; + @${ECHO_CMD} '@exec ${FIND} ${PREFIX}/${MOODLEDIR} -type d -exec ${CHMOD} a+x {} \;' \ + >> ${TMPPLIST} + @${INSTALL} -d ${PREFIX}/${MOODLEDATADIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MOODLEDATADIR} + @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MOODLEDATADIR}' \ + >> ${TMPPLIST} ${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR} + @${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR}' >> ${TMPPLIST} post-install: @${CAT} ${PKGMESSAGE} diff --git a/www/moodle2/distinfo b/www/moodle2/distinfo index 492e433da7d3..ec3aa3f170aa 100644 --- a/www/moodle2/distinfo +++ b/www/moodle2/distinfo @@ -1,3 +1,3 @@ -MD5 (moodle-1.8.3.tgz) = fda7add896d864beb075b4a1eae40817 -SHA256 (moodle-1.8.3.tgz) = 0458457ae6f9cd47cd86ea4a4aab1075ac980fc3c4e81a8e1afb76c28bc6fc31 -SIZE (moodle-1.8.3.tgz) = 10109152 +MD5 (moodle-1.8.4.tgz) = a84715a8094b7a85b68c5034b5b734d1 +SHA256 (moodle-1.8.4.tgz) = 3b708a0c11257c1d55e0ea6f5e8983062ca22aca0c52c966f0c33cf7b5e7dd3e +SIZE (moodle-1.8.4.tgz) = 10276123 |