ports/120553: New port:www/ATutor
wenheping
wenheping at gmail.com
Tue Feb 12 13:30:02 UTC 2008
>Number: 120553
>Category: ports
>Synopsis: New port:www/ATutor
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 12 13:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: wenheping
>Release: FreeBSD 7 RC1
>Organization:
>Environment:
FreeBSD fb7 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 24 12:18:24 UTC 2007 root at lo
gan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
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/
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# /usr/ports/www/ATutor
# /usr/ports/www/ATutor/pkg-descr
# /usr/ports/www/ATutor/files
# /usr/ports/www/ATutor/files/pkg-message.in
# /usr/ports/www/ATutor/Makefile
# /usr/ports/www/ATutor/distinfo
#
echo c - /usr/ports/www/ATutor
mkdir -p /usr/ports/www/ATutor > /dev/null 2>&1
echo x - /usr/ports/www/ATutor/pkg-descr
sed 's/^X//' >/usr/ports/www/ATutor/pkg-descr << 'END-of-/usr/ports/www/ATutor/pkg-descr'
XATutor is an Open Source Web-based Learning Content Management System
X(LCMS) designed with accessibility and adaptability in mind.
XAdministrators can install or update ATutor in minutes, develop custom
Xthemes to give ATutor a new look, and easily extend its functionality
Xwith feature modules. Educators can quickly assemble, package, and
Xredistribute Web-based instructional content, easily import prepackaged
Xcontent, and conduct their courses online. Students learn in an adaptive
Xlearning environment.
X
XWWW: http://www.atutor.ca/
END-of-/usr/ports/www/ATutor/pkg-descr
echo c - /usr/ports/www/ATutor/files
mkdir -p /usr/ports/www/ATutor/files > /dev/null 2>&1
echo x - /usr/ports/www/ATutor/files/pkg-message.in
sed 's/^X//' >/usr/ports/www/ATutor/files/pkg-message.in <<
'END-of-/usr/ports/www/ATutor/files/pkg-message.in'
XPOST-INSTALL CONFIGURATION FOR ATutor
X=====================================
X
X1) Add the following to your Apache configuration, and
X restart the server:
X
X ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later.
X Alias /ATutor %%PREFIX%%/%%ATUTORDIR%%/
X AcceptPathInfo On
X <Directory %%PREFIX%%/%%ATUTORDIR%%>
X AllowOverride None
X Order Allow,Deny
X Allow from all
X </Directory>
X <Directory %%PREFIX%%/%%ATUTORDATADIR%%>
X AllowOverride None
X Order Allow,Deny
X Deny from all
X </Directory>
X
X2) Visit your ATutor site with a browser (i.e.,
X http://your.server.com/ATutor/), and you should
X be taken to the install.php script, which will lead
X you through creating a config.inc.php file and then
X setting up ATutor, creating an admin account, etc.
X
XFor more information, see the INSTALL DOCUMENTATION:
X
X http://www.atutor.ca/atutor/docs/installation.php
X
END-of-/usr/ports/www/ATutor/files/pkg-message.in
echo x - /usr/ports/www/ATutor/Makefile
sed 's/^X//' >/usr/ports/www/ATutor/Makefile << 'END-of-/usr/ports/www/ATutor/Makefile'
X# New ports collection makefile for: ATutor
X# Date created: 11 Feb 2008
X# Whom: Wen heping <wenheping at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= ATutor
XPORTVERSION= 1.6
XCATEGORIES= www
XMASTER_SITES= http://superb-west.dl.sourceforge.net/sourceforge/atutor/
X
XMAINTAINER= wenheping at gmail.com
XCOMMENT= An Open Source Web-based Learning Content Management System (LCMS)
X
XUSE_PHP= session mbstring zlib mysql
XWRKSRC= ${WRKDIR}/ATutor
X
X.include <bsd.port.pre.mk>
X
XNO_BUILD= yes
XPLIST= ${WRKDIR}/plist
XSUB_FILES= pkg-message
XSUB_LIST= ATUTORDIR=${ATUTORDIR} \
X ATUTORDATADIR=${ATUTORDATADIR}
X
XATUTORDIR?= www/ATutor
XATUTORDATADIR?= www/ATutor/content
XATUTORCONFIGFILE?=include/config.inc.php
X
Xpre-install:
X @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${ATUTORDIR}?g" >${PLIST}
X @${ECHO} @dirrm ${ATUTORDATADIR} >> ${PLIST}
X @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${ATUTORDIR}?g" >>
${PLIST}
X
Xdo-install:
X ${INSTALL_DATA} -d ${PREFIX}/${ATUTORDIR}
X ${CP} -Rn ${WRKSRC}/* ${PREFIX}/${ATUTORDIR}
X ${FIND} ${PREFIX}/${ATUTORDIR} -type d -exec ${CHMOD} a+x {} \;
X ${MKDIR} ${PREFIX}/${ATUTORDATADIR}
X ${CHOWN} www ${PREFIX}/${ATUTORDATADIR}
X ${CHMOD} 755 ${PREFIX}/${ATUTORDATADIR}
X ${CHMOD} 666 ${PREFIX}/${ATUTORDIR}/${ATUTORCONFIGFILE}
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/www/ATutor/Makefile
echo x - /usr/ports/www/ATutor/distinfo
sed 's/^X//' >/usr/ports/www/ATutor/distinfo << 'END-of-/usr/ports/www/ATutor/distinfo'
XMD5 (ATutor-1.6.tar.gz) = efe52baada6d033c0e7f67d2c152e79d
XSHA256 (ATutor-1.6.tar.gz) =
55aa48d718f20d09a1355acdba19ff461122d66f83b79c50aa4f5d51f9fd9d98
XSIZE (ATutor-1.6.tar.gz) = 2694862
END-of-/usr/ports/www/ATutor/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list