aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscheidell <scheidell@FreeBSD.org>2012-05-27 18:06:54 +0800
committerscheidell <scheidell@FreeBSD.org>2012-05-27 18:06:54 +0800
commitc4884abe3a06a28b25efdbc07987e2b3259c3365 (patch)
tree43675d790a20ce826434d0c7ed75c1dd503718bd
parent694496812bbac0fe064228dc5f96e9f749bc8756 (diff)
downloadfreebsd-ports-gnome-c4884abe3a06a28b25efdbc07987e2b3259c3365.tar.gz
freebsd-ports-gnome-c4884abe3a06a28b25efdbc07987e2b3259c3365.tar.zst
freebsd-ports-gnome-c4884abe3a06a28b25efdbc07987e2b3259c3365.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)
-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