head	1.21;
access;
symbols
	RELEASE_8_3_0:1.14
	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.2;
locks; strict;
comment	@# @;


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

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

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

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

1.17
date	2012.06.28.17.52.41;	author jase;	state Exp;
branches;
next	1.16;

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

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

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

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

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

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

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

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

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

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

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

1.5
date	2010.12.12.01.11.39;	author pgollucci;	state Exp;
branches;
next	1.4;

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

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

1.2
date	2010.06.20.12.21.34;	author miwi;	state Exp;
branches;
next	1.1;

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


desc
@@


1.21
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_TW/Makefile 311200 2013-01-30 06:30:12Z delphij $

PORTNAME=	wordpress
PORTVERSION=	3.5.1
CATEGORIES=	chinese www
MASTER_SITES=	http://tw.wordpress.org/ \
		http://mirror.joehorn.idv.tw/wordpress/
PKGNAMESUFFIX=	-zh_TW
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.20
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_TW/Makefile 309038 2012-12-16 19:24:53Z rm $
d5 1
a5 1
PORTVERSION=	3.5
@


1.19
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	wordpress-zh_TW
# Date created:		2010-03-01
# Whom:			Joe Horn <joehorn@@gmail.com>
#
# $FreeBSD: head/chinese/wordpress-zh_TW/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.18
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.17
log
@- Update to 3.4.1 [1]
- Convert to optionsNG and add DOCS option

PR:		ports/169515 [1]
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.16
log
@- Update to 3.4

Changes:	http://tw.wordpress.org/2012/06/14/green/
PR:		ports/169093
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.15
log
@- Update to 3.3.2

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


1.14
log
@- Update to 3.3.1

Changes:	http://tw.wordpress.org/2012/01/17/wordpress-3-3-1-%e5%ae%89%e5%85%a8%e8%88%87%e7%b6%ad%e8%ad%b7%e7%89%88%e6%9c%ac%e9%87%8b%e5%87%ba/
PR:		ports/164465
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.13
log
@- Update to 3.2.1

Changes:	http://tw.wordpress.org/2011/07/13/wordpress-3-2-1/
PR:		ports/158856
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://tw.wordpress.org/2011/07/05/gershwin/
PR:		ports/158655
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://tw.wordpress.org/2011/05/26/wordpress-3-1-3/
PR:		ports/157349
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://tw.wordpress.org/2011/04/27/wordpress-3-1-2/
PR:		ports/156666
Submitted by:	Bo-Yi Wu <appleboy.tw@@gmail.com>
Approved by:	maintainer (timeout, 17 days)
@
text
@d9 1
a9 1
PORTVERSION=	3.1.2
@


1.9
log
@- Update to 3.1.1

Changes:	http://tw.wordpress.org/2011/04/05/wordpress-3-1-1/
PR:		ports/156273
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:		155079
Submitted by:	Bo-Yi Wu <appleboy.tw@@gmail.com>
Approved by:	maintainer timeout
@
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://tw.wordpress.org/2010/12/30/3-0-4-%e9%87%8d%e8%a6%81%e5%ae%89%e5%85%a8%e6%80%a7%e6%9b%b4%e6%96%b0/
PR:		ports/153558
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

PR:             ports/152984
Submitted by:   Bo-Yi Wu <appleboy.tw@@gmail.com>
Approved by:    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://tw.wordpress.org/2010/12/01/wordpress-3-0-2/
PR:		ports/152779
Submitted by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.0.2
@


1.3
log
@- Update to 3.0.1
- Add LICENSE

Changes:	http://codex.wordpress.org/Version_3.0.1
PR:		ports/151780
Submitted by:	Joe Horn <joehorn@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.0.1
d11 2
a12 1
MASTER_SITES=	http://tw.wordpress.org/
@


1.2
log
@- Update to WP 3.0

PR:		147966 [1]
		147945 [2]
Submitted by:	Joe Horn <joehorn@@gmail.com> [1]
		Yuan-Chung Hsiao <ychsiao@@ychsiao.org> [2]
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	3.0
d13 1
a13 1
DISTNAME=	wordpress-${PORTVERSION}-zh_TW
d18 2
@


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://tw.wordpress.org/

PR:		ports/144369
Submitted by:	Joe Horn <joehorn@@gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	2.9.2
d11 1
a11 1
MASTER_SITES=	http://cn.wordpress.org/
a23 4
WORDPRESS=	www/wordpress-zh_TW
WWWDIR=		${PREFIX}/${WORDPRESS}

PLIST_SUB+=	WORDPRESS=${WORDPRESS}
d25 1
d39 1
a39 1
		${SED} -e 's|^|${WORDPRESS}/|' > ${PLIST} \
d41 2
a42 2
		${SED} -e 's|^|@@dirrm ${WORDPRESS}/|' >> ${PLIST} \
		&& ${ECHO_CMD} @@dirrm ${WORDPRESS} >> ${PLIST}
@

