aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2015-11-30 15:36:35 +0800
committerwen <wen@FreeBSD.org>2015-11-30 15:36:35 +0800
commit3839ccd2e410db205c22987078322982d6532068 (patch)
tree9b7c4cd6599051c3e88b983c5e2c5262d443174a /www
parent8a01dd833994b0cd1852bc71c1214894f0cf5ded (diff)
downloadfreebsd-ports-gnome-3839ccd2e410db205c22987078322982d6532068.tar.gz
freebsd-ports-gnome-3839ccd2e410db205c22987078322982d6532068.tar.zst
freebsd-ports-gnome-3839ccd2e410db205c22987078322982d6532068.zip
- Repocopy mediawiki125 --> mediawiki126 and update
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/mediawiki126/Makefile73
-rw-r--r--www/mediawiki126/distinfo2
-rw-r--r--www/mediawiki126/files/pkg-message.in11
-rw-r--r--www/mediawiki126/pkg-descr6
5 files changed, 93 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 903bd979eecb..20f9606bf121 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -421,6 +421,7 @@
SUBDIR += mediawiki123
SUBDIR += mediawiki124
SUBDIR += mediawiki125
+ SUBDIR += mediawiki126
SUBDIR += mergelog
SUBDIR += mgstat
SUBDIR += mhonarc
diff --git a/www/mediawiki126/Makefile b/www/mediawiki126/Makefile
new file mode 100644
index 000000000000..12596c094335
--- /dev/null
+++ b/www/mediawiki126/Makefile
@@ -0,0 +1,73 @@
+# Created by: Gerrit Beine <tux@pinguru.net>
+# $FreeBSD$
+
+PORTNAME= mediawiki
+PORTVERSION= 1.26.0
+CATEGORIES= www
+MASTER_SITES= http://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/
+PKGNAMESUFFIX= 126
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= Wiki engine used by Wikipedia
+
+LICENSE= GPLv2
+
+CONFLICTS= mediawiki12[345]-[0-9]*
+
+USES= shebangfix
+SHEBANG_FILES= maintenance/dev/*.sh \
+ maintenance/hiphop/run-server \
+ maintenance/postgres/*.pl \
+ maintenance/storage/make-blobs \
+ includes/limit.sh
+SHEBANG_LANG= hhvm
+hhvm_OLD_CMD= /usr/bin/hhvm
+hhvm_CMD= ${LOCALBASE}/bin/hhvm # not installed by anything yet
+USE_PHP= ctype dom hash iconv json mbstring pcre readline \
+ session xml xmlreader zlib
+WANT_PHP_WEB= yes
+MEDIAWIKIDIR?= www/mediawiki
+
+NO_BUILD= yes
+PLIST= ${WRKDIR}/plist
+
+SUB_FILES= pkg-message
+SUB_LIST= MEDIAWIKIDIR=${PREFIX}/${MEDIAWIKIDIR}
+
+OPTIONS_DEFINE= LDAP MEMCACHED IMAGICK SOCKETS
+OPTIONS_SINGLE= DB
+OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE
+OPTIONS_RADIO= ACCEL
+OPTIONS_RADIO_ACCEL= APC XCACHE
+OPTIONS_DEFAULT= MYSQL SOCKETS
+
+MEMCACHED_DESC= Use memcached
+APC_DESC= Use pecl-APC (Mediawiki recommended)
+XCACHE_DESC= Use xCache (instead of pecl-APC)
+IMAGICK_DESC= Use ImageMagick
+SOCKETS_DESC= Use sockets
+
+MYSQL_USE= mysql=client php=mysql
+PGSQL_USE= php=pgsql
+SQLITE_USE= php=sqlite3
+LDAP_USE= php=ldap
+SOCKETS_USE= php=sockets
+
+MEMCACHED_RUN_DEPENDS= memcached:${PORTSDIR}/databases/memcached
+IMAGICK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/graphics/pecl-imagick
+APC_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:${PORTSDIR}/www/pecl-APC
+XCACHE_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xcache.so:${PORTSDIR}/www/xcache
+
+pre-install:
+ @${FIND} -s -d ${WRKSRC} -not -type d | ${SED} "s?${WRKSRC}?${MEDIAWIKIDIR}?g" >>${PLIST}
+ @${ECHO} "@dir %%WWWDIR%%/vendor/monolog/monolog/tests/Monolog/Handler/Fixtures" >> ${PLIST}
+ @${ECHO} "@mode 0777" >> ${PLIST}
+ @${ECHO} "@dir %%WWWDIR%%/images" >> ${PLIST}
+ @${ECHO} "@mode" >> ${PLIST}
+ @${ECHO} @dir ${MEDIAWIKIDIR} >> ${PLIST}
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR}
+
+.include <bsd.port.mk>
diff --git a/www/mediawiki126/distinfo b/www/mediawiki126/distinfo
new file mode 100644
index 000000000000..998349782cd0
--- /dev/null
+++ b/www/mediawiki126/distinfo
@@ -0,0 +1,2 @@
+SHA256 (mediawiki-1.26.0.tar.gz) = 9179790880f296dde6325b3f591883df54f55c9828ed9693eec56b0c0e8db967
+SIZE (mediawiki-1.26.0.tar.gz) = 25174530
diff --git a/www/mediawiki126/files/pkg-message.in b/www/mediawiki126/files/pkg-message.in
new file mode 100644
index 000000000000..d98978fe6903
--- /dev/null
+++ b/www/mediawiki126/files/pkg-message.in
@@ -0,0 +1,11 @@
+
+ **** NOTE ****
+Remember to check
+
+%%MEDIAWIKIDIR%%/INSTALL
+
+and
+
+%%MEDIAWIKIDIR%%/UPGRADE
+
+for details
diff --git a/www/mediawiki126/pkg-descr b/www/mediawiki126/pkg-descr
new file mode 100644
index 000000000000..dac83f83ccda
--- /dev/null
+++ b/www/mediawiki126/pkg-descr
@@ -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/