summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2011-10-16 05:24:10 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2011-10-16 05:24:10 +0000
commit17ae7067acfe2363c6ce8194dd95e08e06dd6692 (patch)
treea5504211752b3f7b254686a0b28daf723c01c878 /japanese
parent- Register CONFLICTS_INSTALL between www/wordpress and german/wordpress [1] (diff)
- Add a new port: japanese/wordpress
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://ja.wordpress.org/ PR: ports/160172 Submitted by: Takefu <takefu_AT_airport_DOT_fm>
Notes
Notes: svn path=/head/; revision=283594
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/wordpress/Makefile55
-rw-r--r--japanese/wordpress/distinfo2
-rw-r--r--japanese/wordpress/files/pkg-message.in6
-rw-r--r--japanese/wordpress/pkg-descr7
5 files changed, 71 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 6b5cabeed7b2..c960b3e03c78 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -351,6 +351,7 @@
SUBDIR += webalizer
SUBDIR += wnn7egg
SUBDIR += wordnet-fpw
+ SUBDIR += wordpress
SUBDIR += wwasw-fpw
SUBDIR += xchat
SUBDIR += xdtp
diff --git a/japanese/wordpress/Makefile b/japanese/wordpress/Makefile
new file mode 100644
index 000000000000..0853542b5817
--- /dev/null
+++ b/japanese/wordpress/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: wordpress
+# Date created: 2011-09-20
+# Whom: Takefu
+#
+# $FreeBSD$
+#
+
+PORTNAME= wordpress
+PORTVERSION= 3.2.1
+CATEGORIES= japanese www
+MASTER_SITES= http://ja.wordpress.org/
+PKGNAMESUFFIX= -ja
+DISTNAME= ${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}
+
+MAINTAINER= takefu@airport.fm
+COMMENT= A state-of-the-art semantic personal publishing platform
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/license.txt
+
+CONFLICTS_INSTALL= wordpress-3.* de-wordpress-de-3.*
+
+NO_BUILD= yes
+USE_PHP= gd mysql pcre tokenizer xml zip
+WANT_PHP_WEB= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+SUB_FILES= pkg-message
+PLIST= ${WRKDIR}/pkg-plist
+PORTDOCS= license.txt readme.html
+
+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|^|%%WWWDIR%%/|'; \
+ ${FIND} -d . -type d | ${SED} -e 's|^\.|@dirrm %%WWWDIR%%|') > ${PLIST}
+ if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \
+ ${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi
+
+do-install:
+ ${INSTALL} -d -g ${WWWGRP} -m 755 -o ${WWWOWN} ${WWWDIR}/
+ ${CP} -R ${WRKSRC}/ ${WWWDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/japanese/wordpress/distinfo b/japanese/wordpress/distinfo
new file mode 100644
index 000000000000..7e6a178ffa79
--- /dev/null
+++ b/japanese/wordpress/distinfo
@@ -0,0 +1,2 @@
+SHA256 (wordpress-3.2.1-ja.tar.gz) = 42f6371f529bef30163fe3b4dee3352b9739fcd3ea02edf68438ac081f3762e2
+SIZE (wordpress-3.2.1-ja.tar.gz) = 4021787
diff --git a/japanese/wordpress/files/pkg-message.in b/japanese/wordpress/files/pkg-message.in
new file mode 100644
index 000000000000..a3c01e1be0d6
--- /dev/null
+++ b/japanese/wordpress/files/pkg-message.in
@@ -0,0 +1,6 @@
+ **** NOTE ****
+Before the first use of WordPress, copy wp-config-sample.php to wp-config.php
+in %%WWWDIR%% and modify it to fit your MySQL.
+Maybe you need 'mysqladmin create wordpress' first.
+If you are upgrading from 1.x or 2.x to 3.x, please run
+http://your.site/wordpress/wp-admin/upgrade.php to upgrade to WordPress 3.x
diff --git a/japanese/wordpress/pkg-descr b/japanese/wordpress/pkg-descr
new file mode 100644
index 000000000000..e0a1413729d2
--- /dev/null
+++ b/japanese/wordpress/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://ja.wordpress.org/