head	1.8;
access;
symbols
	RELEASE_7_2_0:1.7
	RELEASE_7_1_0:1.7
	RELEASE_6_4_0:1.6
	RELEASE_5_EOL:1.6
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5;
locks; strict;
comment	@# @;


1.8
date	2009.06.13.15.24.18;	author erwin;	state dead;
branches;
next	1.7;

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

1.6
date	2008.03.02.08.25.04;	author linimon;	state Exp;
branches;
next	1.5;

1.5
date	2007.09.29.10.19.16;	author miwi;	state Exp;
branches;
next	1.4;

1.4
date	2007.07.09.07.13.24;	author rafan;	state Exp;
branches;
next	1.3;

1.3
date	2007.07.05.07.21.21;	author beech;	state Exp;
branches;
next	1.2;

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

1.1
date	2007.05.28.05.55.34;	author delphij;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Remove chinese/wordpress which has been mark FORBIDDEN over 6 months ago.
@
text
@# New ports collection makefile for:	wordpress
# Date created:		2007-05-11
# Whom:			Yinghong Liu <relaxbsd@@gmail.com>
#
# $FreeBSD: ports/chinese/wordpress/Makefile,v 1.7 2008/11/29 15:32:54 miwi Exp $
#

PORTNAME=	wordpress
PORTVERSION=	2.2.3
CATEGORIES=	chinese www
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	${PORTNAME}-zh
PKGNAMEPREFIX=	zh-
DISTNAME=	${PORTNAME}_${PORTVERSION}_zh_CN

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A state-of-the-art semantic personal publishing platform

WRKSRC=		${WRKDIR}/${PORTNAME}


FORBIDDEN=	http://www.vuxml.org/freebsd/622bc638-be27-11dd-a578-0030843d3802.html

USE_ZIP=	YES
USE_PHP=	mysql pcre xml
NO_BUILD=	YES
WANT_PHP_WEB=	YES
WORDPRESS?=	www/wordpress

SUB_FILES=	pkg-message
SUB_LIST=	WORDPRESSDIR="${PREFIX}/${WORDPRESS}"

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:
	if [ ! -f ${WRKSRC}/wp-config.php ]; then ${CP} \
		${WRKSRC}/wp-config-sample.php ${WRKSRC}/wp-config.php; fi

do-install:
	@@${MKDIR} ${PREFIX}/${WORDPRESS}
	@@${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${WORDPRESS}
	@@${CHMOD} 755 ${PREFIX}/${WORDPRESS}
	${CP} -R ${WRKSRC}/ ${PREFIX}/${WORDPRESS}
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
.endfor
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.7
log
@- Mark as FORBIDDEN to many security issues, latest release is from september 2007

http://www.vuxml.org/freebsd/622bc638-be27-11dd-a578-0030843d3802.html
http://www.vuxml.org/freebsd/884fced7-7f1c-11dd-a66a-0019666436c2.html
http://www.vuxml.org/freebsd/a467d0f9-8875-11dc-b3ba-0016179b2dd5.html
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@Reset relaxbsd@@gmail.com due to maintainer-timeouts.

Hat:		portmgr
@
text
@d21 3
@


1.5
log
@- Update to 2.2.3

PR:		116390
Submitted by:	miwi
Approved by:	secteam (simon)
Security:	http://www.vuxml.org/freebsd/63347ee7-6841-11dc-82b6-02e0185f8d72.html
@
text
@d16 1
a16 1
MAINTAINER=	relaxbsd@@gmail.com
@


1.4
log
@- Update to 2.2.1 [1]
- Use SUB_FILES for pkg-message [2]

PR:		ports/114403 [1]
Submitted by:	Yinghong Liu (maintainer) [1]
Approved by:	maintainer via private mail [2]
@
text
@d9 1
a9 1
PORTVERSION=	2.2.1
@


1.3
log
@- Change maintainer address
- Cleanup master_sites

Requested by:	Yinghong Liu <relaxbsd@@gmail.com> (maintainer)
Approved by:	sat (mentor)
@
text
@d9 1
a9 2
PORTVERSION=	2.2
PORTREVISION=	1
d26 3
a28 1
PKGMESSAGE=	${WRKDIR}/pkg-message
a51 2
	@@${SED} "s|%%WORDPRESSDIR%%|${PREFIX}/${WORDPRESS}|g" \
		${.CURDIR}/pkg-message > ${PKGMESSAGE}
@


1.2
log
@- Fix pkg-plist
- Bump PORTREVISION

PR:             113088
Submitted by:   Yinghong. Liu <relaxbsd@@gmail.com> (maintainer)
@
text
@d3 1
a3 1
# Whom:			Yinghong.Liu <liu_yinghong@@yahoo.com.cn>
d12 1
a12 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
d17 1
a17 1
MAINTAINER=	liu_yinghong@@yahoo.com.cn
@


1.1
log
@New port: chinese/wordpress A state-of-the-art semantic personal
publishing platform.

Submitted by:	Yinghong Liu
PR:		ports/112609 (with changes)
@
text
@d10 1
a26 2
PLIST_SUB+=	WORDPRESS=${WORDPRESS}
PLIST=		${WRKDIR}/pkg-plist
d37 1
a37 7
	@@${ECHO_CMD} "@@unexec if cmp -s %D/www/wordpress/wp-config.php %D/www/wordpress/wp-config-sample.php; then ${RM} -f %D/www/wordpress/wp-config.php; fi" > ${PLIST}
	@@cd ${WRKSRC} && ${FIND} -s * -type f | \
		${SED} -e 's|^|${WORDPRESS}/|' >> ${PLIST} \
		&& ${FIND} -d * -type d | \
		${SED} -e 's|^|@@dirrm ${WORDPRESS}/|' >> ${PLIST} \
		&& ${ECHO_CMD} @@dirrmtry ${WORDPRESS} >> ${PLIST}
	@@if [ ! -f ${WRKSRC}/wp-config.php ]; then ${CP} \
@

