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

Last change on this file since 87969 was 83146, checked in by miwi@…, 8 years ago

Update wordpress to 3.2.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- 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
2# $Id: Portfile 83146 2011-08-26 13:49:48Z miwi@macports.org $
3
4PortSystem              1.0
5
6name                    wordpress
7version                 3.2.1
8categories              www
9platforms               darwin freebsd
10maintainers             freebsd.org:miwi
11supported_archs         noarch
12worksrcdir              ${name}
13
14description             A state-of-the-art semantic personal publishing platform
15
16long_description        WordPress is a state-of-the-art semantic personal publishing platform \
17                        with a focus on aesthetics, web standards, and usability.
18
19homepage                http://wordpress.org/
20master_sites            ${homepage}
21
22checksums               sha1    674bcf0abe80770ac08dfb4c5f21df3303bf771a \
23                        rmd160  a78f1aec0d142e1de32f214fd65ac2aef256979d
24
25depends_lib             port:php5-web \
26                        port:php5-mysql \
27                        port:php5-zip \
28                        port:php5-gd
29
30livecheck.type          regex
31livecheck.url           ${homepage}
32livecheck.regex         "Download WordPress (\\d+(?:\\.\\d+)*)"
33
34use_configure           no
35build                   {}
36
37destroot {
38    file copy ${worksrcpath} ${destroot}${prefix}/www/${name}
39}
40
41notes "
42If your webserver is already running with php and mysql, connect on http://localhost/wordpress/ to finish the install.
43Temporarily allow the webserver write access so it can create wp-config.php (or do it yourself)
44$ sudo chmod 1777 ${prefix}/www/wordpress
45$ sudo chmod 755 ${prefix}/www/wordpress
46
47If Apache is not set, set an alias to the wordpress dir and some access like
48-- ${prefix}/apache2/conf/extra/wordpress.conf
49Alias /wordpress/ \"${prefix}/www/wordpress/\"
50<Directory \"${prefix}/www/wordpress\">
51    Options Indexes FollowSymLinks
52    AllowOverride None
53    Order allow,deny
54    Allow from all
55</Directory>
56--
57"
Note: See TracBrowser for help on using the repository browser.