1 | # $Id: Portfile 30257 2007-10-23 02:28:30Z jmpp@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name mediawiki |
---|
6 | version 1.11 |
---|
7 | epoch 0 |
---|
8 | categories www php |
---|
9 | maintainers nomaintainer |
---|
10 | description The wiki engine used by Wikipedia |
---|
11 | long_description MediaWiki is the collaborative editing software that runs Wikipedia, \ |
---|
12 | the free encyclopedia, and other projects. It's designed to \ |
---|
13 | handle a large number of users and pages without imposing too \ |
---|
14 | rigid a structure or workflow. |
---|
15 | |
---|
16 | homepage http://www.mediawiki.org |
---|
17 | distname mediawiki-${version}.${epoch} |
---|
18 | master_sites http://download.wikimedia.org/mediawiki/${version} |
---|
19 | checksums md5 cea9d039d904f7f27b2280557a0bfe92 |
---|
20 | platforms darwin freebsd |
---|
21 | |
---|
22 | depends_run \ |
---|
23 | port:libiconv \ |
---|
24 | port:jpeg \ |
---|
25 | port:jasper \ |
---|
26 | port:tiff \ |
---|
27 | port:lcms \ |
---|
28 | port:libpng \ |
---|
29 | port:freetype \ |
---|
30 | port:libxml2 \ |
---|
31 | port:jbigkit \ |
---|
32 | port:expat \ |
---|
33 | port:fontconfig \ |
---|
34 | port:ghostscript \ |
---|
35 | port:ImageMagick \ |
---|
36 | port:pkgconfig \ |
---|
37 | port:aspell |
---|
38 | |
---|
39 | depends_lib \ |
---|
40 | port:php5 \ |
---|
41 | port:mysql5 |
---|
42 | |
---|
43 | variant php4 { |
---|
44 | depends_lib-append port:php4 |
---|
45 | depends_lib-delete port:php5 |
---|
46 | } |
---|
47 | |
---|
48 | variant mysql4 conflicts mysql3 { |
---|
49 | depends_lib-append port:mysql4 |
---|
50 | depends_lib-delete port:mysql5 |
---|
51 | } |
---|
52 | |
---|
53 | use_configure no |
---|
54 | build {} |
---|
55 | |
---|
56 | set docpath ${destroot}${prefix}/www/data |
---|
57 | |
---|
58 | destroot { |
---|
59 | xinstall -d -m 0755 ${docpath}/mediawiki |
---|
60 | eval file copy [glob ${worksrcpath}/*] ${docpath}/mediawiki |
---|
61 | } |
---|