- Update to 3.4.1 [1]

- Convert to optionsNG and add DOCS option

PR:		ports/169517 [1]
Submitted by:	Yuan-Chung Hsiao <ychsiao@ychsiao.org> (maintainer)
Approved by:	culot (mentor)
This commit is contained in:
Jase Thew 2012-06-30 13:16:12 +00:00
parent c37eeba9a2
commit 6f7d26fa07
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300270
2 changed files with 8 additions and 4 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= wordpress
PORTVERSION= 3.4
PORTVERSION= 3.4.1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://wordpress.org/
@ -24,6 +24,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST= ${WRKDIR}/pkg-plist
PORTDOCS= license.txt readme.html
OPTIONS_DEFINE= DOCS
pre-everything::
@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
@${ECHO_CMD} ""
@ -36,10 +38,12 @@ 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:
${INSTALL} -d -g ${WWWGRP} -m 755 -o ${WWWOWN} ${WWWDIR}/
${CP} -R ${WRKSRC}/ ${WWWDIR}/
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif

View file

@ -1,2 +1,2 @@
SHA256 (wordpress-3.4.tar.gz) = 8f40ec49e4f1a1d70c9ee3ad3bc526a94d902ffb9b35aec2b6c9f53846a21e3f
SIZE (wordpress-3.4.tar.gz) = 4538093
SHA256 (wordpress-3.4.1.tar.gz) = c452c0b07e87ea6ce73e294a831d494eea9df43d8ca9140b087067d6a4166d15
SIZE (wordpress-3.4.1.tar.gz) = 4536505