ports/144369: [NEW PORT] chinese/wordpress-zh_TW: A state-of-the-art semantic personal publishing platform

Joe Horn joehorn at gmail.com
Sun Feb 28 18:10:03 UTC 2010


>Number:         144369
>Category:       ports
>Synopsis:       [NEW PORT] chinese/wordpress-zh_TW: A state-of-the-art semantic personal publishing platform
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 28 18:10:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Joe Horn
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
Taiwanese User
>Environment:
System: FreeBSD joehorn.idv.tw 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #1: Fri Jan  8 23:08:25 CST
>Description:
WordPress is a state-of-the-art semantic personal publishing platform 
with a focus on aesthetics, web standards, and usability. 

More simply, Wordpress is what you use when you want to work
with your blogging software, not fight it. 

WWW:	http://tw.wordpress.org/

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

--- wordpress-zh_TW-2.9.2.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	wordpress-zh_TW
#	wordpress-zh_TW/files
#	wordpress-zh_TW/files/pkg-message.in
#	wordpress-zh_TW/Makefile
#	wordpress-zh_TW/distinfo
#	wordpress-zh_TW/pkg-descr
#
echo c - wordpress-zh_TW
mkdir -p wordpress-zh_TW > /dev/null 2>&1
echo c - wordpress-zh_TW/files
mkdir -p wordpress-zh_TW/files > /dev/null 2>&1
echo x - wordpress-zh_TW/files/pkg-message.in
sed 's/^X//' >wordpress-zh_TW/files/pkg-message.in << 'ed102ef2738b88394dbc5a0c454790bf'
X*************************************************************************************
XPlease read following note for installation steps before the first use of WordPress.
X
X1. Copy wp-config-sample.php to wp-config.php 
X   in %%WWWDIR%% .
X
X2. Modify it to fit your MySQL.
X
X3. Modify your web server configuration.
X
X
XIf you are upgrading from prior version, please browse this URL :
X
X  http://[WORDPRESS_URL]/wp-admin/upgrade.php
X
ed102ef2738b88394dbc5a0c454790bf
echo x - wordpress-zh_TW/Makefile
sed 's/^X//' >wordpress-zh_TW/Makefile << 'd1ac028e58f8e0cff1f500f81234af58'
X# New ports collection makefile for:	wordpress-zh_TW
X# Date created:		2010-03-01
X# Whom:			Joe Horn <joehorn at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	wordpress
XPORTVERSION=	2.9.2
XCATEGORIES=	chinese www
XMASTER_SITES=	http://tw.wordpress.org/
XPKGNAMESUFFIX=	-zh_TW
XDISTNAME=	wordpress-${PORTVERSION}-zh_TW
X
XMAINTAINER=	joehorn at gmail.com
XCOMMENT=	A state-of-the-art semantic personal publishing platform
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XUSE_PHP=	mysql pcre xml gd tokenizer
XNO_BUILD=	YES
XWANT_PHP_WEB=	YES
X
XWORDPRESS=	www/wordpress-zh_TW
XWWWDIR=		${PREFIX}/${WORDPRESS}
X
XPLIST_SUB+=	WORDPRESS=${WORDPRESS}
XPLIST=		${WRKDIR}/pkg-plist
X
XPORTDOCS=	license.txt readme.html
X
XSUB_FILES+=	pkg-message
XSUB_LISTS+=	WWWDIR=${WWWDIR}
X
Xpre-everything::
X	@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
X	@${ECHO_CMD} ""
X	@sleep 1
X
Xpre-install:
X	cd ${WRKSRC} && ${FIND} -s * -type f | \
X		${SED} -e 's|^|${WORDPRESS}/|' > ${PLIST} \
X		&& ${FIND} -d * -type d | \
X		${SED} -e 's|^|@dirrm ${WORDPRESS}/|' >> ${PLIST} \
X		&& ${ECHO_CMD} @dirrm ${WORDPRESS} >> ${PLIST}
X	if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \
X		${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi
X
Xdo-install:
X	-@${MKDIR} ${WWWDIR}
X	@${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}
X	@${CHMOD} 755 ${WWWDIR}
X	${CP} -R ${WRKSRC}/ ${WWWDIR}
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for i in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
X.endfor
X.endif
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
d1ac028e58f8e0cff1f500f81234af58
echo x - wordpress-zh_TW/distinfo
sed 's/^X//' >wordpress-zh_TW/distinfo << 'd9d7eab80fa656034866a31235c44be2'
XMD5 (wordpress-2.9.2-zh_TW.tar.gz) = 4fc1a68a9833de2571f75fab9f57bf7c
XSHA256 (wordpress-2.9.2-zh_TW.tar.gz) = 628226950efd07417faa282c4b5a54813cd253de25d60a52be393d749be44821
XSIZE (wordpress-2.9.2-zh_TW.tar.gz) = 2445008
d9d7eab80fa656034866a31235c44be2
echo x - wordpress-zh_TW/pkg-descr
sed 's/^X//' >wordpress-zh_TW/pkg-descr << 'ea94da217949df79c3eb69de9a13684d'
XWordPress is a state-of-the-art semantic personal publishing platform 
Xwith a focus on aesthetics, web standards, and usability. 
X
XMore simply, Wordpress is what you use when you want to work
Xwith your blogging software, not fight it. 
X
XWWW:	http://tw.wordpress.org/
ea94da217949df79c3eb69de9a13684d
exit
--- wordpress-zh_TW-2.9.2.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list