1 | # $Id: Portfile,v 1.3 2005/02/28 22:26:40 rshaw Exp $ |
---|
2 | PortSystem 1.0 |
---|
3 | |
---|
4 | name mediawiki |
---|
5 | version 1.4.10 |
---|
6 | categories www |
---|
7 | maintainers joe@netmusician.org |
---|
8 | description The wiki engine used by Wikipedia |
---|
9 | long_description MediaWiki is the collaborative editing software that runs Wikipedia, \ |
---|
10 | the free encyclopedia, and other projects. It's designed to \ |
---|
11 | handle a large number of users and pages without imposing too \ |
---|
12 | rigid a structure or workflow. |
---|
13 | |
---|
14 | homepage http://www.mediawiki.org |
---|
15 | master_sites sourceforge:wikipedia |
---|
16 | distname mediawiki-${version} |
---|
17 | checksums md5 2376f043109066d19830d05b6682c64b |
---|
18 | platforms darwin freebsd |
---|
19 | |
---|
20 | depends_run port:libiconv \ |
---|
21 | port:jpeg \ |
---|
22 | port:jasper \ |
---|
23 | port:tiff \ |
---|
24 | port:lcms \ |
---|
25 | port:libpng \ |
---|
26 | port:freetype \ |
---|
27 | port:libxml2 \ |
---|
28 | port:jbigkit \ |
---|
29 | port:expat \ |
---|
30 | port:fontconfig \ |
---|
31 | port:gnughostscript \ |
---|
32 | port:ImageMagick \ |
---|
33 | port:pkgconfig |
---|
34 | |
---|
35 | default_variants +mysql4 +apache +php4 |
---|
36 | |
---|
37 | variant apache conflicts apache2 { |
---|
38 | depends_lib-append port:apache |
---|
39 | } |
---|
40 | |
---|
41 | variant apache2 conflicts apache { |
---|
42 | depends_lib-append port:apache2 |
---|
43 | } |
---|
44 | |
---|
45 | variant php4 conflicts php5 { |
---|
46 | depends_lib-append port:php4 |
---|
47 | } |
---|
48 | |
---|
49 | variant php5 conflicts php4 { |
---|
50 | depends_lib-append port:php5 |
---|
51 | } |
---|
52 | |
---|
53 | variant mysql conflicts mysql4 { |
---|
54 | depends_lib-append port:mysql |
---|
55 | } |
---|
56 | |
---|
57 | variant mysql4 conflicts mysql { |
---|
58 | depends_lib-append port:mysql4 |
---|
59 | } |
---|
60 | |
---|
61 | use_configure no |
---|
62 | configure {} |
---|
63 | build {} |
---|
64 | |
---|
65 | set docpath ${destroot}${prefix}/www/data |
---|
66 | |
---|
67 | destroot { |
---|
68 | xinstall -d -m 0755 ${docpath}/mediawiki |
---|
69 | eval file copy [glob ${worksrcpath}/*] ${docpath}/mediawiki |
---|
70 | } |
---|