mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Update to 2.8.7
- Update options - Add missing php module - Fix file permissions - Adjust CONFLICTS
This commit is contained in:
parent
89d9fef3e5
commit
cb5191801c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391625
@ -2,7 +2,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= moodle
|
PORTNAME= moodle
|
||||||
PORTVERSION= 2.8.6
|
PORTVERSION= 2.8.7
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= SF/moodle/Moodle/stable28/
|
MASTER_SITES= SF/moodle/Moodle/stable28/
|
||||||
PKGNAMESUFFIX= ${PKGORIGIN:T:S/moodle//}
|
PKGNAMESUFFIX= ${PKGORIGIN:T:S/moodle//}
|
||||||
@ -15,17 +15,18 @@ LICENSE= GPLv3
|
|||||||
BUILD_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/intl.so:${PORTSDIR}/devel/pecl-intl
|
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
|
RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/intl.so:${PORTSDIR}/devel/pecl-intl
|
||||||
|
|
||||||
CONFLICTS= moodle27-2.7.[0-9]* moodle29-2.9
|
CONFLICTS= moodle27-2.7.[0-9]* moodle29-2.9.[0-9]*
|
||||||
|
|
||||||
USES= tar:tgz
|
USES= tar:tgz
|
||||||
USE_PHP= session gd pcre mbstring iconv tokenizer curl xml xmlrpc ctype \
|
USE_PHP= session gd pcre mbstring iconv tokenizer curl xml xmlrpc ctype \
|
||||||
soap openssl simplexml spl dom json zip zlib hash
|
soap openssl simplexml spl dom json zip zlib hash opcache
|
||||||
WRKSRC= ${WRKDIR}/moodle
|
WRKSRC= ${WRKDIR}/moodle
|
||||||
|
|
||||||
OPTIONS_DEFINE= MYSQL PGSQL MSSQL LDAP MIMETEX
|
OPTIONS_SINGLE= BACKEND
|
||||||
OPTIONS_DEFAULT=MYSQL
|
OPTIONS_SINGLE_BACKEND= MYSQL PGSQL MSSQL
|
||||||
MSSQL_DESC= MS SQL Server support
|
OPTIONS_DEFINE= LDAP MIMETEX
|
||||||
MIMETEX_DESC= mimeTeX filter functionality support
|
OPTIONS_DEFAULT= MYSQL
|
||||||
|
MIMETEX_DESC= mimeTeX filter functionality support
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
@ -59,11 +60,12 @@ MOODLEDIR?= www/moodle
|
|||||||
MOODLEDATADIR?= moodledata
|
MOODLEDATADIR?= moodledata
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
|
@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MOODLEDIR}?g" >>${PLIST}
|
||||||
|
@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${MOODLEDIR}?g" >> ${PLIST}
|
||||||
|
|
||||||
@${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST}
|
@${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST}
|
||||||
@${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST}
|
@${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST}
|
||||||
@${ECHO_CMD} "@mode 755" >> ${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}?@dir ${MOODLEDIR}?g" >> ${PLIST}
|
|
||||||
@${ECHO} @dir ${MOODLEDATADIR} >> ${PLIST}
|
@${ECHO} @dir ${MOODLEDATADIR} >> ${PLIST}
|
||||||
@${ECHO_CMD} "@mode" >> ${PLIST}
|
@${ECHO_CMD} "@mode" >> ${PLIST}
|
||||||
@${ECHO_CMD} "@group" >> ${PLIST}
|
@${ECHO_CMD} "@group" >> ${PLIST}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
SHA256 (moodle-2.8.6.tgz) = 54287a4417db6885ff7e327d61b167f298a5a4663130def0fbbb9186f4815eb7
|
SHA256 (moodle-2.8.7.tgz) = cd4cf38bb329cad3575d32e6692c9cdba97b25d7b09d2aaf0b20aa5fac2878f4
|
||||||
SIZE (moodle-2.8.6.tgz) = 35833782
|
SIZE (moodle-2.8.7.tgz) = 35867384
|
||||||
|
Loading…
Reference in New Issue
Block a user