source: trunk/dports/www/wordpress/Portfile @ 58230

Last change on this file since 58230 was 58230, checked in by ryandesign@…, 11 years ago

rewrite mysql5 dependency so mysql5-devel can satisfy it

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 58230 2009-09-24 16:45:22Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    wordpress
6version                 2.7
7categories              www
8maintainers             nomaintainer
9description             A state-of-the-art semantic personal publishing platform
10long_description        WordPress is a state-of-the-art semantic personal publishing platform \
11                        with a focus on aesthetics, web standards, and usability.
12homepage                http://www.wordpress.org
13master_sites            ftp://ftp.stu.edu.tw/pub/wordpress/
14checksums               md5    a86a8780fa2d2af67d89b02e26cf0c7c \
15                        sha1   9f456767739a8632e662cc561a861d7cc4d72ab6 \
16                        rmd160 76075c2845e30bb10d26b219a87206b2db0b7da3
17platforms               darwin freebsd
18
19depends_lib             port:apache2 path:bin/php:php5 path:bin/mysql_config5:mysql5
20
21variant apache conflicts apache2 description {Use the 1.3 branch of the Apache server} {
22        depends_lib-append      port:apache
23        depends_lib-delete      port:apache2
24}
25
26variant php4 description {Use php4} {
27        depends_lib-append      port:php4
28        depends_lib-delete      path:bin/php:php5
29}
30
31variant mysql3 conflicts mysql4 description {Use MySQL 3} {
32        depends_lib-append      port:mysql3
33        depends_lib-delete      path:bin/mysql_config5:mysql5
34}
35
36variant mysql4 conflicts mysql3 description {Use MySQL 4} {
37        depends_lib-append      port:mysql4
38        depends_lib-delete      path:bin/mysql_config5:mysql5
39}
40
41set docpath ${destroot}${prefix}/www/data
42
43use_configure   no
44build                   {}
45
46destroot {
47        xinstall -d -m 0755 ${docpath}/wordpress
48        eval file copy [glob ${workpath}/wordpress/*] ${docpath}/wordpress
49}
Note: See TracBrowser for help on using the repository browser.