head	1.14;
access;
symbols
	RELEASE_8_3_0:1.13
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.13
	RELEASE_8_1_0:1.13
	RELEASE_7_3_0:1.12
	RELEASE_8_0_0:1.12
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.10
	RELEASE_6_4_0:1.10
	RELEASE_5_EOL:1.10
	RELEASE_7_0_0:1.9
	RELEASE_6_3_0:1.9
	PRE_XORG_7:1.8
	RELEASE_4_EOL:1.7
	RELEASE_6_2_0:1.5
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2;
locks; strict;
comment	@# @;


1.14
date	2012.11.17.06.03.06;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2010.03.11.21.25.13;	author miwi;	state Exp;
branches;
next	1.12;

1.12
date	2009.03.09.20.37.36;	author miwi;	state Exp;
branches;
next	1.11;

1.11
date	2009.03.09.17.58.56;	author miwi;	state Exp;
branches;
next	1.10;

1.10
date	2008.02.02.10.26.51;	author miwi;	state Exp;
branches;
next	1.9;

1.9
date	2007.07.09.12.51.40;	author miwi;	state Exp;
branches;
next	1.8;

1.8
date	2007.03.24.16.43.28;	author pav;	state Exp;
branches;
next	1.7;

1.7
date	2006.11.08.09.28.31;	author farrokhi;	state Exp;
branches;
next	1.6;

1.6
date	2006.10.31.09.13.20;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2006.07.29.16.12.33;	author itetcu;	state Exp;
branches;
next	1.4;

1.4
date	2006.06.05.20.17.59;	author aaron;	state Exp;
branches;
next	1.3;

1.3
date	2006.05.06.14.31.29;	author ale;	state Exp;
branches;
next	1.2;

1.2
date	2006.01.06.14.21.45;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2005.12.19.20.35.54;	author aaron;	state Exp;
branches;
next	;


desc
@@


1.14
log
@Switch exporter over
@
text
@# New ports collection makefile for:	textpattern
# Date created:		30 Nov 2005
# Whom:			babak@@farrokhi.net
#
# $FreeBSD: head/www/textpattern/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	textpattern
PORTVERSION=	4.2.0
CATEGORIES=	www
MASTER_SITES=	http://textpattern.com/file_download/57/ \
		http://freebsd.unixfreunde.de/sources/

MAINTAINER=	miwi@@FreeBSD.org
COMMENT=	A free, flexible, elegant, easy-to-use content management system

NO_BUILD=	YES
WANT_PHP_WEB=	YES
USE_PHP=	mbstring xml mysql pcre

SUB_FILES=	pkg-message

do-install:
	-${MKDIR} ${WWWDIR}
	@@${CP} -R ${WRKSRC}/ ${WWWDIR}/
	@@${CAT} ${PKGMESSAGE}

create-plist:
	@@${FIND} -s ${WRKSRC}/${file} -not -type d \
	| ${SED} -e 's,^${WRKSRC},%%WWWDIR%%,' > ${PLIST}
	@@${FIND} -ds ${WRKSRC}/${file} -type d \
	| ${SED} -e 's,^${WRKSRC},@@dirrm %%WWWDIR%%,' >> ${PLIST}

.include <bsd.port.mk>
@


1.13
log
@- Update to 4.2.0
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.12
log
@- Update to 4.0.9
@
text
@d9 1
a9 1
PORTVERSION=	4.0.9
d11 2
a12 1
MASTER_SITES=	http://freebsd.unixfreunde.de/sources/
@


1.11
log
@- Update to 4.0.8
- Take over maintainership
@
text
@d9 1
a9 1
PORTVERSION=	4.0.8
d11 1
a11 1
MASTER_SITES=	http://textpattern.com/file_download/52/
a18 1
WRKSRC=		${WRKDIR}/${PORTNAME}-4.0.5/
@


1.10
log
@- Add missing dependency to pcre

PR:		120051
Submitted by:	Juergen Unger <j.unger@@jpru.de>
Approved by:	maintainer implicit
@
text
@d9 1
a9 2
PORTVERSION=	4.0.5
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://textpattern.com/file_download/37/
d13 1
a13 1
MAINTAINER=	farrokhi@@FreeBSD.org
d19 1
@


1.9
log
@- Update to 4.0.5
- USE WWWDIR
- USE SUB_DIR

Approved by:	maintainer implicit
@
text
@d10 1
d19 1
a19 1
USE_PHP=	mbstring xml mysql
@


1.8
log
@- WWWOWN and WWWGRP are defined in bsd.port.mk
@
text
@d9 1
a9 1
PORTVERSION=	4.0.4
d11 1
a11 1
MASTER_SITES=	http://www.farrokhi.net/distfiles/
a17 2
TEXTPATTERN?=	www/${PORTNAME}
PLIST_SUB+=	TEXTPATTERN=${TEXTPATTERN}
d20 2
d23 3
a25 2
	-${MKDIR} ${PREFIX}/${TEXTPATTERN}
	@@(cd ${WRKSRC} && ${CP} -R * ${PREFIX}/${TEXTPATTERN}/ )
d27 5
a31 2
post-install:
	@@${CAT} ${PKGMESSAGE}
@


1.7
log
@Change my email address to farrokhi@@ in all ports that I maintain.
Approved by:	miwi (mentor)
@
text
@a17 2
WWWOWN?=	www
WWWGRP?=	www
@


1.6
log
@- Update to 4.0.4

PR:		ports/104526
Submitted by:	Babak Farrokhi <babak@@farrokhi.net> (maintainer)
@
text
@d13 1
a13 1
MAINTAINER=	babak@@farrokhi.net
@


1.5
log
@remove support for postgresql and sqlite support from Makefile as they are not
supported in current release

PR:		ports/101021
Submitted by:	Babak Farrokhi (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	4.0.3
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://www.textpattern.com/dload/
@


1.4
log
@- www/data-dist/ -> www/
- Bump PORTREVISION due to changed plist

PR:		ports/98266
Submitted by:	Babak Farrokhi <babak@@farrokhi.net>
Reviewed by:	aaron
Approved by:	tobez (implicit)
@
text
@d23 1
a23 29
USE_PHP=	mbstring xml

OPTIONS=	MYSQL "Use MySQL backend" on \
		PGSQL "Use PostgreSQL backend" off

.if defined(PHP_VER) && ${PHP_VER} == 5
OPTIONS+=	SQLITE "Use SQLite backend" off
.endif

PORT_DBDIR?=	/var/db/ports
LATEST_LINK=	${PORTNAME}${PKGNAMESUFFIX}
OPTIONSFILE?=	${PORT_DBDIR}/${LATEST_LINK}/options

.if exists(${OPTIONSFILE})
.include "${OPTIONSFILE}"
.endif

# Options that default to on:
.if !defined(WITHOUT_MYSQL) || defined(WITH_MYSQL)
USE_PHP+=	mysql
.endif

.if defined(WITH_PGSQL)
USE_PHP+=	pgsql
.endif

.if defined(WITH_SQLITE)
USE_PHP+=	sqlite
.endif
@


1.3
log
@Fix or remove obsolate or broken ways to depend on php.
@
text
@d10 1
d21 1
a21 1
TEXTPATTERN?=	www/data-dist/${PORTNAME}
@


1.2
log
@- Update to 4.0.3

PR:		ports/91382
Submitted by:	Babak Farrokhi <babak@@farrokhi.net> (maintainer)
@
text
@a17 1
PHP4_PORT?=	www/mod_php4
@


1.1
log
@Add textpattern 4.0.2, a free, flexible, elegant, easy-to-use content
management system.

PR:		ports/89812
submitted by:	babak@@farrokhi.net
Approved by:    tobez
@
text
@d9 1
a9 1
PORTVERSION=	4.0.2
a22 1

@

