-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
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
committed
Oct 7, 2005
1 parent
e99e332
commit 5a4139a
Showing
1 changed file
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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 | |||
} |