diff options
author | Wen Heping <wen@FreeBSD.org> | 2014-11-29 10:49:12 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2014-11-29 10:49:12 +0000 |
commit | 4db6fa699a6b7f513dbc837874119a75d704d7ba (patch) | |
tree | acb564bd551b11f471ba0f102e2b7ac21b68e704 | |
parent | - Update to 1.22.14 (diff) |
- Repocopy www/mediawiki123 --> www/mediawiki124 and update to 1.24.0
Notes
Notes:
svn path=/head/; revision=373612
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mediawiki124/Makefile | 83 | ||||
-rw-r--r-- | www/mediawiki124/distinfo | 2 | ||||
-rw-r--r-- | www/mediawiki124/pkg-descr | 6 | ||||
-rw-r--r-- | www/mediawiki124/pkg-message | 11 |
5 files changed, 103 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 33dd684a533c..5705a1b52a31 100644 --- a/www/Makefile +++ b/www/Makefile @@ -400,6 +400,7 @@ SUBDIR += mediawiki119 SUBDIR += mediawiki122 SUBDIR += mediawiki123 + SUBDIR += mediawiki124 SUBDIR += mergelog SUBDIR += mgstat SUBDIR += mhonarc diff --git a/www/mediawiki124/Makefile b/www/mediawiki124/Makefile new file mode 100644 index 000000000000..39bf4cd11e2c --- /dev/null +++ b/www/mediawiki124/Makefile @@ -0,0 +1,83 @@ +# Created by: Gerrit Beine <tux@pinguru.net> +# $FreeBSD$ + +PORTNAME= mediawiki +PORTVERSION= 1.24.0 +CATEGORIES= www +MASTER_SITES= http://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/ +PKGNAMESUFFIX= 124 + +MAINTAINER= wen@FreeBSD.org +COMMENT= Wiki engine used by Wikipedia + +LICENSE= GPLv2 + +CONFLICTS= mediawiki119-[0-9]* mediawiki12[23]-[0-9]* + +USE_PHP= ctype iconv mbstring pcre session xml zlib readline dom json +WANT_PHP_WEB= yes +MEDIAWIKIDIR?= www/mediawiki + +NO_BUILD= yes +PLIST= ${WRKDIR}/plist + +OPTIONS_DEFINE= MYSQL PGSQL SQLITE LDAP MEMCACHED APC EACCEL XCACHE IMAGICK +OPTIONS_DEFAULT=MYSQL + +MEMCACHED_DESC= use memcached +APC_DESC= use pecl-APC(Mediawiki recommended) +EACCEL_DESC= use eAccelerator (instead of pecl-APC) +XCACHE_DESC= use xCache (instead of pecl-APC) +IMAGICK_DESC= use ImageMagick + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MMYSQL} +USE_MYSQL= client +USE_PHP+= mysql +.endif + +.if ${PORT_OPTIONS:MPGSQL} +USE_PHP+= pgsql +.endif + +.if ${PORT_OPTIONS:MSQLITE} +USE_PHP+= sqlite3 +.endif + +.if ${PORT_OPTIONS:MLDAP} +USE_PHP+= ldap +.endif + +.if ${PORT_OPTIONS:MMEMCACHED} +RUN_DEPENDS= memcached:${PORTSDIR}/databases/memcached +.endif + +.if ${PORT_OPTIONS:MIMAGICK} +RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/graphics/pecl-imagick +.endif + +.if ${PORT_OPTIONS:MAPC} +RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:${PORTSDIR}/www/pecl-APC +.elif ${PORT_OPTIONS:MEACCEL} +RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/eaccelerator.so:${PORTSDIR}/www/eaccelerator +.elif ${PORT_OPTIONS:MXCACHE} +RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xcache.so:${PORTSDIR}/www/xcache +.endif + +pre-install: + @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} + @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} + @${FIND} -s -d ${WRKSRC} -not -type d | ${SED} "s?${WRKSRC}?${MEDIAWIKIDIR}?g" >>${PLIST} + @${ECHO} @dir ${MEDIAWIKIDIR} >> ${PLIST} + @${ECHO_CMD} "@group" >> ${PLIST} + @${ECHO_CMD} "@owner" >> ${PLIST} + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR} + ${CP} -r ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR} + +post-install: + @${SED} -e 's|%%MEDIAWIKIDIR%%|${PREFIX}/${MEDIAWIKIDIR}|' ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/www/mediawiki124/distinfo b/www/mediawiki124/distinfo new file mode 100644 index 000000000000..194f228e1571 --- /dev/null +++ b/www/mediawiki124/distinfo @@ -0,0 +1,2 @@ +SHA256 (mediawiki-1.24.0.tar.gz) = da3aaa14adc631bab2017df6d01dad9655d15bf450a7f4ca6755d682656107b5 +SIZE (mediawiki-1.24.0.tar.gz) = 20726660 diff --git a/www/mediawiki124/pkg-descr b/www/mediawiki124/pkg-descr new file mode 100644 index 000000000000..dac83f83ccda --- /dev/null +++ b/www/mediawiki124/pkg-descr @@ -0,0 +1,6 @@ +MediaWiki is the collaborative editing software that runs Wikipedia, +the free encyclopedia, and other projects. +It's designed to handle a large number of users and pages without imposing +too rigid a structure or workflow. + +WWW: http://www.mediawiki.org/ diff --git a/www/mediawiki124/pkg-message b/www/mediawiki124/pkg-message new file mode 100644 index 000000000000..d98978fe6903 --- /dev/null +++ b/www/mediawiki124/pkg-message @@ -0,0 +1,11 @@ + + **** NOTE **** +Remember to check + +%%MEDIAWIKIDIR%%/INSTALL + +and + +%%MEDIAWIKIDIR%%/UPGRADE + +for details |