2013-01-30 01:42:38 +01:00
|
|
|
# Created by: miwi
|
2006-06-05 18:27:47 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= wordpress
|
2020-05-10 15:51:37 +02:00
|
|
|
DISTVERSION= 5.3.3
|
2015-05-14 17:50:09 +02:00
|
|
|
DISTVERSIONSUFFIX= -de_DE
|
2006-06-05 18:27:47 +02:00
|
|
|
CATEGORIES= german www
|
2012-07-05 11:37:43 +02:00
|
|
|
MASTER_SITES= http://de.wordpress.org/
|
2006-06-05 18:27:47 +02:00
|
|
|
|
2017-05-16 15:37:51 +02:00
|
|
|
MAINTAINER= joneum@FreeBSD.org
|
2013-09-28 22:19:00 +02:00
|
|
|
COMMENT= State-of-the-art semantic personal publishing platform
|
2006-06-05 18:27:47 +02:00
|
|
|
|
2015-12-11 06:29:16 +01:00
|
|
|
LICENSE= GPLv2 GPLv3
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
LICENSE_FILE= ${WRKSRC}/license.txt
|
2011-08-26 08:48:53 +02:00
|
|
|
|
2014-11-24 19:33:06 +01:00
|
|
|
CONFLICTS_INSTALL= wordpress-[0-9].* ja-wordpress-[0-9].* ru-wordpress-[0-9].*
|
2012-07-05 11:37:43 +02:00
|
|
|
|
2015-07-24 11:00:34 +02:00
|
|
|
NO_ARCH= yes
|
2010-12-21 07:57:40 +01:00
|
|
|
NO_BUILD= yes
|
2016-08-19 15:45:29 +02:00
|
|
|
USES= php:web cpe
|
2020-05-10 15:51:37 +02:00
|
|
|
USE_PHP= curl ftp gd hash json mysqli pcre tokenizer xml zip zlib
|
2008-07-17 21:42:28 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2006-06-05 18:27:47 +02:00
|
|
|
|
2014-10-15 04:14:21 +02:00
|
|
|
CPE_LANG= de
|
2017-12-02 13:20:31 +01:00
|
|
|
.if ${DISTVERSION:N*.*.*}
|
|
|
|
CPE_VERSION= ${DISTVERSION}.0
|
2014-10-15 04:14:21 +02:00
|
|
|
.endif
|
|
|
|
|
2014-11-24 19:33:06 +01:00
|
|
|
SUB_FILES= pkg-message
|
2006-06-05 18:27:47 +02:00
|
|
|
PLIST= ${WRKDIR}/pkg-plist
|
2010-12-21 07:57:40 +01:00
|
|
|
PORTDOCS= license.txt readme.html
|
2006-06-05 18:27:47 +02:00
|
|
|
|
2012-10-13 19:46:26 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2006-06-05 18:27:47 +02: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))
|
2006-06-05 18:27:47 +02:00
|
|
|
@sleep 1
|
2018-04-26 00:00:04 +02:00
|
|
|
. endif
|
2006-06-05 18:27:47 +02:00
|
|
|
|
|
|
|
pre-install:
|
2014-11-24 19:33:06 +01: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-12-21 07:57:40 +01:00
|
|
|
if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \
|
2006-06-05 18:27:47 +02:00
|
|
|
${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi
|
|
|
|
|
|
|
|
do-install:
|
2014-11-24 19:33:06 +01:00
|
|
|
${INSTALL} -d -m 755 ${STAGEDIR}${WWWDIR}/
|
2014-02-05 15:46:27 +01:00
|
|
|
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
|
2016-12-01 12:18:03 +01:00
|
|
|
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w {} \;
|
2014-02-05 15:46:27 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
2006-06-05 18:27:47 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|