mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Repocopy www/mediawiki131 --> www/mediawiki132 and update to 1.32.0
This commit is contained in:
parent
2c18d2ad68
commit
d3f313f5b5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490225
@ -382,6 +382,7 @@
|
||||
SUBDIR += mediawiki127
|
||||
SUBDIR += mediawiki130
|
||||
SUBDIR += mediawiki131
|
||||
SUBDIR += mediawiki132
|
||||
SUBDIR += mergelog
|
||||
SUBDIR += mgstat
|
||||
SUBDIR += mhonarc
|
||||
|
65
www/mediawiki132/Makefile
Normal file
65
www/mediawiki132/Makefile
Normal file
@ -0,0 +1,65 @@
|
||||
# Created by: Gerrit Beine <tux@pinguru.net>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mediawiki
|
||||
PORTVERSION= 1.32.0
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/
|
||||
PKGNAMESUFFIX= 132${PHP_PKGNAMESUFFIX}
|
||||
|
||||
MAINTAINER= wen@FreeBSD.org
|
||||
COMMENT= Wiki engine used by Wikipedia
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
CONFLICTS= mediawiki127-[0-9]* mediawiki13[01]-[0-9]*
|
||||
|
||||
USES= php:flavors shebangfix
|
||||
SHEBANG_FILES= maintenance/dev/*.sh \
|
||||
maintenance/postgres/*.pl \
|
||||
maintenance/storage/make-blobs \
|
||||
includes/shell/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 fileinfo hash iconv intl json mbstring openssl pcre \
|
||||
readline session xml xmlreader zlib
|
||||
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_DEFAULT= MYSQL SOCKETS
|
||||
|
||||
MEMCACHED_DESC= Use memcached
|
||||
IMAGICK_DESC= Use ImageMagick
|
||||
SOCKETS_DESC= Use sockets
|
||||
|
||||
MYSQL_USE= mysql=client php=mysqli
|
||||
PGSQL_USE= php=pgsql
|
||||
SQLITE_USE= php=sqlite3
|
||||
LDAP_USE= php=ldap
|
||||
SOCKETS_USE= php=sockets
|
||||
|
||||
MEMCACHED_RUN_DEPENDS= memcached:databases/memcached
|
||||
IMAGICK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR}
|
||||
|
||||
pre-install:
|
||||
@${FIND} -s -d ${WRKSRC} -not -type d | ${SED} "s?${WRKSRC}?${MEDIAWIKIDIR}?g" >>${PLIST}
|
||||
@${ECHO} "@dir %%WWWDIR%%/cache" >> ${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>
|
3
www/mediawiki132/distinfo
Normal file
3
www/mediawiki132/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1547433998
|
||||
SHA256 (mediawiki-1.32.0.tar.gz) = d29b635dd41aea62bd05229c7c7942d4b0aa38aee457f8dc7302b6e59acb721b
|
||||
SIZE (mediawiki-1.32.0.tar.gz) = 36168475
|
11
www/mediawiki132/files/pkg-message.in
Normal file
11
www/mediawiki132/files/pkg-message.in
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
**** NOTE ****
|
||||
Remember to check
|
||||
|
||||
%%MEDIAWIKIDIR%%/INSTALL
|
||||
|
||||
and
|
||||
|
||||
%%MEDIAWIKIDIR%%/UPGRADE
|
||||
|
||||
for details
|
6
www/mediawiki132/pkg-descr
Normal file
6
www/mediawiki132/pkg-descr
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user