- Update to 1.9.6

- Fix WITH_PGSQL
- Add IMAGICK option

PR:		ports/121510
Submitted by:	Gerrit Beine <gerrit.beine at gmx.de> (maintainer)
This commit is contained in:
Rong-En Fan 2008-03-10 13:14:56 +00:00
parent c6e222231d
commit 7cf3872ec9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208725
2 changed files with 13 additions and 8 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= mediawiki
PORTVERSION= 1.9.5
PORTVERSION= 1.9.6
CATEGORIES= www
MASTER_SITES= http://download.wikimedia.org/mediawiki/1.9/
@ -16,21 +16,22 @@ COMMENT= The wiki engine used by Wikipedia
CONFLICTS= mediawiki-1.[0-8].* mediawiki-1.1[0-9].*
NO_BUILD= yes
USE_MYSQL= yes
IGNORE_WITH_MYSQL= 323
USE_PHP= iconv mbstring pcre session xml zlib readline
IGNORE_WITH_PHP= 4
WANT_PHP_WEB= yes
MEDIAWIKIDIR?= www/mediawiki
OPTIONS= PGSQL "Use PostgreSQL instead of MySQL (not funtional)" off \
LDAP "Use LDAP authentication" off
OPTIONS= PGSQL "Use PostgreSQL instead of MySQL" off \
LDAP "Use LDAP authentication" off \
IMAGICK "Use ImageMagick" off
.include <bsd.port.pre.mk>
.if defined(WITH_PGSQL)
USE_PHP+= pgsql
.else
USE_MYSQL= yes
IGNORE_WITH_MYSQL= 323
USE_PHP+= mysql
.endif
@ -38,6 +39,10 @@ USE_PHP+= mysql
USE_PHP+= ldap
.endif
.if defined(WITH_IMAGICK)
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/graphics/pecl-imagick
.endif
do-install:
@${MKDIR} ${PREFIX}/${MEDIAWIKIDIR}
${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR}

View file

@ -1,3 +1,3 @@
MD5 (mediawiki-1.9.5.tar.gz) = e5e798b400c955a519c65efab8d25192
SHA256 (mediawiki-1.9.5.tar.gz) = ad83892dc59053e19c97c2f3059643d29c9bccc1c04dc10d1189e9e5bee07fb8
SIZE (mediawiki-1.9.5.tar.gz) = 3865465
MD5 (mediawiki-1.9.6.tar.gz) = d7e49bc59c072b339495ece7ee3dd053
SHA256 (mediawiki-1.9.6.tar.gz) = 21a01251cddf9dd4ac723fe03e7d054c66932b2da16fde4da6ef2279c384a1fa
SIZE (mediawiki-1.9.6.tar.gz) = 3860333