ports/149778: [MAINTAINER] chinese/wordpress-zh_CN: update to 3.0.1

Joe Horn joehorn at gmail.com
Wed Aug 18 18:20:06 UTC 2010


>Number:         149778
>Category:       ports
>Synopsis:       [MAINTAINER] chinese/wordpress-zh_CN: update to 3.0.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 18 18:20:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Joe Horn
>Release:        FreeBSD 8.1-RELEASE amd64
>Organization:
Taiwanese User
>Environment:
System: FreeBSD joehorn.idv.tw 8.1-RELEASE FreeBSD 8.1-RELEASE #2: Tue Jul 20 22:36:33 CST 2010
>Description:
- Update to 3.0.1
- Add LICENSE setting
- Change Makefile style

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- wordpress-zh_CN-3.0.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/wordpress-zh_CN/Makefile /home/admin/joehorn/wordpress-zh_CN/Makefile
--- /usr/ports/chinese/wordpress-zh_CN/Makefile	2010-03-16 15:14:57.000000000 +0800
+++ /home/admin/joehorn/wordpress-zh_CN/Makefile	2010-08-19 02:14:26.000000000 +0800
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	wordpress
-PORTVERSION=	2.9.2
+PORTVERSION=	3.0.1
 CATEGORIES=	chinese www
 MASTER_SITES=	http://cn.wordpress.org/
 PKGNAMESUFFIX=	-zh_CN
@@ -15,17 +15,15 @@
 MAINTAINER=	joehorn at gmail.com
 COMMENT=	A state-of-the-art semantic personal publishing platform
 
+LICENSE=	GPLv2
+
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 USE_PHP=	mysql pcre xml gd tokenizer
 NO_BUILD=	YES
 WANT_PHP_WEB=	YES
 
-WORDPRESS=	www/wordpress-zh_CN
-WWWDIR=		${PREFIX}/${WORDPRESS}
-
-PLIST_SUB+=	WORDPRESS=${WORDPRESS}
-PLIST=		${WRKDIR}/pkg-plist
+WWWDIR=		${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX}
 
 PORTDOCS=	license.txt readme.html
 
@@ -39,10 +37,10 @@
 
 pre-install:
 	cd ${WRKSRC} && ${FIND} -s * -type f | \
-		${SED} -e 's|^|${WORDPRESS}/|' > ${PLIST} \
+		${SED} -e 's|^|${WWWDIR:S|${PREFIX}/||}/|' > ${PLIST} \
 		&& ${FIND} -d * -type d | \
-		${SED} -e 's|^|@dirrm ${WORDPRESS}/|' >> ${PLIST} \
-		&& ${ECHO_CMD} @dirrm ${WORDPRESS} >> ${PLIST}
+		${SED} -e 's|^|@dirrm ${WWWDIR:S|${PREFIX}/||}/|' >> ${PLIST} \
+		&& ${ECHO_CMD} @dirrm ${WWWDIR:S|${PREFIX}/||} >> ${PLIST}
 	if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \
 		${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi
 
diff -ruN --exclude=CVS /usr/ports/chinese/wordpress-zh_CN/distinfo /home/admin/joehorn/wordpress-zh_CN/distinfo
--- /usr/ports/chinese/wordpress-zh_CN/distinfo	2010-03-16 15:14:57.000000000 +0800
+++ /home/admin/joehorn/wordpress-zh_CN/distinfo	2010-08-19 02:06:03.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (wordpress-2.9.2-zh_CN.tar.gz) = 7c2069bcdf92f3a4a287e6699a063b1c
-SHA256 (wordpress-2.9.2-zh_CN.tar.gz) = 6a33f9117178faa63d43ed558c4a475ab2cdb10881bde54466565353d965030a
-SIZE (wordpress-2.9.2-zh_CN.tar.gz) = 2475651
+MD5 (wordpress-3.0.1-zh_CN.tar.gz) = b4f3e8852fca2041ba3185711d6e003e
+SHA256 (wordpress-3.0.1-zh_CN.tar.gz) = ddf937a611b3726bc4502070c17a9845b2861d7f2b8c06e7640c703889294652
+SIZE (wordpress-3.0.1-zh_CN.tar.gz) = 2994128
--- wordpress-zh_CN-3.0.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list