# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name wordpress version 3.5 categories www platforms darwin freebsd maintainers nomaintainer supported_archs noarch 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://wordpress.org/ master_sites ${homepage} checksums rmd160 dc436fcbcefefd8cd3a17540c6666e9602a76c8c \ sha256 def1d094dbd3fcc52208d4e63ae4c31901dfd97e9b4cd619b7d017fd342972ab depends_lib port:php5-web \ port:php5-mysql \ port:php5-zip \ port:php5-gd livecheck.type regex livecheck.url ${homepage} livecheck.regex "Download WordPress (\\d+(?:\\.\\d+)*)" use_configure no build {} destroot { file copy ${worksrcpath} ${destroot}${prefix}/www/${name} } notes " If your webserver is already running with php and mysql, connect on http://localhost/wordpress/ to finish the install. Temporarily allow the webserver write access so it can create wp-config.php (or do it yourself) $ sudo chmod 1777 ${prefix}/www/wordpress $ sudo chmod 755 ${prefix}/www/wordpress If Apache is not set, set an alias to the wordpress dir and some access like -- ${prefix}/apache2/conf/extra/wordpress.conf Alias /wordpress/ \"${prefix}/www/wordpress/\" Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all -- "