diff options
author | jase <jase@FreeBSD.org> | 2012-06-30 21:16:12 +0800 |
---|---|---|
committer | jase <jase@FreeBSD.org> | 2012-06-30 21:16:12 +0800 |
commit | c4a1c585c90faaf3122256ad60d75c2c453a72cb (patch) | |
tree | 724a86134e833f131060025dce5e855758ed3861 /www/wordpress | |
parent | e9c84ad3b626875b3a57d939aff5e274aded7ffa (diff) | |
download | freebsd-ports-gnome-c4a1c585c90faaf3122256ad60d75c2c453a72cb.tar.gz freebsd-ports-gnome-c4a1c585c90faaf3122256ad60d75c2c453a72cb.tar.zst freebsd-ports-gnome-c4a1c585c90faaf3122256ad60d75c2c453a72cb.zip |
- 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)
Diffstat (limited to 'www/wordpress')
-rw-r--r-- | www/wordpress/Makefile | 8 | ||||
-rw-r--r-- | www/wordpress/distinfo | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/www/wordpress/Makefile b/www/wordpress/Makefile index f0c36c1486e4..5a0080622f37 100644 --- a/www/wordpress/Makefile +++ b/www/wordpress/Makefile @@ -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 diff --git a/www/wordpress/distinfo b/www/wordpress/distinfo index 00922b56c08c..88b8cc12c3d1 100644 --- a/www/wordpress/distinfo +++ b/www/wordpress/distinfo @@ -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 |