aboutsummaryrefslogtreecommitdiff
path: root/www/mediawiki116/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mediawiki116/Makefile')
-rw-r--r--www/mediawiki116/Makefile27
1 files changed, 4 insertions, 23 deletions
diff --git a/www/mediawiki116/Makefile b/www/mediawiki116/Makefile
index 3b3aa99b726f..b036c13c51cf 100644
--- a/www/mediawiki116/Makefile
+++ b/www/mediawiki116/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mediawiki
-PORTVERSION= 1.3.12
+PORTVERSION= 1.4.0
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= wikipedia
@@ -14,32 +14,13 @@ MASTER_SITE_SUBDIR= wikipedia
MAINTAINER= tux@pinguru.net
COMMENT= The wiki enginge used by Wikipedia
+CONFLICTS= mediawiki-1.3.*
+
NO_BUILD= yes
-USE_PHP= iconv mbstring pcre session xml zlib imagick readline
+USE_PHP= mysql session zlib
WANT_PHP_WEB= yes
MEDIAWIKIDIR?= www/data-dist/mediawiki
-OPTIONS= PGSQL "Use PostgreSQL instead of MySQL" off \
- LDAP "Use LDAP authentication" off
-
-PORT_DBDIR?= /var/db/ports
-LATEST_LINK= ${PORTNAME}
-OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
-
-.if exists(${OPTIONSFILE})
-.include "${OPTIONSFILE}"
-.endif
-
-.if defined(WITH_PGSQL)
-USE_PHP+= pgsql
-.else
-USE_PHP+= mysql
-.endif
-
-.if defined(WITH_LDAP)
-USE_PHP+= ldap
-.endif
-
do-install:
-${MKDIR} ${PREFIX}/${MEDIAWIKIDIR}
@${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR}