mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
- Foce commit
Repocopy from www/mediawiki12 to www/mediawiki112
This commit is contained in:
parent
c56053a8a9
commit
b25b454f0c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239904
@ -1,82 +0,0 @@
|
||||
# New ports collection makefile for: www/mediawiki
|
||||
# Date created: February 1st 2005
|
||||
# Whom: Gerrit Beine <tux@pinguru.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mediawiki
|
||||
PORTVERSION= 1.12.4
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://download.wikimedia.org/mediawiki/1.12/
|
||||
|
||||
MAINTAINER= gerrit.beine@gmx.de
|
||||
COMMENT= The wiki engine used by Wikipedia
|
||||
|
||||
CONFLICTS= mediawiki-1.[0-9].* mediawiki-1.1[0-13-9].*
|
||||
NO_LATEST_LINK= yes
|
||||
|
||||
USE_PHP= iconv mbstring pcre session xml zlib readline dom
|
||||
IGNORE_WITH_PHP= 4
|
||||
WANT_PHP_WEB= yes
|
||||
MEDIAWIKIDIR?= www/mediawiki
|
||||
|
||||
OPTIONS= PGSQL "Use PostgreSQL (instead of MySQL)" off \
|
||||
LDAP "Use LDAP authentication" off \
|
||||
TEXVC "Use built-in TeX rendering" off \
|
||||
APC "Use pecl-APC" on \
|
||||
EACCEL "Use eAccelerator (instead of pecl-APC)" off \
|
||||
IMAGICK "Use ImageMagick" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_PGSQL)
|
||||
USE_PHP+= pgsql
|
||||
.else
|
||||
IGNORE_WITH_MYSQL= 323
|
||||
USE_MYSQL= yes
|
||||
USE_PHP+= mysql
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LDAP)
|
||||
USE_PHP+= ldap
|
||||
.endif
|
||||
|
||||
.if defined(WITH_TEXVC)
|
||||
RUN_DEPENDS+= latex:${PORTSDIR}/print/latex
|
||||
BUILD_DEPENDS+= ocaml:${PORTSDIR}/lang/ocaml
|
||||
|
||||
USE_GMAKE=yes
|
||||
WITH_IMAGICK=yes
|
||||
.endif
|
||||
|
||||
.if defined(WITH_IMAGICK)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/graphics/pecl-imagick
|
||||
.endif
|
||||
|
||||
.if defined(WITH_APC) || defined(WITH_EACCEL)
|
||||
.if defined(WITH_EACCEL)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/eaccelerator.so:${PORTSDIR}/www/eaccelerator
|
||||
.else
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:${PORTSDIR}/www/pecl-APC
|
||||
.endif
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
.if defined(WITH_TEXVC)
|
||||
@(cd ${WRKSRC}/math && ${GMAKE})
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/${MEDIAWIKIDIR}
|
||||
${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR}
|
||||
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MEDIAWIKIDIR}
|
||||
|
||||
post-install:
|
||||
@${FIND} ${WRKSRC}/${file} -not -type d \
|
||||
| ${SED} -ne 's,^${WRKSRC},${MEDIAWIKIDIR},p' >> ${TMPPLIST}
|
||||
@${FIND} -d ${WRKSRC}/${file} -type d \
|
||||
| ${SED} -ne 's,^${WRKSRC},@dirrm ${MEDIAWIKIDIR},p' >> ${TMPPLIST}
|
||||
@${SED} -e 's|%%MEDIAWIKIDIR%%|${PREFIX}/${MEDIAWIKIDIR}|' ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (mediawiki-1.12.4.tar.gz) = 158e31f630e76e038727d5165b66ef2d
|
||||
SHA256 (mediawiki-1.12.4.tar.gz) = e4a706b8467c82ec75d1e86637eb2cba69020ae37b1ba9a6533401615db53be7
|
||||
SIZE (mediawiki-1.12.4.tar.gz) = 8477402
|
@ -1,11 +0,0 @@
|
||||
--- config/index.php.orig Sat Oct 14 02:06:36 2006
|
||||
+++ config/index.php Sun Dec 3 16:18:18 2006
|
||||
@@ -434,7 +434,7 @@
|
||||
$diff3locations = array( "/usr/bin", "/usr/local/bin", "/opt/csw/bin", "/usr/gnu/bin", "/usr/sfw/bin" ) + explode( $sep, getenv( "PATH" ) );
|
||||
$diff3names = array( "gdiff3", "diff3", "diff3.exe" );
|
||||
|
||||
-$diff3versioninfo = array( '$1 --version 2>&1', 'diff3 (GNU diffutils)' );
|
||||
+$diff3versioninfo = array('$1 --version 2>&1', 'diff3 - GNU diffutils');
|
||||
foreach ($diff3locations as $loc) {
|
||||
$exe = locate_executable($loc, $diff3names, $diff3versioninfo);
|
||||
if ($exe !== false) {
|
@ -1,6 +0,0 @@
|
||||
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/
|
@ -1,11 +0,0 @@
|
||||
|
||||
**** NOTE ****
|
||||
Remember to check
|
||||
|
||||
%%MEDIAWIKIDIR%%/INSTALL
|
||||
|
||||
and
|
||||
|
||||
%%MEDIAWIKIDIR%%/UPGRADE
|
||||
|
||||
for details
|
Loading…
Reference in New Issue
Block a user