mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Repocopy www/mediawiki132 --> www/mediawiki133 and update to 1.33.0
This commit is contained in:
parent
07c44bc8a5
commit
8d505b1bb7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505944
@ -339,6 +339,7 @@
|
||||
SUBDIR += mattermost-webapp
|
||||
SUBDIR += mediawiki131
|
||||
SUBDIR += mediawiki132
|
||||
SUBDIR += mediawiki133
|
||||
SUBDIR += mergelog
|
||||
SUBDIR += mgstat
|
||||
SUBDIR += mhonarc
|
||||
|
69
www/mediawiki133/Makefile
Normal file
69
www/mediawiki133/Makefile
Normal file
@ -0,0 +1,69 @@
|
||||
# Created by: Gerrit Beine <tux@pinguru.net>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mediawiki
|
||||
PORTVERSION= 1.33.0
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/
|
||||
PKGNAMESUFFIX= 133${PHP_PKGNAMESUFFIX}
|
||||
|
||||
MAINTAINER= wen@FreeBSD.org
|
||||
COMMENT= Wiki engine used by Wikipedia
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
CONFLICTS= mediawiki131-[0-9]* mediawiki132-[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_CMD} "@owner ${WWWOWN}" >> ${PLIST}
|
||||
@${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST}
|
||||
@${ECHO} "@mode 0755" >> ${PLIST}
|
||||
@${ECHO} "@dir %%WWWDIR%%/images" >> ${PLIST}
|
||||
@${ECHO} "@mode" >> ${PLIST}
|
||||
@${ECHO_CMD} "@owner" >> ${PLIST}
|
||||
@${ECHO_CMD} "@group" >> ${PLIST}
|
||||
@${ECHO} @dir ${MEDIAWIKIDIR} >> ${PLIST}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR}
|
||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/mediawiki133/distinfo
Normal file
3
www/mediawiki133/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1562338139
|
||||
SHA256 (mediawiki-1.33.0.tar.gz) = 8335a2d8740c5dd5919a480b74c3d8e19f23a68b396df48c2d77646272fdcd67
|
||||
SIZE (mediawiki-1.33.0.tar.gz) = 37861409
|
11
www/mediawiki133/files/pkg-message.in
Normal file
11
www/mediawiki133/files/pkg-message.in
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
**** NOTE ****
|
||||
Remember to check
|
||||
|
||||
%%MEDIAWIKIDIR%%/INSTALL
|
||||
|
||||
and
|
||||
|
||||
%%MEDIAWIKIDIR%%/UPGRADE
|
||||
|
||||
for details
|
6
www/mediawiki133/pkg-descr
Normal file
6
www/mediawiki133/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