Date: Sun, 11 May 2014 15:49:03 +0000 (UTC) From: Wen Heping <wen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353714 - head/www/moodle25 Message-ID: <201405111549.s4BFn3U4042964@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wen Date: Sun May 11 15:49:03 2014 New Revision: 353714 URL: http://svnweb.freebsd.org/changeset/ports/353714 QAT: https://qat.redports.org/buildarchive/r353714/ Log: - Update to 2.5.6 - Stage support - Add LICENSE Modified: head/www/moodle25/Makefile head/www/moodle25/distinfo Modified: head/www/moodle25/Makefile ============================================================================== --- head/www/moodle25/Makefile Sun May 11 15:47:21 2014 (r353713) +++ head/www/moodle25/Makefile Sun May 11 15:49:03 2014 (r353714) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= moodle -PORTVERSION= 2.5.5 +PORTVERSION= 2.5.6 CATEGORIES= www MASTER_SITES= SF/moodle/Moodle/stable25/ EXTRACT_SUFX= .tgz @@ -10,6 +10,8 @@ EXTRACT_SUFX= .tgz MAINTAINER= wen@FreeBSD.org COMMENT= Course management system based on social constructionism +LICENSE= GPLv3 + BUILD_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/intl.so:${PORTSDIR}/devel/pecl-intl RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/intl.so:${PORTSDIR}/devel/pecl-intl @@ -25,7 +27,6 @@ OPTIONS_DEFAULT=MYSQL MSSQL_DESC= MS SQL Server support MIMETEX_DESC= mimeTeX filter functionality support -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MMYSQL} @@ -58,26 +59,22 @@ MOODLEDIR?= www/moodle MOODLEDATADIR?= moodledata pre-install: - @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MOODLEDIR}?g" >${PLIST} + @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} + @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} + @${ECHO_CMD} "@mode 755" >> ${PLIST} + @${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} + @${ECHO_CMD} "@mode" >> ${PLIST} + @${ECHO_CMD} "@group" >> ${PLIST} + @${ECHO_CMD} "@owner" >> ${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} - ${CHMOD} -R 755 ${PREFIX}/${MOODLEDIR} - @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${PREFIX}/${MOODLEDIR}' >> ${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 ${PORT_OPTIONS:MIMETEX} - ${LN} -sf ${PREFIX}/www/mimetex/cgi-bin/mimetex.cgi ${PREFIX}/${MOODLEDIR}/filter/tex/mimetex.freebsd + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${MOODLEDIR} + @${INSTALL} -d ${STAGEDIR}${PREFIX}/${MOODLEDATADIR} +.if ${PORT_OPTIONS:MMIMETEX} + ${LN} -sf ${PREFIX}/www/mimetex/cgi-bin/mimetex.cgi \ + ${STAGEDIR}${PREFIX}/${MOODLEDIR}/filter/tex/mimetex.freebsd .endif post-install: Modified: head/www/moodle25/distinfo ============================================================================== --- head/www/moodle25/distinfo Sun May 11 15:47:21 2014 (r353713) +++ head/www/moodle25/distinfo Sun May 11 15:49:03 2014 (r353714) @@ -1,2 +1,2 @@ -SHA256 (moodle-2.5.5.tgz) = e2b6ac73851fabbad7287c37b3f25764d4b49a340b2d9da8a2d634cb65b320e5 -SIZE (moodle-2.5.5.tgz) = 32483875 +SHA256 (moodle-2.5.6.tgz) = edde31a80af31d8d282a0f2e18c8e1e4a853e5585d6b9569de2a7f4d2cba7faf +SIZE (moodle-2.5.6.tgz) = 32493195
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405111549.s4BFn3U4042964>