source: trunk/dports/www/wordpress/Portfile

Last change on this file was 101120, checked in by ryandesign@…, 5 years ago

wordpress: update to 3.5 (#32778)

  • 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 101120 2013-01-04 20:52:31Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    wordpress
7version                 3.5
8categories              www
9platforms               darwin freebsd
10maintainers             nomaintainer
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               rmd160  dc436fcbcefefd8cd3a17540c6666e9602a76c8c \
23                        sha256  def1d094dbd3fcc52208d4e63ae4c31901dfd97e9b4cd619b7d017fd342972ab
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.