diff options
Diffstat (limited to 'www/moodle2')
-rw-r--r-- | www/moodle2/Makefile | 63 | ||||
-rw-r--r-- | www/moodle2/distinfo | 3 | ||||
-rw-r--r-- | www/moodle2/pkg-descr | 7 | ||||
-rw-r--r-- | www/moodle2/pkg-message | 36 |
4 files changed, 0 insertions, 109 deletions
diff --git a/www/moodle2/Makefile b/www/moodle2/Makefile deleted file mode 100644 index 3a5f6644462d..000000000000 --- a/www/moodle2/Makefile +++ /dev/null @@ -1,63 +0,0 @@ -# New ports collection makefile for: moodle -# Date created: 30 September 2005 -# Whom: Javier Martin Rueda <jmrueda@diatel.upm.es> -# -# $FreeBSD$ -# - -PORTNAME= moodle -PORTVERSION= 1.5.2 -CATEGORIES= www -MASTER_SITES= http://download.moodle.org/stable15/ -EXTRACT_SUFX= .tgz - -MAINTAINER= jmrueda@diatel.upm.es -COMMENT= Course management system based on social constructionism - -USE_PHP= session gd pcre -WRKSRC= ${WRKDIR}/moodle - -.if defined(WITH_MYSQL) -USE_PHP+= mysql -.endif - -.if defined(WITH_PGSQL) -USE_PHP+= pgsql -.endif - -.include <bsd.port.pre.mk> - -NO_BUILD= yes -PLIST= ${WRKDIR}/plist - -MOODLEDIR?= www/data/moodle -MOODLEDATADIR?= www/data/moodledata - -pre-everything:: - @${ECHO_CMD} "===> You can use the following options:" - @${ECHO_CMD} "" - @${ECHO_CMD} "o WITH_MYSQL - Use a MySQL database" - @${ECHO_CMD} "o WITH_PGSQL - Use a pgSQL database" - @${ECHO_CMD} "" - -post-patch: -####This is an old patched file. - @${RM} -f ${WRKSRC}/lang/es_es/moodle.php.orig - -pre-install: - @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MOODLEDIR}?g" >${PLIST} - @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${MOODLEDIR}?g" >> ${PLIST} - @${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} - ${CHMOD} 755 ${PREFIX}/${MOODLEDATADIR} - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/www/moodle2/distinfo b/www/moodle2/distinfo deleted file mode 100644 index 214519290a0a..000000000000 --- a/www/moodle2/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (moodle-1.5.2.tgz) = 43d484170cc7e364df68239f352528bc -SHA256 (moodle-1.5.2.tgz) = 31026ea47590568536b5167094948d7230979057c7aeda5f93df6c174b3d9494 -SIZE (moodle-1.5.2.tgz) = 14222897 diff --git a/www/moodle2/pkg-descr b/www/moodle2/pkg-descr deleted file mode 100644 index fe30e0d25bab..000000000000 --- a/www/moodle2/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Moodle is a course management system (CMS) - a free, Open Source software -package designed using sound pedagogical principles, to help educators -create effective online learning communities. You can use it on any -computer you have handy (including webhosts), yet it can scale from a -single-teacher site to a 40,000-student University. - -WWW: http://www.moodle.org/ diff --git a/www/moodle2/pkg-message b/www/moodle2/pkg-message deleted file mode 100644 index b92b9ad6a89e..000000000000 --- a/www/moodle2/pkg-message +++ /dev/null @@ -1,36 +0,0 @@ -POST-INSTALL CONFIGURATION FOR MOODLE -===================================== - -1) Create a user and a database for Moodle to store all - its tables in (or choose an existing database). - NOTE: this package assumes that either the php4-pgsql - or php4-mysql packages are installed, as needed. - -2) Add the following to your Apache configuration, and - restart the server: - - AcceptPathInfo On - <Directory ${PREFIX}/www/data/moodledata> - AllowOverride None - Order Deny,Allow - Deny from all - </Directory> - -3) Visit your Moodle site with a browser (i.e., - http://your.server.com/moodle), and you should - be taken to the install.php script, which will lead - you through creating a config.php file and then - setting up Moodle, creating an admin account etc. - -4) Set up a cron task to call the file admin/cron.php - every five minutes or so. You can do so by using wget, - links or something similar to open the web page - http://your.server.com/moodle/admin/cron.php. - - -For more information, see the INSTALL DOCUMENTATION: - - http://moodle.org/doc - -If you have real trouble, please visit the Moodle course -"Using Moodle" on moodle.org. |