aboutsummaryrefslogtreecommitdiffstats
path: root/www/wordpress/Makefile
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2013-01-30 09:50:42 +0800
committerdelphij <delphij@FreeBSD.org>2013-01-30 09:50:42 +0800
commitd5d40267420a997ac62b8dc84555efb8981950e4 (patch)
tree9a3c97788ea989e94568aee73b46f83a61c0ae17 /www/wordpress/Makefile
parent222b2066f95520c52cee8e23ce0fbc8d0f72df26 (diff)
downloadfreebsd-ports-gnome-d5d40267420a997ac62b8dc84555efb8981950e4.tar.gz
freebsd-ports-gnome-d5d40267420a997ac62b8dc84555efb8981950e4.tar.zst
freebsd-ports-gnome-d5d40267420a997ac62b8dc84555efb8981950e4.zip
Update to 3.5.1. While I'm there, also change russian to use gzipped tarball,
make the port to use OptionsNG and fix installation permissions. PR: ports/175525 [1], ports/175632 [2], ports/175679 [3] Submitted by: Takefu <takefu airport fm> [1], Mihail Timofeev <miha_hard mail ru> [2], delphij [3] Approved by: maintainer, 9267096@gmail.com [1][2], ychsiao [1][3] Security: 559e00b7-6a4d-11e2-b6b0-10bf48230856
Diffstat (limited to 'www/wordpress/Makefile')
-rw-r--r--www/wordpress/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/www/wordpress/Makefile b/www/wordpress/Makefile
index c97f00d4b27d..031ab69d209d 100644
--- a/www/wordpress/Makefile
+++ b/www/wordpress/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: wordpress
-# Date created: 2004-07-29
-# Whom: Elvis Chiang <elvis@sslab.cs.ccu.edu.tw>
-#
+# Created by: Elvis Chiang <elvis@sslab.cs.ccu.edu.tw>
# $FreeBSD$
-#
PORTNAME= wordpress
-PORTVERSION= 3.5
+PORTVERSION= 3.5.1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://wordpress.org/
@@ -14,6 +10,9 @@ MASTER_SITES= http://wordpress.org/
MAINTAINER= ychsiao@ychsiao.org
COMMENT= A state-of-the-art semantic personal publishing platform
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/license.txt
+
CONFLICTS_INSTALL= de-wordpress-3.* ja-wordpress-3.* ru-wordpress-3.*
NO_BUILD= yes
@@ -21,6 +20,9 @@ USE_PHP= curl gd mysql pcre tokenizer xml zip
WANT_PHP_WEB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
+SUB_FILES= pkg-message pkg-install
+SUB_LIST= CHGRP="${CHGRP}" CHOWN="${CHOWN}" CHMOD="${CHMOD}"\
+ FIND="${FIND}" WWWGRP="${WWWGRP}" WWWOWN="${WWWOWN}"
PLIST= ${WRKDIR}/pkg-plist
PORTDOCS= license.txt readme.html
@@ -49,6 +51,7 @@ do-install:
.endif
post-install:
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>