summaryrefslogtreecommitdiff
path: root/chinese/wordpress-zh_TW
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-04-09 08:11:48 +0000
committerWen Heping <wen@FreeBSD.org>2010-04-09 08:11:48 +0000
commit691fe7f38f6fa9dbecddedfb1e2693d0b439d78e (patch)
tree80e41dc7d07a0351db4e9b9ac0265c5afdb79d54 /chinese/wordpress-zh_TW
parent- Update to 1.4.5 (diff)
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/ PR: ports/144369 Submitted by: Joe Horn <joehorn@gmail.com>
Notes
Notes: svn path=/head/; revision=252464
Diffstat (limited to 'chinese/wordpress-zh_TW')
-rw-r--r--chinese/wordpress-zh_TW/Makefile67
-rw-r--r--chinese/wordpress-zh_TW/distinfo3
-rw-r--r--chinese/wordpress-zh_TW/files/pkg-message.in15
-rw-r--r--chinese/wordpress-zh_TW/pkg-descr7
4 files changed, 92 insertions, 0 deletions
diff --git a/chinese/wordpress-zh_TW/Makefile b/chinese/wordpress-zh_TW/Makefile
new file mode 100644
index 000000000000..bb2635d8bac6
--- /dev/null
+++ b/chinese/wordpress-zh_TW/Makefile
@@ -0,0 +1,67 @@
+# New ports collection makefile for: wordpress-zh_TW
+# Date created: 2010-03-01
+# Whom: Joe Horn <joehorn@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wordpress
+PORTVERSION= 2.9.2
+CATEGORIES= chinese www
+MASTER_SITES= http://cn.wordpress.org/
+PKGNAMESUFFIX= -zh_TW
+DISTNAME= wordpress-${PORTVERSION}-zh_TW
+
+MAINTAINER= joehorn@gmail.com
+COMMENT= A state-of-the-art semantic personal publishing platform
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_PHP= mysql pcre xml gd tokenizer
+NO_BUILD= YES
+WANT_PHP_WEB= YES
+
+WORDPRESS= www/wordpress-zh_TW
+WWWDIR= ${PREFIX}/${WORDPRESS}
+
+PLIST_SUB+= WORDPRESS=${WORDPRESS}
+PLIST= ${WRKDIR}/pkg-plist
+
+PORTDOCS= license.txt readme.html
+
+SUB_FILES+= pkg-message
+SUB_LISTS+= WWWDIR=${WWWDIR}
+
+pre-everything::
+ @${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
+ @${ECHO_CMD} ""
+ @sleep 1
+
+pre-install:
+ cd ${WRKSRC} && ${FIND} -s * -type f | \
+ ${SED} -e 's|^|${WORDPRESS}/|' > ${PLIST} \
+ && ${FIND} -d * -type d | \
+ ${SED} -e 's|^|@dirrm ${WORDPRESS}/|' >> ${PLIST} \
+ && ${ECHO_CMD} @dirrm ${WORDPRESS} >> ${PLIST}
+ if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \
+ ${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi
+
+do-install:
+ @${MKDIR} ${WWWDIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
+ @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
+ >> ${TMPPLIST}
+ @${CHMOD} -R 755 ${WWWDIR}
+ @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' >> ${TMPPLIST}
+ ${CP} -R ${WRKSRC}/ ${WWWDIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
+.endfor
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/chinese/wordpress-zh_TW/distinfo b/chinese/wordpress-zh_TW/distinfo
new file mode 100644
index 000000000000..5aa0eaf9ea78
--- /dev/null
+++ b/chinese/wordpress-zh_TW/distinfo
@@ -0,0 +1,3 @@
+MD5 (wordpress-2.9.2-zh_TW.tar.gz) = 4fc1a68a9833de2571f75fab9f57bf7c
+SHA256 (wordpress-2.9.2-zh_TW.tar.gz) = 628226950efd07417faa282c4b5a54813cd253de25d60a52be393d749be44821
+SIZE (wordpress-2.9.2-zh_TW.tar.gz) = 2445008
diff --git a/chinese/wordpress-zh_TW/files/pkg-message.in b/chinese/wordpress-zh_TW/files/pkg-message.in
new file mode 100644
index 000000000000..e40a28ebbe04
--- /dev/null
+++ b/chinese/wordpress-zh_TW/files/pkg-message.in
@@ -0,0 +1,15 @@
+*************************************************************************************
+Please read following note for installation steps before the first use of WordPress.
+
+1. Copy wp-config-sample.php to wp-config.php
+ in %%WWWDIR%% .
+
+2. Modify it to fit your MySQL.
+
+3. Modify your web server configuration.
+
+
+If you are upgrading from prior version, please browse this URL :
+
+ http://[WORDPRESS_URL]/wp-admin/upgrade.php
+
diff --git a/chinese/wordpress-zh_TW/pkg-descr b/chinese/wordpress-zh_TW/pkg-descr
new file mode 100644
index 000000000000..d83d9a2f3e97
--- /dev/null
+++ b/chinese/wordpress-zh_TW/pkg-descr
@@ -0,0 +1,7 @@
+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/