aboutsummaryrefslogtreecommitdiff
path: root/german
diff options
context:
space:
mode:
authorKenji Takefu <takefu@airport.fm>2022-01-05 16:35:11 +0000
committerXin LI <delphij@FreeBSD.org>2022-01-06 06:25:32 +0000
commitc44d822e8d558b399cfc0428a6f68fa3e9a217c6 (patch)
treefeaaa38b14dfa97b80e6c1258bc265bb94cd48d9 /german
parent79dcec7b6d3f531a7f233f5f566abd75b1256527 (diff)
downloadports-c44d822e8d558b399cfc0428a6f68fa3e9a217c6.tar.gz
ports-c44d822e8d558b399cfc0428a6f68fa3e9a217c6.zip
*/wordpress*: Update to 5.8.2
For all languages: Make the port portlint(1),portclippy(1) compliant. For www,french,german,japanese,russian: Fix pkg-message.in to only show upgrade message when upgrading. For www,zh_CN,zh_TW,french,german: Use do-install-DOCS-on for documentation. For zh_CN,zh_TW: Add CPE information PR: 260013 Approved by: maintainer timeout
Diffstat (limited to 'german')
-rw-r--r--german/wordpress/Makefile24
-rw-r--r--german/wordpress/distinfo6
-rw-r--r--german/wordpress/files/pkg-message.in7
3 files changed, 21 insertions, 16 deletions
diff --git a/german/wordpress/Makefile b/german/wordpress/Makefile
index afe53b472b83..3b6dcb58d278 100644
--- a/german/wordpress/Makefile
+++ b/german/wordpress/Makefile
@@ -1,10 +1,10 @@
# Created by: miwi
PORTNAME= wordpress
-DISTVERSION= 5.8
+DISTVERSION= 5.8.2
DISTVERSIONSUFFIX= -de_DE
CATEGORIES= german www
-MASTER_SITES= http://de.wordpress.org/
+MASTER_SITES= https://de.wordpress.org/
MAINTAINER= joneum@FreeBSD.org
COMMENT= State-of-the-art semantic personal publishing platform
@@ -13,24 +13,22 @@ LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/license.txt
-CONFLICTS_INSTALL= wordpress-[0-9].* ja-wordpress-[0-9].* ru-wordpress-[0-9].*
-
-NO_ARCH= yes
-NO_BUILD= yes
-USES= php:web cpe
-USE_PHP= curl exif fileinfo ftp gd hash json mysqli pcre tokenizer xml zip zlib
RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR}
-WRKSRC= ${WRKDIR}/${PORTNAME}
-CPE_LANG= de
+USES= cpe php:web
.if ${DISTVERSION:N*.*.*}
CPE_VERSION= ${DISTVERSION}.0
.endif
-
+CPE_LANG= de
+USE_PHP= curl exif fileinfo ftp gd hash json mysqli pcre tokenizer xml zip zlib
+CONFLICTS_INSTALL= ^wordpress-[0-9].* fr-wordpress-[0-9].* \
+ ja-wordpress-[0-9].* ru-wordpress-[0-9].*
+NO_ARCH= yes
+NO_BUILD= yes
SUB_FILES= pkg-message
+WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST= ${WRKDIR}/pkg-plist
PORTDOCS= license.txt readme.html
-
OPTIONS_DEFINE= DOCS
pre-everything::
@@ -53,6 +51,8 @@ do-install:
${INSTALL} -d -m 755 ${STAGEDIR}${WWWDIR}/
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w {} \;
+
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
diff --git a/german/wordpress/distinfo b/german/wordpress/distinfo
index 6ffd0aecf6e7..d53741e6b15e 100644
--- a/german/wordpress/distinfo
+++ b/german/wordpress/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1631253311
-SHA256 (wordpress-5.8-de_DE.tar.gz) = 37be737372b737b62cf4e270ab443262bfefaca25a97913a0e270334f8e5dc27
-SIZE (wordpress-5.8-de_DE.tar.gz) = 15814535
+TIMESTAMP = 1641446807
+SHA256 (wordpress-5.8.2-de_DE.tar.gz) = 19408d09f62ea414ac5a134ea68b4d154314ea70f608c4137b0b5f98a5f58df1
+SIZE (wordpress-5.8.2-de_DE.tar.gz) = 15829055
diff --git a/german/wordpress/files/pkg-message.in b/german/wordpress/files/pkg-message.in
index a3d0617e38e0..013f76dfc0e7 100644
--- a/german/wordpress/files/pkg-message.in
+++ b/german/wordpress/files/pkg-message.in
@@ -4,7 +4,12 @@
Before the first use of WordPress, copy wp-config-sample.php to wp-config.php
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 or 3.x to 4.x, please run
+EOM
+}
+{ type: upgrade
+ maximum_version: 3
+ message: <<EOM
+If you are upgrading from 1.x or 2.x to 3.x to 4.x, please run
http://your.site/wordpress/wp-admin/upgrade.php to upgrade to WordPress 4.x
EOM
}