Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2014 03:08:32 +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: r348753 - head/www/mediawiki122
Message-ID:  <201403220308.s2M38W6u061973@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Sat Mar 22 03:08:31 2014
New Revision: 348753
URL: http://svnweb.freebsd.org/changeset/ports/348753
QAT: https://qat.redports.org/buildarchive/r348753/

Log:
  - Repocopy www/mediawiki121 --> www/mediawiki122

Added:
  head/www/mediawiki122/
     - copied from r348749, head/www/mediawiki121/
Replaced:
  head/www/mediawiki122/Makefile
     - copied unchanged from r348751, head/www/mediawiki121/Makefile
  head/www/mediawiki122/distinfo
     - copied unchanged from r348751, head/www/mediawiki121/distinfo

Copied: head/www/mediawiki122/Makefile (from r348751, head/www/mediawiki121/Makefile)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mediawiki122/Makefile	Sat Mar 22 03:08:31 2014	(r348753, copy of r348751, head/www/mediawiki121/Makefile)
@@ -0,0 +1,79 @@
+# Created by: Gerrit Beine <tux@pinguru.net>
+# $FreeBSD$
+
+PORTNAME=	mediawiki
+PORTVERSION=	1.21.7
+CATEGORIES=	www
+MASTER_SITES=	http://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/
+PKGNAMESUFFIX=	121
+
+MAINTAINER=	wen@FreeBSD.org
+COMMENT=	The wiki engine used by Wikipedia
+
+LICENSE=	GPLv2
+
+CONFLICTS=	mediawiki119-* mediawiki12[02-9]-*
+
+USE_PHP=	ctype iconv mbstring pcre session xml zlib readline dom
+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 <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
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR}
+	${CP} -r ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR}
+	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${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 <bsd.port.mk>

Copied: head/www/mediawiki122/distinfo (from r348751, head/www/mediawiki121/distinfo)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mediawiki122/distinfo	Sat Mar 22 03:08:31 2014	(r348753, copy of r348751, head/www/mediawiki121/distinfo)
@@ -0,0 +1,2 @@
+SHA256 (mediawiki-1.21.7.tar.gz) = df2d80597d93f61c2635480131e061acdee57c0ef7c476b827162fbf7c5b281d
+SIZE (mediawiki-1.21.7.tar.gz) = 19784466



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403220308.s2M38W6u061973>