ports/144370: [NEW PORT] chinese/wordpress-zh_CN: A state-of-the-art semantic personal publishing platform
Joe Horn
joehorn at gmail.com
Sun Feb 28 18:10:03 UTC 2010
>Number: 144370
>Category: ports
>Synopsis: [NEW PORT] chinese/wordpress-zh_CN: 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:03 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://cn.wordpress.org/
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- wordpress-zh_CN-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_CN
# wordpress-zh_CN/files
# wordpress-zh_CN/files/pkg-message.in
# wordpress-zh_CN/Makefile
# wordpress-zh_CN/distinfo
# wordpress-zh_CN/pkg-descr
#
echo c - wordpress-zh_CN
mkdir -p wordpress-zh_CN > /dev/null 2>&1
echo c - wordpress-zh_CN/files
mkdir -p wordpress-zh_CN/files > /dev/null 2>&1
echo x - wordpress-zh_CN/files/pkg-message.in
sed 's/^X//' >wordpress-zh_CN/files/pkg-message.in << '36b0c33d09e16956949bc9eb16677403'
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
36b0c33d09e16956949bc9eb16677403
echo x - wordpress-zh_CN/Makefile
sed 's/^X//' >wordpress-zh_CN/Makefile << '7270977f28a9bbf193e78e8a07f7ce93'
X# New ports collection makefile for: wordpress-zh_CN
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://cn.wordpress.org/
XPKGNAMESUFFIX= -zh_CN
XDISTNAME= wordpress-${PORTVERSION}-zh_CN
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_CN
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>
7270977f28a9bbf193e78e8a07f7ce93
echo x - wordpress-zh_CN/distinfo
sed 's/^X//' >wordpress-zh_CN/distinfo << '131a3895cb3063163c149e65d0ca3448'
XMD5 (wordpress-2.9.2-zh_CN.tar.gz) = 7c2069bcdf92f3a4a287e6699a063b1c
XSHA256 (wordpress-2.9.2-zh_CN.tar.gz) = 6a33f9117178faa63d43ed558c4a475ab2cdb10881bde54466565353d965030a
XSIZE (wordpress-2.9.2-zh_CN.tar.gz) = 2475651
131a3895cb3063163c149e65d0ca3448
echo x - wordpress-zh_CN/pkg-descr
sed 's/^X//' >wordpress-zh_CN/pkg-descr << '7be5d639b71c5eb8f98f9726cb1705ec'
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://cn.wordpress.org/
7be5d639b71c5eb8f98f9726cb1705ec
exit
--- wordpress-zh_CN-2.9.2.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list