From owner-svn-ports-all@FreeBSD.ORG Wed Dec 5 08:37:54 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 311A29D1; Wed, 5 Dec 2012 08:37:54 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 0A6008FC08; Wed, 5 Dec 2012 08:37:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB58br3Q008713; Wed, 5 Dec 2012 08:37:53 GMT (envelope-from wen@svn.freebsd.org) Received: (from wen@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB58bqGa008701; Wed, 5 Dec 2012 08:37:52 GMT (envelope-from wen@svn.freebsd.org) Message-Id: <201212050837.qB58bqGa008701@svn.freebsd.org> From: Wen Heping Date: Wed, 5 Dec 2012 08:37:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308319 - in head/www: . mediawiki mediawiki118 mediawiki120 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 08:37:54 -0000 Author: wen Date: Wed Dec 5 08:37:52 2012 New Revision: 308319 URL: http://svnweb.freebsd.org/changeset/ports/308319 Log: - Add www/mediawiki120 for new version of mediawiki - Adjust CONFLICTS Feature safe: yes Added: head/www/mediawiki120/ head/www/mediawiki120/Makefile (contents, props changed) head/www/mediawiki120/distinfo (contents, props changed) head/www/mediawiki120/pkg-descr (contents, props changed) head/www/mediawiki120/pkg-message (contents, props changed) Modified: head/www/Makefile head/www/mediawiki/Makefile head/www/mediawiki118/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Wed Dec 5 08:17:44 2012 (r308318) +++ head/www/Makefile Wed Dec 5 08:37:52 2012 (r308319) @@ -428,6 +428,7 @@ SUBDIR += mawstats SUBDIR += mediawiki SUBDIR += mediawiki118 + SUBDIR += mediawiki120 SUBDIR += mergelog SUBDIR += metacafe_dl SUBDIR += mgstat Modified: head/www/mediawiki/Makefile ============================================================================== --- head/www/mediawiki/Makefile Wed Dec 5 08:17:44 2012 (r308318) +++ head/www/mediawiki/Makefile Wed Dec 5 08:37:52 2012 (r308319) @@ -12,7 +12,7 @@ COMMENT= The wiki engine used by Wikiped LICENSE= GPLv2 -CONFLICTS= mediawiki-1.1[0-8].* +CONFLICTS= mediawiki-1.1[0-8].* mediawiki-1.2[0-9].* FETCH_ARGS= -pr USE_PHP= ctype iconv mbstring pcre session xml zlib readline dom Modified: head/www/mediawiki118/Makefile ============================================================================== --- head/www/mediawiki118/Makefile Wed Dec 5 08:17:44 2012 (r308318) +++ head/www/mediawiki118/Makefile Wed Dec 5 08:37:52 2012 (r308319) @@ -13,7 +13,7 @@ MASTER_SITES= http://dumps.wikimedia.org MAINTAINER= wen@FreeBSD.org COMMENT= The wiki engine used by Wikipedia -CONFLICTS= mediawiki-1.19.* +CONFLICTS= mediawiki-1.19.* mediawiki-1.2[0-9].* FETCH_ARGS= -pr NO_LATEST_LINK= yes Added: head/www/mediawiki120/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mediawiki120/Makefile Wed Dec 5 08:37:52 2012 (r308319) @@ -0,0 +1,80 @@ +# Created by: Gerrit Beine +# $FreeBSD$ + +PORTNAME= mediawiki +PORTVERSION= 1.20.2 +CATEGORIES= www +MASTER_SITES= http://dumps.wikimedia.org/mediawiki/${PORTVERSION:R}/ + +MAINTAINER= wen@FreeBSD.org +COMMENT= The wiki engine used by Wikipedia + +LICENSE= GPLv2 + +CONFLICTS= mediawiki-1.1[0-9].* + +FETCH_ARGS= -pr +USE_PHP= ctype iconv mbstring pcre session xml zlib readline dom +IGNORE_WITH_PHP=4 +WANT_PHP_WEB= yes +MEDIAWIKIDIR?= www/mediawiki + +NO_BUILD= yes + +OPTIONS_DEFINE= MYSQL PGSQL SQLITE LDAP MEMCACHED APC EACCEL XCACHE IMAGICK +OPTIONS_DEFAULT=MYSQL APC + +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 + +.if ${PORT_OPTIONS:MMYSQL} +USE_MYSQL= server +USE_PHP+= mysql +.endif + +.if ${PORT_OPTIONS:MPGSQL} +USE_PHP+= pgsql +.endif + +.if ${PORT_OPTIONS:MSQLITE} +USE_PHP+= sqlite +.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 + +do-install: + @${MKDIR} ${PREFIX}/${MEDIAWIKIDIR} + ${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR} + ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MEDIAWIKIDIR} + +post-install: + @${FIND} ${WRKSRC}/${file} -not -type d \ + | ${SED} -ne 's,^${WRKSRC},${MEDIAWIKIDIR},p' >> ${TMPPLIST} + @${FIND} -d ${WRKSRC}/${file} -type d \ + | ${SED} -ne 's,^${WRKSRC},@dirrm ${MEDIAWIKIDIR},p' >> ${TMPPLIST} + @${SED} -e 's|%%MEDIAWIKIDIR%%|${PREFIX}/${MEDIAWIKIDIR}|' ${PKGMESSAGE} + +.include Added: head/www/mediawiki120/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mediawiki120/distinfo Wed Dec 5 08:37:52 2012 (r308319) @@ -0,0 +1,2 @@ +SHA256 (mediawiki-1.20.2.tar.gz) = ac29b11a297f556765210e65d5d5ad6b0f55055e345d2f3deba0f29853507a31 +SIZE (mediawiki-1.20.2.tar.gz) = 18301262 Added: head/www/mediawiki120/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mediawiki120/pkg-descr Wed Dec 5 08:37:52 2012 (r308319) @@ -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/ Added: head/www/mediawiki120/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mediawiki120/pkg-message Wed Dec 5 08:37:52 2012 (r308319) @@ -0,0 +1,11 @@ + + **** NOTE **** +Remember to check + +%%MEDIAWIKIDIR%%/INSTALL + +and + +%%MEDIAWIKIDIR%%/UPGRADE + +for details