1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

- Update to 2.8.1 and connect

- Adjust CONFLICTS
- s/dirrm/dir
This commit is contained in:
Wen Heping 2014-11-17 14:15:22 +00:00
parent 3f1033cc9d
commit 122058b5a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372669
3 changed files with 9 additions and 8 deletions

View File

@ -517,6 +517,7 @@
SUBDIR += mongrel2
SUBDIR += moodle26
SUBDIR += moodle27
SUBDIR += moodle28
SUBDIR += mozplugger
SUBDIR += multisort
SUBDIR += multiwatch

View File

@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= moodle
PORTVERSION= 2.7.3
PORTVERSION= 2.8.1
CATEGORIES= www
MASTER_SITES= SF/moodle/Moodle/stable27/
MASTER_SITES= SF/moodle/Moodle/stable28/
PKGNAMESUFFIX= ${PKGORIGIN:T:S/moodle//}
EXTRACT_SUFX= .tgz
MAINTAINER= wen@FreeBSD.org
COMMENT= Course management system based on social constructionism
@ -16,8 +15,9 @@ 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
CONFLICTS= moodle26-2.6.[0-9]* moodle28-2.8.[0-9]*
CONFLICTS= moodle26-2.6.[0-9]* moodle27-2.7.[0-9]*
USES= tar:tgz
USE_PHP= session gd pcre mbstring iconv tokenizer curl xml xmlrpc ctype \
soap openssl simplexml spl dom json zip zlib hash
WRKSRC= ${WRKDIR}/moodle
@ -63,8 +63,8 @@ pre-install:
@${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}
@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${MOODLEDIR}?g" >> ${PLIST}
@${ECHO} @dir ${MOODLEDATADIR} >> ${PLIST}
@${ECHO_CMD} "@mode" >> ${PLIST}
@${ECHO_CMD} "@group" >> ${PLIST}
@${ECHO_CMD} "@owner" >> ${PLIST}

View File

@ -1,2 +1,2 @@
SHA256 (moodle-2.7.3.tgz) = baaf5a323d44417c40fd4104378426c18c80cf17db19180f76b2e3c2b5a40dc9
SIZE (moodle-2.7.3.tgz) = 34891141
SHA256 (moodle-2.8.1.tgz) = d226a870cecf32f611d7f0c90c1a540cf959c9dad4293828f4bde29952ce112e
SIZE (moodle-2.8.1.tgz) = 35720161