diff options
author | miwi <miwi@FreeBSD.org> | 2017-04-21 16:50:21 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2017-04-21 16:50:21 +0800 |
commit | d03f88edd3f8793041bb3c0f79db32bcd9478a54 (patch) | |
tree | ac54523cc050c2268ecb820695b9452927e2306e | |
parent | 91b09a908007af30f92b070caee5dd096c8a1ba8 (diff) | |
download | freebsd-ports-gnome-d03f88edd3f8793041bb3c0f79db32bcd9478a54.tar.gz freebsd-ports-gnome-d03f88edd3f8793041bb3c0f79db32bcd9478a54.tar.zst freebsd-ports-gnome-d03f88edd3f8793041bb3c0f79db32bcd9478a54.zip |
- Repocopy www/wordpress -> french/wordpress
PR: 218161
Submitted by: joneum@bsdproject.de
-rw-r--r-- | french/Makefile | 1 | ||||
-rw-r--r-- | french/wordpress/Makefile | 55 | ||||
-rw-r--r-- | french/wordpress/distinfo | 3 | ||||
-rw-r--r-- | french/wordpress/files/pkg-message.in | 6 | ||||
-rw-r--r-- | french/wordpress/pkg-descr | 7 |
5 files changed, 72 insertions, 0 deletions
diff --git a/french/Makefile b/french/Makefile index 35e53ece3635..4b6f5ba9c9c0 100644 --- a/french/Makefile +++ b/french/Makefile @@ -22,5 +22,6 @@ SUBDIR += php_doc SUBDIR += trytond28_account_fr SUBDIR += verbiste + SUBDIR += wordpress .include <bsd.port.subdir.mk> 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/ |