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>
This commit is contained in:
Beech Rintoul 2008-02-15 08:01:21 +00:00
parent 2da8baa0c8
commit cad4f944ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207230
5 changed files with 106 additions and 0 deletions

View file

@ -38,6 +38,7 @@
SUBDIR += asterisk-stat
SUBDIR += aswedit
SUBDIR += aswiki
SUBDIR += atutor
SUBDIR += august
SUBDIR += auth_ldap
SUBDIR += autoindex

62
www/atutor/Makefile Normal file
View file

@ -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>

3
www/atutor/distinfo Normal file
View file

@ -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

View file

@ -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

10
www/atutor/pkg-descr Normal file
View file

@ -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/