mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
- Update to 3.4.1
- Convert to optionsNG and add DOCS option PR: ports/169527 Submitted by: Joe Horn <joehorn@gmail.com> (maintainer) Approved by: culot (mentor)
This commit is contained in:
parent
5c64b5a491
commit
a8a37f07f9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300268
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= wordpress
|
||||
PORTVERSION= 3.4
|
||||
PORTVERSION= 3.4.1
|
||||
CATEGORIES= chinese www
|
||||
MASTER_SITES= http://cn.wordpress.org/ \
|
||||
http://mirror.joehorn.idv.tw/wordpress/
|
||||
@ -29,6 +29,8 @@ WWWDIR= ${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX}
|
||||
|
||||
PORTDOCS= license.txt readme.html
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
SUB_FILES+= pkg-message
|
||||
SUB_LISTS+= WWWDIR=${WWWDIR}
|
||||
|
||||
@ -46,6 +48,8 @@ pre-install:
|
||||
if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \
|
||||
${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${WWWDIR}
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
||||
@ -54,7 +58,7 @@ do-install:
|
||||
@${CHMOD} -R 755 ${WWWDIR}
|
||||
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' >> ${TMPPLIST}
|
||||
${CP} -R ${WRKSRC}/ ${WWWDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for i in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (wordpress-3.4-zh_CN.tar.gz) = d77cbaab0384759c209c177bf0e0fdc20438686f6731a519ee068c71240fb6c5
|
||||
SIZE (wordpress-3.4-zh_CN.tar.gz) = 4942598
|
||||
SHA256 (wordpress-3.4.1-zh_CN.tar.gz) = 243ee6297b63d6e3529de87db151c7c1903c7b5951422faeb28f561257c03b4b
|
||||
SIZE (wordpress-3.4.1-zh_CN.tar.gz) = 4938612
|
||||
|
Loading…
Reference in New Issue
Block a user