head	1.22;
access;
symbols
	RELEASE_8_3_0:1.15
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.1;
locks; strict;
comment	@# @;


1.22
date	2013.01.30.06.43.20;	author svnexp;	state Exp;
branches;
next	1.21;

1.21
date	2012.12.16.19.34.10;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2012.11.17.05.54.58;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2012.09.07.20.25.41;	author swills;	state Exp;
branches;
next	1.18;

1.18
date	2012.06.30.13.14.12;	author jase;	state Exp;
branches;
next	1.17;

1.17
date	2012.06.16.19.56.56;	author sunpoet;	state Exp;
branches;
next	1.16;

1.16
date	2012.04.22.13.18.17;	author sunpoet;	state Exp;
branches;
next	1.15;

1.15
date	2012.01.25.23.12.48;	author sunpoet;	state Exp;
branches;
next	1.14;

1.14
date	2011.12.14.06.52.59;	author sunpoet;	state Exp;
branches;
next	1.13;

1.13
date	2011.07.13.05.56.46;	author sunpoet;	state Exp;
branches;
next	1.12;

1.12
date	2011.07.05.06.48.54;	author sunpoet;	state Exp;
branches;
next	1.11;

1.11
date	2011.05.26.19.23.46;	author sunpoet;	state Exp;
branches;
next	1.10;

1.10
date	2011.05.03.13.08.16;	author sunpoet;	state Exp;
branches;
next	1.9;

1.9
date	2011.04.16.13.24.12;	author sunpoet;	state Exp;
branches;
next	1.8;

1.8
date	2011.03.17.13.13.11;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2011.02.08.13.35.52;	author miwi;	state Exp;
branches;
next	1.6;

1.6
date	2010.12.31.02.26.11;	author sunpoet;	state Exp;
branches;
next	1.5;

1.5
date	2010.12.12.14.15.33;	author sunpoet;	state Exp;
branches;
next	1.4;

1.4
date	2010.12.02.15.57.58;	author sunpoet;	state Exp;
branches;
next	1.3;

1.3
date	2010.10.06.01.47.11;	author sunpoet;	state Exp;
branches;
next	1.2;

1.2
date	2010.08.19.16.17.26;	author lwhsu;	state Exp;
branches;
next	1.1;

1.1
date	2010.03.16.07.14.57;	author wen;	state Exp;
branches;
next	;


desc
@@


1.22
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311200
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Joe Horn <joehorn@@gmail.com>
# $FreeBSD: head/chinese/wordpress-zh_CN/Makefile 311200 2013-01-30 06:30:12Z delphij $

PORTNAME=	wordpress
PORTVERSION=	3.5.1
CATEGORIES=	chinese www
MASTER_SITES=	http://cn.wordpress.org/ \
		http://mirror.joehorn.idv.tw/wordpress/
PKGNAMESUFFIX=	-zh_CN
DISTNAME=	${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}

MAINTAINER=	joehorn@@gmail.com
COMMENT=	State-of-the-art semantic personal publishing platform

LICENSE=	GPLv2

WRKSRC=		${WRKDIR}/${PORTNAME}

USE_PHP=	curl gd mysql pcre tokenizer xml zip
NO_BUILD=	yes
WANT_PHP_WEB=	yes

PLIST=		${WRKDIR}/pkg-plist
WWWDIR=		${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX}

PORTDOCS=	readme.html

OPTIONS_DEFINE=	DOCS

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|^|${WWWDIR:S|${PREFIX}/||}/|' > ${PLIST} \
		&& ${FIND} -d * -type d | \
		${SED} -e 's|^|@@dirrm ${WWWDIR:S|${PREFIX}/||}/|' >> ${PLIST} \
		&& ${ECHO_CMD} @@dirrm ${WWWDIR:S|${PREFIX}/||} >> ${PLIST}
	if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \
		${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi

.include <bsd.port.options.mk>

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 ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
.endfor
.endif

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.21
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309038
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309038 | rm | 2012-12-16 19:24:53 +0000 (Sun, 16 Dec 2012) | 19 lines
## SVN ##
## SVN ## - update russian [1], chinese_zh_TW [2] and chinese_zh_CN [3]
## SVN ##   versions of wordpress to 3.5
## SVN ##
## SVN ## while here, make changes common for all of this ports:
## SVN ## - trim Makefile header
## SVN ## - remove indefinite article from COMMENT
## SVN ## - do not define LICENSE_FILE for standard license
## SVN ## - remove license.txt from PORTDOCS
## SVN ## - tab -> space change in pkg-descr:WWW
## SVN ## - trailing whitespace fixes
## SVN ##
## SVN ## PR:		174399 [1]
## SVN ## PR: 174452 [2]
## SVN ## PR: 174400 [3]
## SVN ## Submitted by: Mihail Timofeev <9267096@@gmail.com> (maintainer) [1],
## SVN ##               Bo-Yi Wu <appleboy.tw@@gmail.com> [2],
## SVN ##               Joe Horn <joehorn@@gmail.com> (maintainer) [3]
## SVN ## Approved by:	Joe Horn <joehorn@@gmail.com> (maintainer) [2]
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/chinese/wordpress-zh_CN/Makefile 309038 2012-12-16 19:24:53Z rm $
d5 1
a5 1
PORTVERSION=	3.5
@


1.20
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	wordpress-zh_CN
# Date created:		2010-03-01
# Whom:			Joe Horn <joehorn@@gmail.com>
#
# $FreeBSD: head/chinese/wordpress-zh_CN/Makefile 303824 2012-09-07 20:25:41Z swills $
#
d5 1
a5 1
PORTVERSION=	3.4.2
d13 1
a13 1
COMMENT=	A state-of-the-art semantic personal publishing platform
d20 2
a21 2
NO_BUILD=	YES
WANT_PHP_WEB=	YES
d26 1
a26 1
PORTDOCS=	license.txt readme.html
@


1.19
log
@SVN rev 303824 on 2012-09-07 20:25:41Z by swills

- Update to 3.4.2 [1] [2] [3]
- Document security issue [4]

PR:		ports/171397 [1]
PR:		ports/171404 [2]
PR:		ports/171405 [3]
Submitted by:	Yuan-Chung Hsiao <ychsiao@@ychsiao.org> (maintainer) [1]
Submitted by:	Joe Horn <joehorn@@gmail.com> (maintainer) [2] [3]
Reviewed by:	eadler [4]
Security:	30149157-f926-11e1-95cd-001fd0af1a4c
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.18
log
@- Update to 3.4.1
- Convert to optionsNG and add DOCS option

PR:		ports/169527
Submitted by:	Joe Horn <joehorn@@gmail.com> (maintainer)
Approved by:	culot (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	3.4.1
d23 1
a23 1
USE_PHP=	mysql pcre xml gd tokenizer
@


1.17
log
@- Update to 3.4

Changes:	http://cn.wordpress.org/2012/06/14/green/
PR:		ports/169092
Submitted by:	Bo-Yi Wu <appleboy.tw@@gmail.com>
Approved by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.4
d32 2
d51 2
d61 1
a61 1
.if !defined(NOPORTDOCS)
@


1.16
log
@- Update to 3.3.2

Changes:	http://cn.wordpress.org/2012/04/21/wordpress-3-3-2/
PR:		ports/167174
Submitted by:	sunpoet (myself)
Approved by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.3.2
@


1.15
log
@- Update to 3.3.1

Changes:	http://cn.wordpress.org/2012/01/04/wordpress-3-3-1/
PR:		ports/164466
Submitted by:	Bo-Yi Wu <appleboy.tw@@gmail.com>
Approved by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.3.1
@


1.14
log
@- Update to 3.3

Changes:	http://cn.wordpress.org/2011/12/13/sonny/
PR:		ports/163235
Submitted by:	sunpoet (myself)
Approved by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.3
@


1.13
log
@- Update to 3.2.1

Changes:	http://cn.wordpress.org/2011/07/13/wordpress-3-2-1/
PR:		ports/158857
Submitted by:	sunpoet (myself)
Approved by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.2.1
@


1.12
log
@- Update to 3.2

Changes:	http://cn.wordpress.org/2011/07/05/gershwin/
PR:		ports/158656
Submitted by:	sunpoet (myself)
Approved by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.2
@


1.11
log
@- Update to 3.1.3

Changes:	http://cn.wordpress.org/2011/05/26/wordpress-3-1-3/
PR:		ports/157350
Submitted by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.1.3
@


1.10
log
@- Update to 3.1.2

Changes:	http://cn.wordpress.org/2011/04/27/wordpress-3-1-2/
PR:		ports/156792
Submitted by:	sunpoet (myself)
Approved by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.1.2
@


1.9
log
@- Update to 3.1.1

Changes:	http://cn.wordpress.org/2011/04/05/wordpress-3-1-1/
PR:		ports/156274
Submitted by:	Bo-Yi Wu <appleboy.tw@@gmail.com>
Approved by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.1.1
@


1.8
log
@- Update to 3.1

PR:		155054
Submitted by:	Bo-Yi Wu <appleboy.tw@@gmail.com>
Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	3.1
@


1.7
log
@- Update to 3.0.5

With hat:	secteam (myself)
Security:	http://codex.wordpress.org/Version_3.0.5
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	3.0.5
@


1.6
log
@- Update to 3.0.4

Changes:	http://cn.wordpress.org/2010/12/30/3-0-4-update/
PR:		ports/153559
Submitted by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.0.4
@


1.5
log
@- Update to 3.0.3

Changes:	http://cn.wordpress.org/2010/12/09/wordpress-3-0-3/
PR:		ports/152985
Submitted by:	Bo-Yi Wu <appleboy.tw@@gmail.com>
Approved by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.0.3
@


1.4
log
@- Update to 3.0.2
- Add MASTER_SITES

Changes:	http://cn.wordpress.org/2010/12/01/wordpress-3-0-2/
PR:		ports/152780
Submitted by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.0.2
@


1.3
log
@- Tarball rerolled
- Bump PORTREVISION

Changes:
- Update language files
- Update Akismet from 2.3.0 to 2.4.0

Updated files:
  wp-content/languages/zh_CN.mo
  wp-content/languages/zh_CN.po
  wp-content/plugins/akismet/akismet.php
  wp-content/plugins/akismet/legacy.php (new)
  wp-content/plugins/akismet/readme.txt
  wp-content/themes/twentyten/languages/zh_CN.mo
  wp-content/themes/twentyten/languages/zh_CN.po

PR:		ports/151139
Submitted by:	Joe Horn <joehorn at gmail.com> (maintainer)
Approved by:	pgollucci (mentor)
@
text
@d9 1
a9 2
PORTVERSION=	3.0.1
PORTREVISION=	1
d11 2
a12 1
MASTER_SITES=	http://cn.wordpress.org/
d14 1
a14 1
DISTNAME=	wordpress-${PORTVERSION}${PKGNAMESUFFIX}
@


1.2
log
@- Update to 3.0.1
- Add LICENSE setting

PR:		ports/149778
Submitted by:	Joe Horn <joehorn AT gmail.com>
@
text
@d10 1
@


1.1
log
@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/

PR:		ports/144370
Submitted by:	Joe Horn <joehorn@@gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	2.9.2
d13 1
a13 1
DISTNAME=	wordpress-${PORTVERSION}-zh_CN
d18 2
a25 4
WORDPRESS=	www/wordpress-zh_CN
WWWDIR=		${PREFIX}/${WORDPRESS}

PLIST_SUB+=	WORDPRESS=${WORDPRESS}
d27 1
d41 1
a41 1
		${SED} -e 's|^|${WORDPRESS}/|' > ${PLIST} \
d43 2
a44 2
		${SED} -e 's|^|@@dirrm ${WORDPRESS}/|' >> ${PLIST} \
		&& ${ECHO_CMD} @@dirrm ${WORDPRESS} >> ${PLIST}
@

