diff options
author | beech <beech@FreeBSD.org> | 2008-02-15 16:01:21 +0800 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2008-02-15 16:01:21 +0800 |
commit | 63f106c5ea8a2aacf81a6b2938486ea341d85c22 (patch) | |
tree | 1eb5695c7baf27a59ff1bcc80556716620c203ba /www | |
parent | fffa457939c9ca67ee0d6c83b6771a2846c972e4 (diff) | |
download | freebsd-ports-gnome-63f106c5ea8a2aacf81a6b2938486ea341d85c22.tar.gz freebsd-ports-gnome-63f106c5ea8a2aacf81a6b2938486ea341d85c22.tar.zst freebsd-ports-gnome-63f106c5ea8a2aacf81a6b2938486ea341d85c22.zip |
ATutor is an Open Source Web-based Learning Content Management System
(LCMS) designed with accessibility and adaptability in mind.
Administrators can install or update ATutor in minutes, develop custom
themes to give ATutor a new look, and easily extend its functionality
with feature modules. Educators can quickly assemble, package, and
redistribute Web-based instructional content, easily import prepackaged
content, and conduct their courses online. Students learn in an adaptive
learning environment.
PR: ports/120553
Submitted by: Wen heping <wenheping at gmail.com>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/atutor/Makefile | 62 | ||||
-rw-r--r-- | www/atutor/distinfo | 3 | ||||
-rw-r--r-- | www/atutor/files/pkg-message.in | 30 | ||||
-rw-r--r-- | www/atutor/pkg-descr | 10 |
5 files changed, 106 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index b23ed730151a..92b9964b0f36 100644 --- a/www/Makefile +++ b/www/Makefile @@ -38,6 +38,7 @@ SUBDIR += asterisk-stat SUBDIR += aswedit SUBDIR += aswiki + SUBDIR += atutor SUBDIR += august SUBDIR += auth_ldap SUBDIR += autoindex diff --git a/www/atutor/Makefile b/www/atutor/Makefile new file mode 100644 index 000000000000..a243f555a506 --- /dev/null +++ b/www/atutor/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: atutor +# Date created: 11 Feb 2008 +# Whom: Wen heping <wenheping@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= atutor +PORTVERSION= 1.6 +CATEGORIES= www +MASTER_SITES= http://superb-west.dl.sourceforge.net/sourceforge/atutor/ +DISTNAME= ATutor-${DISTVERSION} + +MAINTAINER= wenheping@gmail.com +COMMENT= An Open Source Web-based Learning Content Management System (LCMS) + +USE_PHP= session mbstring zlib mysql +WRKSRC= ${WRKDIR}/ATutor + +.include <bsd.port.pre.mk> + +NO_BUILD= yes +PLIST= ${WRKDIR}/plist +SUB_FILES= pkg-message +SUB_LIST= ATUTDIR=${ATUTDIR} \ + ATUTDATDIR=${ATUTDATDIR} + +ATUTDIR?= www/atutor +ATUTDATDIR?= ${ATUTDIR}/content +ATUTCONFIG?= include/config.inc.php + +pre-install: + @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${ATUTDIR}?g" >${PLIST} + @${ECHO_CMD} @dirrm ${ATUTDATDIR} >> ${PLIST} + @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${ATUTDIR}?g" >> ${PLIST} + +do-install: + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${ATUTDIR} + @${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${ATUTDIR} + @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \ + ${PREFIX}/${ATUTDIR}' >> ${TMPPLIST} + @${FIND} ${PREFIX}/${ATUTDIR} -type d -exec ${CHMOD} a+x {} \; + @${INSTALL} -d ${PREFIX}/${ATUTDATDIR} + @${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${ATUTDATDIR} + @${ECHO_CMD} '@exec ${INSTALL} -d \ + ${PREFIX}/${ATUTDATDIR}' >> ${TMPPLIST} + @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \ + ${PREFIX}/${ATUTDATDIR}' >> ${TMPPLIST} + @${CHMOD} 755 ${PREFIX}/${ATUTDATDIR} + @${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/${ATUTDATDIR}' >> ${TMPPLIST} + @${CHMOD} 666 ${PREFIX}/${ATUTDIR}/${ATUTCONFIG} + @${ECHO_CMD} '@exec ${CHMOD} 666 \ + ${PREFIX}/${ATUTDIR}/${ATUTCONFIG}' >> ${TMPPLIST} + @${ECHO_CMD} '@exec ${INSTALL} -d \ + ${PREFIX}/${ATUTDIR}/themes/blumin/users' >> ${TMPPLIST} + @${ECHO_CMD} '@exec ${INSTALL} -d \ + ${PREFIX}/${ATUTDIR}/themes/greenmin/users' >> ${TMPPLIST} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/www/atutor/distinfo b/www/atutor/distinfo new file mode 100644 index 000000000000..d6359e2e76c2 --- /dev/null +++ b/www/atutor/distinfo @@ -0,0 +1,3 @@ +MD5 (ATutor-1.6.tar.gz) = efe52baada6d033c0e7f67d2c152e79d +SHA256 (ATutor-1.6.tar.gz) = 55aa48d718f20d09a1355acdba19ff461122d66f83b79c50aa4f5d51f9fd9d98 +SIZE (ATutor-1.6.tar.gz) = 2694862 diff --git a/www/atutor/files/pkg-message.in b/www/atutor/files/pkg-message.in new file mode 100644 index 000000000000..bde82ba2f977 --- /dev/null +++ b/www/atutor/files/pkg-message.in @@ -0,0 +1,30 @@ + +POST-INSTALL CONFIGURATION FOR ATutor +===================================== + +1) Add the following to your Apache configuration, and + restart the server: + + ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later. + Alias /ATutor %%PREFIX%%/%%ATUTDIR%%/ + AcceptPathInfo On + <Directory %%PREFIX%%/%%ATUTDIR%%> + AllowOverride None + Order Allow,Deny + Allow from all + </Directory> + <Directory %%PREFIX%%/%%ATUTDATDIR%%> + AllowOverride None + Order Allow,Deny + Deny from all + </Directory> + +2) Visit your ATutor site with a browser (i.e., + http://your.server.com/atutor/), and you should + be taken to the install.php script, which will lead + you through creating a config.inc.php file and then + setting up ATutor, creating an admin account, etc. + +For more information, see the INSTALL DOCUMENTATION: + + http://www.atutor.ca/atutor/docs/installation.php diff --git a/www/atutor/pkg-descr b/www/atutor/pkg-descr new file mode 100644 index 000000000000..778ff8045f07 --- /dev/null +++ b/www/atutor/pkg-descr @@ -0,0 +1,10 @@ +ATutor is an Open Source Web-based Learning Content Management System +(LCMS) designed with accessibility and adaptability in mind. +Administrators can install or update ATutor in minutes, develop custom +themes to give ATutor a new look, and easily extend its functionality +with feature modules. Educators can quickly assemble, package, and +redistribute Web-based instructional content, easily import prepackaged +content, and conduct their courses online. Students learn in an adaptive +learning environment. + +WWW: http://www.atutor.ca/ |