summaryrefslogtreecommitdiff
path: root/french/wordpress
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2017-04-21 08:50:21 +0000
committerMartin Wilke <miwi@FreeBSD.org>2017-04-21 08:50:21 +0000
commitcd219b9afef3bab9e24f215fe735c11ddb5f8470 (patch)
treeac54523cc050c2268ecb820695b9452927e2306e /french/wordpress
parent- Add LICENSE (diff)
- Repocopy www/wordpress -> french/wordpress
PR: 218161 Submitted by: joneum@bsdproject.de
Notes
Notes: svn path=/head/; revision=439030
Diffstat (limited to 'french/wordpress')
-rw-r--r--french/wordpress/Makefile55
-rw-r--r--french/wordpress/distinfo3
-rw-r--r--french/wordpress/files/pkg-message.in6
-rw-r--r--french/wordpress/pkg-descr7
4 files changed, 71 insertions, 0 deletions
diff --git a/french/wordpress/Makefile b/french/wordpress/Makefile
new file mode 100644
index 000000000000..418ac72f9d68
--- /dev/null
+++ b/french/wordpress/Makefile
@@ -0,0 +1,55 @@
+# Created by: Elvis Chiang <elvis@sslab.cs.ccu.edu.tw>
+# $FreeBSD$
+
+PORTNAME= wordpress
+PORTVERSION= 4.7.3
+PORTEPOCH= 1
+DISTVERSIONSUFFIX= -fr_FR
+CATEGORIES= www
+MASTER_SITES= http://fr.wordpress.org/
+
+MAINTAINER= joneum@bsdproject.de
+COMMENT= State-of-the-art semantic personal publishing platform
+
+LICENSE= GPLv2
+
+CONFLICTS_INSTALL= de-wordpress-[0-9].* ja-wordpress-[0-9].* ru-wordpress-[0-9].*
+
+NO_ARCH= yes
+NO_BUILD= yes
+USES= php:web cpe
+USE_PHP= curl gd hash mysqli pcre tokenizer xml zip zlib ftp
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+.if ${PORTVERSION:N*.*.*}
+CPE_VERSION= ${PORTVERSION}.0
+.endif
+
+SUB_FILES= pkg-message
+PLIST= ${WRKDIR}/pkg-plist
+PORTDOCS= license.txt readme.html
+
+OPTIONS_DEFINE= DOCS
+
+pre-everything::
+ @${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
+ @${ECHO_CMD} ""
+ @sleep 1
+
+pre-install:
+ ${ECHO_CMD} '@owner www' > ${PLIST}
+ ${ECHO_CMD} '@group www' >> ${PLIST}
+ cd ${WRKSRC}/ && ${FIND} -s * -type f | ${SED} -e 's|^|%%WWWDIR%%/|' >> ${PLIST}
+ ${ECHO_CMD} '@owner' >> ${PLIST}
+ ${ECHO_CMD} '@group' >> ${PLIST}
+ if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \
+ ${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi
+
+do-install:
+ ${INSTALL} -d -m 755 ${STAGEDIR}${WWWDIR}/
+ ${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
+ ${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w {} \;
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
+
+.include <bsd.port.mk>
diff --git a/french/wordpress/distinfo b/french/wordpress/distinfo
new file mode 100644
index 000000000000..49c136df07df
--- /dev/null
+++ b/french/wordpress/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1492764444
+SHA256 (wordpress-4.7.3-fr_FR.tar.gz) = 43b017da95f6e3763affaba53ef9d67282f99082dca93d7c34e85aee8b883f59
+SIZE (wordpress-4.7.3-fr_FR.tar.gz) = 8488876
diff --git a/french/wordpress/files/pkg-message.in b/french/wordpress/files/pkg-message.in
new file mode 100644
index 000000000000..11afe3fec699
--- /dev/null
+++ b/french/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 or 3.x to 4.x, please run
+http://your.site/wordpress/wp-admin/upgrade.php to upgrade to WordPress 4.x
diff --git a/french/wordpress/pkg-descr b/french/wordpress/pkg-descr
new file mode 100644
index 000000000000..a686a88b3c3b
--- /dev/null
+++ b/french/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://fr.wordpress.org/