diff options
author | rafan <rafan@FreeBSD.org> | 2008-03-10 21:14:00 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2008-03-10 21:14:00 +0800 |
commit | adca4d27e404c1849acd20d062a1fb645116aede (patch) | |
tree | 3f96155d408448f68a921111478e7f82d71c9db8 /www/mediawiki110/Makefile | |
parent | 8c5097cac85b512d72dc7893488a51cb08496edd (diff) | |
download | freebsd-ports-gnome-adca4d27e404c1849acd20d062a1fb645116aede.tar.gz freebsd-ports-gnome-adca4d27e404c1849acd20d062a1fb645116aede.tar.zst freebsd-ports-gnome-adca4d27e404c1849acd20d062a1fb645116aede.zip |
- Update to 1.10.4
- Fix WITH_PGSQL
- Add IMAGICK option
PR: ports/121509
Submitted by: Gerrit Beine <gerrit.beine at gmx.de> (maintainer)
Diffstat (limited to 'www/mediawiki110/Makefile')
-rw-r--r-- | www/mediawiki110/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/www/mediawiki110/Makefile b/www/mediawiki110/Makefile index ee5773b1ef7a..74df88266ca8 100644 --- a/www/mediawiki110/Makefile +++ b/www/mediawiki110/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mediawiki -PORTVERSION= 1.10.3 +PORTVERSION= 1.10.4 CATEGORIES= www MASTER_SITES= http://download.wikimedia.org/mediawiki/1.10/ @@ -16,21 +16,22 @@ COMMENT= The wiki engine used by Wikipedia CONFLICTS= mediawiki-1.[0-9].* mediawiki-1.1[1-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} |