[58285] trunk/dports/www/wordpress/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Sep 24 21:34:54 PDT 2009
Revision: 58285
http://trac.macports.org/changeset/58285
Author: ryandesign at macports.org
Date: 2009-09-24 21:34:51 -0700 (Thu, 24 Sep 2009)
Log Message:
-----------
wordpress: update to 2.8.4, fetch from official site, simplify destroot, change install location, remove all variants, depend on php5-web and php5-mysql ports now
Modified Paths:
--------------
trunk/dports/www/wordpress/Portfile
Modified: trunk/dports/www/wordpress/Portfile
===================================================================
--- trunk/dports/www/wordpress/Portfile 2009-09-25 04:20:31 UTC (rev 58284)
+++ trunk/dports/www/wordpress/Portfile 2009-09-25 04:34:51 UTC (rev 58285)
@@ -3,47 +3,28 @@
PortSystem 1.0
name wordpress
-version 2.7
+version 2.8.4
categories www
maintainers nomaintainer
+worksrcdir ${name}
description A state-of-the-art semantic personal publishing platform
long_description WordPress is a state-of-the-art semantic personal publishing platform \
with a focus on aesthetics, web standards, and usability.
-homepage http://www.wordpress.org
-master_sites ftp://ftp.stu.edu.tw/pub/wordpress/
-checksums md5 a86a8780fa2d2af67d89b02e26cf0c7c \
- sha1 9f456767739a8632e662cc561a861d7cc4d72ab6 \
- rmd160 76075c2845e30bb10d26b219a87206b2db0b7da3
+homepage http://wordpress.org/
+master_sites ${homepage}
+checksums md5 0e8b296d4e2d4189b349f1d0f727bd98 \
+ sha1 af9a37283b25f26a3a3aa3a7c5db23222e18e0fc \
+ rmd160 ab449a9d20737d7fb032f6f1a247e16adba88fc4
platforms darwin freebsd
-depends_lib port:apache2 path:bin/php:php5 path:bin/mysql_config5:mysql5
+depends_lib port:php5-web \
+ port:php5-mysql
-variant apache conflicts apache2 description {Use the 1.3 branch of the Apache server} {
- depends_lib-append port:apache
- depends_lib-delete port:apache2
-}
-
-variant php4 description {Use php4} {
- depends_lib-append port:php4
- depends_lib-delete path:bin/php:php5
-}
-
-variant mysql3 conflicts mysql4 description {Use MySQL 3} {
- depends_lib-append port:mysql3
- depends_lib-delete path:bin/mysql_config5:mysql5
-}
-
-variant mysql4 conflicts mysql3 description {Use MySQL 4} {
- depends_lib-append port:mysql4
- depends_lib-delete path:bin/mysql_config5:mysql5
-}
-
set docpath ${destroot}${prefix}/www/data
use_configure no
build {}
destroot {
- xinstall -d -m 0755 ${docpath}/wordpress
- eval file copy [glob ${workpath}/wordpress/*] ${docpath}/wordpress
+ file copy ${worksrcpath} ${destroot}${prefix}/www/${name}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090924/0af3b56c/attachment.html>
More information about the macports-changes
mailing list