Ticket #5297: Portfile

File Portfile, 1.2 KB (added by joe@…, 19 years ago)

Wordpress 1.5.2 Portfile

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