diff options
author | miwi <miwi@FreeBSD.org> | 2006-11-19 07:01:34 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-11-19 07:01:34 +0800 |
commit | ea40a70a2cf93f5fa6c3ee35201bfb706d37487e (patch) | |
tree | 27a2445a2ed870cf58760e9fb78976c871ed44fb | |
parent | 38d344070dc309b57a45957dbcff111e7550494e (diff) | |
download | freebsd-ports-gnome-ea40a70a2cf93f5fa6c3ee35201bfb706d37487e.tar.gz freebsd-ports-gnome-ea40a70a2cf93f5fa6c3ee35201bfb706d37487e.tar.zst freebsd-ports-gnome-ea40a70a2cf93f5fa6c3ee35201bfb706d37487e.zip |
ILIAS is a powerful web-based learning management
system that allows users to create, edit and publish
learning and teaching material in an integrated
system with their normal web browsers.
WWW: http://www.ilias.de/ios/index-e.html
PR: ports/105089
Submitted by: Bartlomiej Rutkowski <r at robakdesign.com>
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/ilias/Makefile | 65 | ||||
-rw-r--r-- | www/ilias/distinfo | 3 | ||||
-rw-r--r-- | www/ilias/files/pkg-message.in | 15 | ||||
-rw-r--r-- | www/ilias/pkg-descr | 6 | ||||
-rw-r--r-- | www/ilias3/Makefile | 65 | ||||
-rw-r--r-- | www/ilias3/distinfo | 3 | ||||
-rw-r--r-- | www/ilias3/files/pkg-message.in | 15 | ||||
-rw-r--r-- | www/ilias3/pkg-descr | 6 |
9 files changed, 179 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 8dd79c1d0c61..b3ee4abe186d 100644 --- a/www/Makefile +++ b/www/Makefile @@ -205,6 +205,7 @@ SUBDIR += hydra SUBDIR += hypermail SUBDIR += igal + SUBDIR += ilias SUBDIR += imgsizer SUBDIR += indexme SUBDIR += instiki diff --git a/www/ilias/Makefile b/www/ilias/Makefile new file mode 100644 index 000000000000..6aeca2c4eb36 --- /dev/null +++ b/www/ilias/Makefile @@ -0,0 +1,65 @@ +# New ports collection makefile for: www/ilias +# Date created: Oct 24, 2006 +# Whom: Bartlomiej Rutkowski <r@robakdesign.com> +# +# $FreeBSD$ + +PORTNAME= ilias +PORTVERSION= 3.7.3 +CATEGORIES= www +MASTER_SITES= http://www.ilias.de/download/src/ + +MAINTAINER= r@robakdesign.com +COMMENT= A poweful, dynamic, PHP and MySQL based e-learning platform + +RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \ + zip:${PORTSDIR}/archivers/zip \ + ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip \ + ${LOCALBASE}/share/pear/PEAR.php:${PORTSDIR}/devel/pear \ + ${LOCALBASE}/share/pear/Auth/Auth.php:${PORTSDIR}/security/pear-Auth \ + ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB \ + ${LOCALBASE}/share/pear/HTML/Template/IT.php:${PORTSDIR}/devel/pear-HTML_Template_IT +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ + png.5:${PORTSDIR}/graphics/png + +NO_BUILD= yes +SUB_FILES= pkg-message +USE_MYSQL= yes +DEFAULT_MYSQL_VER= 50 +USE_PHP= mysql session zlib gd pdf xml pcre +DEFAULT_PHP_VER= 5 +WANT_PHP_MOD= yes +WRKSRC= ${WRKDIR}/ilias3 +PLIST= ${WRKDIR}/pkg-plist + +INSTALL_DIR?= www/${PORTNAME} + +OPTIONS= PHP4 "Use PHP4 instead of PHP5" off \ + MYSQL4 "Use MySQL 4.x instead of MySQL 5.x" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_PHP4) +DEFAULT_PHP_VER= 4 +LIB_DEPENDS+= sablot.70:${PORTSDIR}/textproc/sablotron +.endif + +.if defined(WITH_MYSQL4) +DEFAULT_MYSQL_VER= 41 +.endif + +PLIST_SUB= INSTALL_DIR=${INSTALL_DIR} + +pre-install: + @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${INSTALL_DIR}?g" >${PLIST} + @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${INSTALL_DIR}?g" >> ${PLIST} + +do-install: + @${MKDIR} ${PREFIX}/${INSTALL_DIR} + @cd ${WRKSRC} && ${FIND} . | ${PAX} -rw ${PREFIX}/${INSTALL_DIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${INSTALL_DIR} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/www/ilias/distinfo b/www/ilias/distinfo new file mode 100644 index 000000000000..ecf244a075ff --- /dev/null +++ b/www/ilias/distinfo @@ -0,0 +1,3 @@ +MD5 (ilias-3.7.3.tar.gz) = 2ccb76fec6805a4f35fb50bc688105a0 +SHA256 (ilias-3.7.3.tar.gz) = 440693d8a1d84416489be9753726aa7447b01a0ea2f18ebc2e4af8da5bc8ca30 +SIZE (ilias-3.7.3.tar.gz) = 37878345 diff --git a/www/ilias/files/pkg-message.in b/www/ilias/files/pkg-message.in new file mode 100644 index 000000000000..bbfd8a1f683b --- /dev/null +++ b/www/ilias/files/pkg-message.in @@ -0,0 +1,15 @@ +============================================= +Congratulations! You have successfully installed +ILIAS e-learning platform. Please keep in mind that +heavily used ILIAS installation can cause huge growth +of your log file, so remember to disable notices logging +in your PHP installation. + +Also, this installation process have installed everything +that is needed for ILIAS to run properly with basic +functionality, but to broaden it you will have to install +third party software like Sun Java, HTMLdoc, LaTeX or +some virus scanner by yourself. + +Now feel free to proceed to ILIAS web setup proccess. +============================================= diff --git a/www/ilias/pkg-descr b/www/ilias/pkg-descr new file mode 100644 index 000000000000..cf4e811dac7b --- /dev/null +++ b/www/ilias/pkg-descr @@ -0,0 +1,6 @@ +ILIAS is a powerful web-based learning management +system that allows users to create, edit and publish +learning and teaching material in an integrated +system with their normal web browsers. + +WWW: http://www.ilias.de/ios/index-e.html diff --git a/www/ilias3/Makefile b/www/ilias3/Makefile new file mode 100644 index 000000000000..6aeca2c4eb36 --- /dev/null +++ b/www/ilias3/Makefile @@ -0,0 +1,65 @@ +# New ports collection makefile for: www/ilias +# Date created: Oct 24, 2006 +# Whom: Bartlomiej Rutkowski <r@robakdesign.com> +# +# $FreeBSD$ + +PORTNAME= ilias +PORTVERSION= 3.7.3 +CATEGORIES= www +MASTER_SITES= http://www.ilias.de/download/src/ + +MAINTAINER= r@robakdesign.com +COMMENT= A poweful, dynamic, PHP and MySQL based e-learning platform + +RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \ + zip:${PORTSDIR}/archivers/zip \ + ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip \ + ${LOCALBASE}/share/pear/PEAR.php:${PORTSDIR}/devel/pear \ + ${LOCALBASE}/share/pear/Auth/Auth.php:${PORTSDIR}/security/pear-Auth \ + ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB \ + ${LOCALBASE}/share/pear/HTML/Template/IT.php:${PORTSDIR}/devel/pear-HTML_Template_IT +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ + png.5:${PORTSDIR}/graphics/png + +NO_BUILD= yes +SUB_FILES= pkg-message +USE_MYSQL= yes +DEFAULT_MYSQL_VER= 50 +USE_PHP= mysql session zlib gd pdf xml pcre +DEFAULT_PHP_VER= 5 +WANT_PHP_MOD= yes +WRKSRC= ${WRKDIR}/ilias3 +PLIST= ${WRKDIR}/pkg-plist + +INSTALL_DIR?= www/${PORTNAME} + +OPTIONS= PHP4 "Use PHP4 instead of PHP5" off \ + MYSQL4 "Use MySQL 4.x instead of MySQL 5.x" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_PHP4) +DEFAULT_PHP_VER= 4 +LIB_DEPENDS+= sablot.70:${PORTSDIR}/textproc/sablotron +.endif + +.if defined(WITH_MYSQL4) +DEFAULT_MYSQL_VER= 41 +.endif + +PLIST_SUB= INSTALL_DIR=${INSTALL_DIR} + +pre-install: + @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${INSTALL_DIR}?g" >${PLIST} + @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${INSTALL_DIR}?g" >> ${PLIST} + +do-install: + @${MKDIR} ${PREFIX}/${INSTALL_DIR} + @cd ${WRKSRC} && ${FIND} . | ${PAX} -rw ${PREFIX}/${INSTALL_DIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${INSTALL_DIR} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/www/ilias3/distinfo b/www/ilias3/distinfo new file mode 100644 index 000000000000..ecf244a075ff --- /dev/null +++ b/www/ilias3/distinfo @@ -0,0 +1,3 @@ +MD5 (ilias-3.7.3.tar.gz) = 2ccb76fec6805a4f35fb50bc688105a0 +SHA256 (ilias-3.7.3.tar.gz) = 440693d8a1d84416489be9753726aa7447b01a0ea2f18ebc2e4af8da5bc8ca30 +SIZE (ilias-3.7.3.tar.gz) = 37878345 diff --git a/www/ilias3/files/pkg-message.in b/www/ilias3/files/pkg-message.in new file mode 100644 index 000000000000..bbfd8a1f683b --- /dev/null +++ b/www/ilias3/files/pkg-message.in @@ -0,0 +1,15 @@ +============================================= +Congratulations! You have successfully installed +ILIAS e-learning platform. Please keep in mind that +heavily used ILIAS installation can cause huge growth +of your log file, so remember to disable notices logging +in your PHP installation. + +Also, this installation process have installed everything +that is needed for ILIAS to run properly with basic +functionality, but to broaden it you will have to install +third party software like Sun Java, HTMLdoc, LaTeX or +some virus scanner by yourself. + +Now feel free to proceed to ILIAS web setup proccess. +============================================= diff --git a/www/ilias3/pkg-descr b/www/ilias3/pkg-descr new file mode 100644 index 000000000000..cf4e811dac7b --- /dev/null +++ b/www/ilias3/pkg-descr @@ -0,0 +1,6 @@ +ILIAS is a powerful web-based learning management +system that allows users to create, edit and publish +learning and teaching material in an integrated +system with their normal web browsers. + +WWW: http://www.ilias.de/ios/index-e.html |