1 | # $Id: Portfile,v 1.5 2005/09/30 18:05:16 toby Exp $ |
---|
2 | PortSystem 1.0 |
---|
3 | |
---|
4 | name wordpress |
---|
5 | version 1.5.2 |
---|
6 | categories www |
---|
7 | maintainers joe@netmusician.org |
---|
8 | description A state-of-the-art semantic personal publishing platform |
---|
9 | long_description WordPress is a state-of-the-art semantic personal publishing platform \ |
---|
10 | with a focus on aesthetics, web standards, and usability. |
---|
11 | homepage http://www.wordpress.org |
---|
12 | master_sites http://wordpress.org |
---|
13 | distname latest |
---|
14 | checksums md5 680e6381c8111f555a2c7066ddafd575 |
---|
15 | platforms darwin freebsd |
---|
16 | |
---|
17 | default_variants +apache +mysql4 +php4 |
---|
18 | |
---|
19 | variant apache conflicts apache2 { |
---|
20 | depends_lib-append port:apache |
---|
21 | } |
---|
22 | |
---|
23 | variant apache2 conflicts apache { |
---|
24 | depends_lib-append port:apache2 |
---|
25 | } |
---|
26 | |
---|
27 | variant php4 conflicts php5 { |
---|
28 | depends_lib-append port:php4 |
---|
29 | } |
---|
30 | |
---|
31 | variant php5 conflicts php4 { |
---|
32 | depends_lib-append port:php5 |
---|
33 | } |
---|
34 | |
---|
35 | variant mysql conflicts mysql4 { |
---|
36 | depends_lib-append port:mysql |
---|
37 | } |
---|
38 | |
---|
39 | variant mysql4 conflicts mysql { |
---|
40 | depends_lib-append port:mysql4 |
---|
41 | } |
---|
42 | |
---|
43 | set docpath ${destroot}${prefix}/www/data |
---|
44 | |
---|
45 | use_configure no |
---|
46 | configure {} |
---|
47 | build {} |
---|
48 | |
---|
49 | destroot { |
---|
50 | xinstall -d -m 0755 ${docpath}/wordpress |
---|
51 | eval file copy [glob ${workpath}/wordpress/*] ${docpath}/wordpress |
---|
52 | } |
---|
53 | |
---|
54 | |
---|