2012-12-16 20:24:53 +01:00
|
|
|
# Created by: Joe Horn <joehorn@gmail.com>
|
2010-03-16 08:14:57 +01:00
|
|
|
|
|
|
|
PORTNAME= wordpress
|
*/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
2022-01-05 17:35:11 +01:00
|
|
|
DISTVERSION= 5.8.2
|
2015-06-28 10:56:39 +02:00
|
|
|
DISTVERSIONSUFFIX= -zh_CN
|
2010-03-16 08:14:57 +01:00
|
|
|
CATEGORIES= chinese www
|
*/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
2022-01-05 17:35:11 +01:00
|
|
|
MASTER_SITES= https://cn.wordpress.org/
|
2010-03-16 08:14:57 +01:00
|
|
|
PKGNAMESUFFIX= -zh_CN
|
|
|
|
|
2017-05-16 15:37:51 +02:00
|
|
|
MAINTAINER= joneum@FreeBSD.org
|
2012-12-16 20:24:53 +01:00
|
|
|
COMMENT= State-of-the-art semantic personal publishing platform
|
2010-03-16 08:14:57 +01:00
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2015-12-05 10:42:30 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/license.txt
|
2010-08-19 18:17:26 +02:00
|
|
|
|
*/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
2022-01-05 17:35:11 +01:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR}
|
2010-03-16 08:14:57 +01:00
|
|
|
|
*/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
2022-01-05 17:35:11 +01:00
|
|
|
USES= cpe php:web
|
|
|
|
.if ${DISTVERSION:N*.*.*}
|
|
|
|
CPE_VERSION= ${DISTVERSION}.0
|
|
|
|
.endif
|
2020-06-30 00:24:46 +02:00
|
|
|
USE_PHP= curl exif fileinfo ftp gd hash json mysqli pcre tokenizer xml zip zlib
|
*/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
2022-01-05 17:35:11 +01:00
|
|
|
WWWDIR= ${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX}
|
2015-08-31 15:32:37 +02:00
|
|
|
NO_ARCH= yes
|
2012-12-16 20:24:53 +01:00
|
|
|
NO_BUILD= yes
|
*/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
2022-01-05 17:35:11 +01:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2010-03-16 08:14:57 +01:00
|
|
|
PLIST= ${WRKDIR}/pkg-plist
|
2012-12-16 20:24:53 +01:00
|
|
|
PORTDOCS= readme.html
|
2012-06-30 15:14:12 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2010-03-16 08:14:57 +01:00
|
|
|
pre-everything::
|
|
|
|
@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
|
|
|
|
@${ECHO_CMD} ""
|
2018-04-26 00:00:04 +02:00
|
|
|
. if !(defined(PACKAGE_BUILDING) || defined(BATCH))
|
2010-03-16 08:14:57 +01:00
|
|
|
@sleep 1
|
2018-04-26 00:00:04 +02:00
|
|
|
. endif
|
2010-03-16 08:14:57 +01:00
|
|
|
|
|
|
|
pre-install:
|
2014-04-26 20:16:34 +02:00
|
|
|
${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}
|
2010-03-16 08:14:57 +01:00
|
|
|
if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \
|
|
|
|
${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi
|
|
|
|
|
|
|
|
do-install:
|
*/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
2022-01-05 17:35:11 +01:00
|
|
|
${INSTALL} -d -m 755 ${STAGEDIR}${WWWDIR}/
|
2014-04-26 20:16:34 +02:00
|
|
|
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
|
2016-12-01 12:18:03 +01:00
|
|
|
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w {} \;
|
2015-12-05 10:42:30 +01:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2014-04-26 20:16:34 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
2010-03-16 08:14:57 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|