1 | --- /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/wordpress/Portfile.orig 2010-08-08 16:26:17.000000000 +0200 |
---|
2 | +++ /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/wordpress/Portfile 2010-08-08 16:41:42.000000000 +0200 |
---|
3 | @@ -3,7 +3,7 @@ |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name wordpress |
---|
7 | -version 2.8.4 |
---|
8 | +version 3.0.1 |
---|
9 | categories www |
---|
10 | platforms darwin freebsd |
---|
11 | maintainers nomaintainer |
---|
12 | @@ -17,9 +17,9 @@ |
---|
13 | homepage http://wordpress.org/ |
---|
14 | master_sites ${homepage} |
---|
15 | |
---|
16 | -checksums md5 0e8b296d4e2d4189b349f1d0f727bd98 \ |
---|
17 | - sha1 af9a37283b25f26a3a3aa3a7c5db23222e18e0fc \ |
---|
18 | - rmd160 ab449a9d20737d7fb032f6f1a247e16adba88fc4 |
---|
19 | +checksums md5 8fa5373ed805fb9a6ee56dfd236dcb64 \ |
---|
20 | + sha1 3593c93e2c4e3f080e75dd0b0c47cd3d06e1b7d8 \ |
---|
21 | + rmd160 63ca91c69ea668c9df6e58fad1f2f8e48a3909d9 |
---|
22 | |
---|
23 | depends_lib port:php5-web \ |
---|
24 | port:php5-mysql |
---|
25 | @@ -30,3 +30,21 @@ |
---|
26 | destroot { |
---|
27 | file copy ${worksrcpath} ${destroot}${prefix}/www/${name} |
---|
28 | } |
---|
29 | + |
---|
30 | +notes " |
---|
31 | +If your webserver is already running with php and mysql, connect on http://localhost/wordpress/ to finish the install. |
---|
32 | +Temporarily allow the webserver write access so it can create wp-config.php (or do it yourself) |
---|
33 | +$ sudo chmod 1777 ${prefix}/www/wordpress |
---|
34 | +$ sudo chmod 755 ${prefix}/www/wordpress |
---|
35 | + |
---|
36 | +If Apache is not set, set an alias to the wordpress dir and some access like |
---|
37 | +-- ${prefix}/apache2/conf/extra/wordpress.conf |
---|
38 | +Alias /wordpress/ \"${prefix}/www/wordpress/\" |
---|
39 | +<Directory \"${prefix}/www/wordpress\"> |
---|
40 | + Options Indexes FollowSymLinks |
---|
41 | + AllowOverride None |
---|
42 | + Order allow,deny |
---|
43 | + Allow from all |
---|
44 | +</Directory> |
---|
45 | +-- |
---|
46 | +" |
---|