aboutsummaryrefslogtreecommitdiff
path: root/www/moodle2
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2009-02-02 02:36:09 +0000
committerRong-En Fan <rafan@FreeBSD.org>2009-02-02 02:36:09 +0000
commit27b134bf0a6ce01ec0a6f0bbc2e6d2dc4451a05c (patch)
tree2b6b63b6ed317512e84636731578ca1dc33c0e4a /www/moodle2
parentd9536b1740a4c3c58142822516e2d1f14fc9e2b7 (diff)
- Add ctype php module per recommendation from vendor
- Only data directory and files under it belongs to WWWOWN:WWWGRP but not the code directory, which is a safer setup - Bump PORTREVISION for dependency change PR: ports/131224 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=227419
Diffstat (limited to 'www/moodle2')
-rw-r--r--www/moodle2/Makefile6
-rw-r--r--www/moodle2/files/pkg-message.in2
2 files changed, 3 insertions, 5 deletions
diff --git a/www/moodle2/Makefile b/www/moodle2/Makefile
index 289cd285f7fd..783de9283f3e 100644
--- a/www/moodle2/Makefile
+++ b/www/moodle2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= moodle
PORTVERSION= 1.9.4
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://download.moodle.org/stable19/ \
http://download2.moodle.org/stable19/ \
@@ -17,7 +18,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= jmrueda@diatel.upm.es
COMMENT= Course management system based on social constructionism
-USE_PHP= session gd pcre mbstring iconv tokenizer curl xml xmlrpc
+USE_PHP= session gd pcre mbstring iconv tokenizer curl xml xmlrpc ctype
WRKSRC= ${WRKDIR}/moodle
OPTIONS= MYSQL "Add support for a MySQL database server" Off \
@@ -88,9 +89,6 @@ pre-install:
do-install:
@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}
diff --git a/www/moodle2/files/pkg-message.in b/www/moodle2/files/pkg-message.in
index 31086814285b..9fc6317594c0 100644
--- a/www/moodle2/files/pkg-message.in
+++ b/www/moodle2/files/pkg-message.in
@@ -55,7 +55,7 @@ If you are upgrading from an earlier version of Moodle, check out
possible additional steps at:
http://docs.moodle.org/en/Upgrading
- http://docs.moodle.org/en/Upgrading_to_Moodle_1.8
+ http://docs.moodle.org/en/Upgrading_to_Moodle_1.9
If you have real trouble, please visit the Moodle course
"Using Moodle" on moodle.org.