aboutsummaryrefslogtreecommitdiff
path: root/german
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2023-02-14 18:28:53 +0000
committerBernard Spil <brnrd@FreeBSD.org>2023-02-14 18:28:53 +0000
commit6beccad94e454e521402d9958bf03d665cb601ab (patch)
tree0e1720d137721dabed26ee40d2025f99ab5f2890 /german
parent145b004cbdeb28c059739a77077b37b6a0a6f919 (diff)
downloadports-6beccad94e454e521402d9958bf03d665cb601ab.tar.gz
ports-6beccad94e454e521402d9958bf03d665cb601ab.zip
www/wordpress: Transform into master port
* Simplify language ports * Removes differences in pkg-message and pkg-descr * Reduce files to manage on updates
Diffstat (limited to 'german')
-rw-r--r--german/wordpress/Makefile58
-rw-r--r--german/wordpress/files/pkg-message.in16
-rw-r--r--german/wordpress/pkg-descr5
3 files changed, 6 insertions, 73 deletions
diff --git a/german/wordpress/Makefile b/german/wordpress/Makefile
index 83334223065e..69d6e448c0e6 100644
--- a/german/wordpress/Makefile
+++ b/german/wordpress/Makefile
@@ -1,58 +1,12 @@
-PORTNAME= wordpress
-DISTVERSION= 6.1.1
-DISTVERSIONSUFFIX= -de_DE
-CATEGORIES= german www
+CATEGORIES= german
MASTER_SITES= https://de.wordpress.org/
-MAINTAINER= joneum@FreeBSD.org
-COMMENT= State-of-the-art semantic personal publishing platform
-WWW= https://de.wordpress.org/
+CONFLICTS_INSTALL= wordpress fr-wordpress ja-wordpress ru-wordpress
-LICENSE= GPLv2 GPLv3
-LICENSE_COMB= dual
-LICENSE_FILE= ${WRKSRC}/license.txt
+WORDPRESS_LANG= de_DE
-RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR}
+DISTINFO_FILE= ${.CURDIR}/distinfo
-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
+MASTERDIR= ${.CURDIR}/../../www/wordpress
-pre-everything::
- @${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
- @${ECHO_CMD} ""
-. if !(defined(PACKAGE_BUILDING) || defined(BATCH))
- @sleep 1
-. endif
-
-pre-install:
- ${ECHO_CMD} '@owner www' > ${PLIST}
- ${ECHO_CMD} '@group www' >> ${PLIST}
- cd ${WRKSRC}/ && ${FIND} -s * -type f | ${SED} -e 's|^|%%WWWDIR%%/|' >> ${PLIST}
- ${ECHO_CMD} '@owner' >> ${PLIST}
- ${ECHO_CMD} '@group' >> ${PLIST}
- if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \
- ${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi
-
-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}/
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/german/wordpress/files/pkg-message.in b/german/wordpress/files/pkg-message.in
deleted file mode 100644
index 013f76dfc0e7..000000000000
--- a/german/wordpress/files/pkg-message.in
+++ /dev/null
@@ -1,16 +0,0 @@
-[
-{ type: install
- message: <<EOM
-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.
-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
-}
-]
diff --git a/german/wordpress/pkg-descr b/german/wordpress/pkg-descr
deleted file mode 100644
index 08c64952b2c8..000000000000
--- a/german/wordpress/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-WordPress is a state-of-the-art semantic personal publishing platform
-with a focus on aesthetics, web standards, and usability.
-
-More simply, Wordpress is what you use when you want to work
-with your blogging software, not fight it.