summaryrefslogtreecommitdiff
path: root/www/moodle2
diff options
context:
space:
mode:
Diffstat (limited to 'www/moodle2')
-rw-r--r--www/moodle2/Makefile107
-rw-r--r--www/moodle2/distinfo3
-rw-r--r--www/moodle2/files/pkg-message.in61
-rw-r--r--www/moodle2/pkg-descr7
4 files changed, 0 insertions, 178 deletions
diff --git a/www/moodle2/Makefile b/www/moodle2/Makefile
deleted file mode 100644
index c77b63171107..000000000000
--- a/www/moodle2/Makefile
+++ /dev/null
@@ -1,107 +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.9.1
-CATEGORIES= www
-MASTER_SITES= http://download.moodle.org/stable19/
-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
-WRKSRC= ${WRKDIR}/moodle
-
-OPTIONS= MYSQL "Add support for a MySQL database server" Off \
- PGSQL "Add support for a PostgreSQL database server" Off \
- MSSQL "Add support for a MS SQL Server" Off \
- ZLIB "Add zip/unzip functionality" On \
- NETWORK "Add Moodle Network functionality" Off \
- LDAP "Add LDAP authentication functionality" Off \
- MIMETEX "Add mimeTeX filter functionality" On
-
-.include <bsd.port.pre.mk>
-
-.if !defined(WITH_MYSQL) && !defined(WITH_PGSQL) && !defined(WITH_MSSQL)
-pre-fetch:
- @${ECHO_MSG} "
- @${ECHO_MSG} "You didn't activate support for any database server!"
- @${ECHO_MSG} "
- @${ECHO_MSG} "If you want to reconsider, press Ctrl-C now to cancel"
- @${ECHO_MSG} "the installation and run 'make config'"
- @${ECHO_MSG} "
- @${ECHO_MSG} "You can also add the required PHP module later, if that's"
- @${ECHO_MSG} "what you prefer."
- @${ECHO_MSG} "
- @sleep 5
-.endif
-
-.if defined(WITH_MYSQL)
-USE_PHP+= mysql
-.endif
-
-.if defined(WITH_PGSQL)
-USE_PHP+= pgsql
-.endif
-
-.if defined(WITH_MSSQL)
-USE_PHP+= mssql
-.endif
-
-.if !defined(WITHOUT_ZLIB)
-USE_PHP+= zlib
-.endif
-
-.if defined(WITH_NETWORK)
-USE_PHP+= openssl
-.endif
-
-.if defined(WITH_LDAP)
-USE_PHP+= ldap
-.endif
-
-.if !defined(WITHOUT_MIMETEX)
-RUN_DEPENDS+= ${PREFIX}/www/cgi-bin/mimetex.cgi:${PORTSDIR}/www/mimetex
-.endif
-
-NO_BUILD= yes
-PLIST= ${WRKDIR}/plist
-SUB_FILES= pkg-message
-SUB_LIST= MOODLEDIR=${MOODLEDIR} \
- MOODLEDATADIR=${MOODLEDATADIR}
-
-MOODLEDIR?= www/moodle
-MOODLEDATADIR?= www/moodledata
-
-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:
- @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}
-.if !defined(WITHOUT_MIMETEX)
- ${LN} -sf ${PREFIX}/www/cgi-bin/mimetex.cgi ${PREFIX}/${MOODLEDIR}/filter/tex/mimetex.freebsd
-.endif
-
-post-install:
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
diff --git a/www/moodle2/distinfo b/www/moodle2/distinfo
deleted file mode 100644
index 6fcd74edc7e5..000000000000
--- a/www/moodle2/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (moodle-1.9.1.tgz) = a48fde8d56913b51ad3bfc6a027cf0ae
-SHA256 (moodle-1.9.1.tgz) = d8344d23f10d125318e06dc80d3bd0d4b00cfaf4dbefb763873c7a54d67979d8
-SIZE (moodle-1.9.1.tgz) = 11721076
diff --git a/www/moodle2/files/pkg-message.in b/www/moodle2/files/pkg-message.in
deleted file mode 100644
index 31086814285b..000000000000
--- a/www/moodle2/files/pkg-message.in
+++ /dev/null
@@ -1,61 +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).
- It doesn't matter what the database or user names are,
- as this will be configured in a later step.
- NOTE: this package assumes that either the phpX-pgsql,
- phpX-mysql, or phpX-mssql packages are installed.
-
-2) Add the following to your Apache configuration, and
- restart the server:
-
- ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later.
- Alias /moodle %%PREFIX%%/%%MOODLEDIR%%/
- AcceptPathInfo On
- <Directory %%PREFIX%%/%%MOODLEDIR%%>
- AllowOverride None
- Order Allow,Deny
- Allow from all
- </Directory>
- <Directory %%PREFIX%%/%%MOODLEDATADIR%%>
- AllowOverride None
- Order Allow,Deny
- 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.
-
- At one step, you will get a message saying that the
- installer script was not able to automatically create
- the config.php file. Just download it and copy it to
- %%PREFIX%%/%%MOODLEDIR%%/config.php. Beware that it
- will contain the database password in cleartext, so
- set up whatever file permissions you deem more adequate.
- For instance, user=root, group=www, mask=640.
-
-4) Set up a cron task to invoke the file admin/cron.php
- every five minutes or so. For instance:
- */5 * * * * fetch http://your.server.com/moodle/admin/cron.php
-
-For more information, see the INSTALL DOCUMENTATION:
-
- http://docs.moodle.org/en/Installing_Moodle
-
-It may be worth reading the installation docs even if Moodle seems
-to be working at first, to ensure your PHP settings and database
-configuration will allow Moodle to operate properly.
-
-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
-
-If you have real trouble, please visit the Moodle course
-"Using Moodle" on moodle.org.
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/