Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/5030

Submitted by:   joe@netmusician.org
Reviewed by:    mww@

new port www/mediawiki

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@14457 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Oct 7, 2005
1 parent e99e332 commit 5a4139a8a576678bda0e1a25dd5ebac5570b02bc
Showing with 69 additions and 0 deletions.
  1. +69 −0 www/mediawiki/Portfile
@@ -0,0 +1,69 @@
# $Id: Portfile,v 1.1 2005/10/07 05:36:25 mww Exp $
PortSystem 1.0

name mediawiki
version 1.4.10
categories www
maintainers joe@netmusician.org
description The wiki engine used by Wikipedia
long_description 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.

homepage http://www.mediawiki.org
master_sites sourceforge:wikipedia
distname mediawiki-${version}
checksums md5 2376f043109066d19830d05b6682c64b
platforms darwin freebsd

depends_run port:libiconv \
port:jpeg \
port:jasper \
port:tiff \
port:lcms \
port:libpng \
port:freetype \
port:libxml2 \
port:jbigkit \
port:expat \
port:fontconfig \
port:gnughostscript \
port:ImageMagick \
port:pkgconfig

default_variants +mysql4 +apache +php4

variant apache conflicts apache2 {
depends_lib-append port:apache
}

variant apache2 conflicts apache {
depends_lib-append port:apache2
}

variant php4 conflicts php5 {
depends_lib-append port:php4
}

variant php5 conflicts php4 {
depends_lib-append port:php5
}

variant mysql conflicts mysql4 {
depends_lib-append port:mysql
}

variant mysql4 conflicts mysql {
depends_lib-append port:mysql4
}

use_configure no
build {}

set docpath ${destroot}${prefix}/www/data

destroot {
xinstall -d -m 0755 ${docpath}/mediawiki
eval file copy [glob ${worksrcpath}/*] ${docpath}/mediawiki
}

0 comments on commit 5a4139a

Please sign in to comment.
You can’t perform that action at this time.