aboutsummaryrefslogtreecommitdiff
path: root/german
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2012-05-27 10:06:54 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2012-05-27 10:06:54 +0000
commit27e8ca19a9d980110adf15a892ac849f82b82934 (patch)
tree5e6518868dd9b8fb11144caf01c7396f2735e26d /german
parent717f32ab6bc3e265b4c6e07dc55b02e7d1dde595 (diff)
downloadports-27e8ca19a9d980110adf15a892ac849f82b82934.tar.gz
ports-27e8ca19a9d980110adf15a892ac849f82b82934.zip
- Update to 3.3.2
- change file ownership to www wp-content directory PR: ports/167219 Submitted by: Takefu <takefu@airport.fm> Approved by: miwi (maintainer)
Notes
Notes: svn path=/head/; revision=297536
Diffstat (limited to 'german')
-rw-r--r--german/wordpress/Makefile8
-rw-r--r--german/wordpress/distinfo4
-rw-r--r--german/wordpress/files/pkg-install.in12
-rw-r--r--german/wordpress/files/pkg-message.in (renamed from german/wordpress/pkg-message)2
4 files changed, 21 insertions, 5 deletions
diff --git a/german/wordpress/Makefile b/german/wordpress/Makefile
index 5649f447a5f2..686845128a7e 100644
--- a/german/wordpress/Makefile
+++ b/german/wordpress/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= wordpress
-PORTVERSION= 3.3.1
+PORTVERSION= 3.3.2
CATEGORIES= german www
MASTER_SITES= http://static.wordpress-deutschland.org/de-edition/
PKGNAMESUFFIX= -de
@@ -22,12 +22,15 @@ LICENSE_FILE= ${WRKSRC}/license.txt
CONFLICTS_INSTALL= wordpress-3.* ja-wordpress-ja-3.* \
zh-wordpress-zh_CN-3.* zh-wordpress-zh_TW-3.* \
ru-wordpress-ru-3.*
-USE_ZIP= yes
+EXTRACT_SUFX:= .zip
NO_BUILD= yes
USE_PHP= curl gd mysql pcre tokenizer xml zip
WANT_PHP_WEB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
+SUB_FILES= pkg-message pkg-install
+SUB_LIST= CHGRP="${CHGRP}" CHOWN="${CHOWN}" CHMOD="${CHMOD}"\
+ FIND="${FIND}" WWWGRP="${WWWGRP}" WWWOWN="${WWWOWN}"
PLIST= ${WRKDIR}/pkg-plist
PORTDOCS= license.txt readme.html
@@ -52,6 +55,7 @@ do-install:
.endif
post-install:
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/german/wordpress/distinfo b/german/wordpress/distinfo
index 9cf393f3db5d..29874b215317 100644
--- a/german/wordpress/distinfo
+++ b/german/wordpress/distinfo
@@ -1,2 +1,2 @@
-SHA256 (wordpress_331-de.zip) = 89d0d65d09ea6c374c9a107e82ddd54faa323e6476ca0d8a8b4fe7bcc9a31f2c
-SIZE (wordpress_331-de.zip) = 4678868
+SHA256 (wordpress_332-de.zip) = 8be1b15de26dcb4af1c68cdbc301e21ed0a88838d649576df6b47a93a46e9558
+SIZE (wordpress_332-de.zip) = 4681616
diff --git a/german/wordpress/files/pkg-install.in b/german/wordpress/files/pkg-install.in
new file mode 100644
index 000000000000..93fe0df35ab8
--- /dev/null
+++ b/german/wordpress/files/pkg-install.in
@@ -0,0 +1,12 @@
+#!/bin/sh
+case $2 in
+ PRE-INSTALL)
+ ;;
+ POST-INSTALL)
+ %%CHOWN%% -R %%WWWOWN%% %%WWWDIR%%/wp-content
+ %%FIND%% %%WWWDIR%% -type d -print | xargs %%CHGRP%% %%WWWGRP%%
+ %%FIND%% %%WWWDIR%% -type d -print | xargs %%CHMOD%% g+w
+ ;;
+ *)
+ ;;
+esac
diff --git a/german/wordpress/pkg-message b/german/wordpress/files/pkg-message.in
index 0fcaa079166e..a3c01e1be0d6 100644
--- a/german/wordpress/pkg-message
+++ b/german/wordpress/files/pkg-message.in
@@ -1,6 +1,6 @@
**** NOTE ****
Before the first use of WordPress, copy wp-config-sample.php to wp-config.php
-in ${WWWDIR} and modify it to fit your MySQL.
+in %%WWWDIR%% and modify it to fit your MySQL.
Maybe you need 'mysqladmin create wordpress' first.
If you are upgrading from 1.x or 2.x to 3.x, please run
http://your.site/wordpress/wp-admin/upgrade.php to upgrade to WordPress 3.x