head	1.17;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.14
	RELEASE_7_4_0:1.14
	RELEASE_8_2_0:1.14
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.14
	RELEASE_8_0_0:1.14
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.12
	RELEASE_6_4_0:1.12
	RELEASE_5_EOL:1.12
	RELEASE_7_0_0:1.12
	RELEASE_6_3_0:1.12
	PRE_XORG_7:1.12
	RELEASE_4_EOL:1.12
	RELEASE_6_2_0:1.12
	RELEASE_6_1_0:1.9
	RELEASE_5_5_0:1.9
	RELEASE_6_0_0:1.9
	RELEASE_5_4_0:1.9
	RELEASE_4_11_0:1.9
	RELEASE_5_3_0:1.9
	RELEASE_4_10_0:1.9
	RELEASE_5_2_1:1.7
	RELEASE_5_2_0:1.7
	RELEASE_4_9_0:1.7
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.3
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2;
locks; strict;
comment	@# @;


1.17
date	2012.11.17.06.02.57;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2012.05.23.08.03.16;	author ale;	state Exp;
branches;
next	1.15;

1.15
date	2012.05.20.06.42.49;	author ale;	state Exp;
branches;
next	1.14;

1.14
date	2009.09.14.09.01.49;	author ale;	state Exp;
branches;
next	1.13;

1.13
date	2009.08.22.00.38.19;	author amdmi3;	state Exp;
branches;
next	1.12;

1.12
date	2006.07.05.02.30.57;	author linimon;	state Exp;
branches;
next	1.11;

1.11
date	2006.04.27.05.53.58;	author ale;	state Exp;
branches;
next	1.10;

1.10
date	2006.04.26.06.09.51;	author ale;	state Exp;
branches;
next	1.9;

1.9
date	2004.02.09.11.43.36;	author ale;	state Exp;
branches;
next	1.8;

1.8
date	2004.01.18.10.50.15;	author ale;	state Exp;
branches;
next	1.7;

1.7
date	2003.06.06.19.14.50;	author nork;	state Exp;
branches;
next	1.6;

1.6
date	2003.02.23.23.16.57;	author edwin;	state Exp;
branches;
next	1.5;

1.5
date	2003.02.21.14.01.29;	author knu;	state Exp;
branches;
next	1.4;

1.4
date	2003.01.01.21.20.50;	author petef;	state Exp;
branches;
next	1.3;

1.3
date	2002.09.03.04.05.05;	author vanilla;	state Exp;
branches;
next	1.2;

1.2
date	2002.03.27.20.49.17;	author petef;	state Exp;
branches;
next	1.1;

1.1
date	2002.02.28.16.34.21;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.17
log
@Switch exporter over
@
text
@# New ports collection makefile for:	php_templates
# Date created:				Feb 28 2002
# Whom:					vanilla
#
# $FreeBSD: head/www/php-templates/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	php-templates
PORTVERSION=	1.7.2
CATEGORIES=	www
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/1.7:ext \
		SF/${PORTNAME}/${PORTNAME}-doc/html:doc
DISTNAME=	php_templates-${PORTVERSION}
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:ext
.if !defined(NOPORTDOCS)
DISTFILES+=	php_templates-doc-eng-1.1${EXTRACT_SUFX}:doc
.endif

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A template framework for PHP

WRKSRC=		${WRKDIR}/templates
USE_DOS2UNIX=	yes

USE_PHP=	yes
USE_PHPIZE=	yes

CONFIGURE_ARGS=	--enable-templates=shared

SUB_FILES=	pkg-message

PORTDOCS=	*

do-install:
	@@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
	@@${INSTALL_DATA} ${WRKSRC}/modules/templates.so \
		${PREFIX}/lib/php/${PHP_EXT_DIR}
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}-doc/* ${DOCSDIR}
.endif

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

.include <bsd.port.mk>
@


1.16
log
@Fix build with php 5.4 and drop maintainership.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.15
log
@Mark IGNORE with php 5.4 and set 5.3 as default.

Reported by:	pav
Pointyhat to:	me
@
text
@d11 2
a12 2
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/1.7 \
		SF/${PORTNAME}/${PORTNAME}-doc/html
d14 1
a14 1
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
d16 1
a16 1
DISTFILES+=	php_templates-doc-eng-1.1${EXTRACT_SUFX}
d19 1
a19 1
MAINTAINER=	ale@@FreeBSD.org
a26 2
DEFAULT_PHP_VER=53
IGNORE_WITH_PHP=5
@


1.14
log
@Update MASTER_SITES and allow building with php5.

PR:		ports/138759
Submitted by:	Alxander Kuznetsov <skritku@@gmail.com>
@
text
@d27 2
@


1.13
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d11 2
a12 1
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/1.7
a26 1
IGNORE_WITH_PHP=5
@


1.12
log
@Change all bogus uses of BROKEN to IGNORE.  See CHANGES 20060705.

PR:		ports/92445
Hat:		portmgr
@
text
@d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
@


1.11
log
@Add USE_DOS2UNIX.
@
text
@d27 1
a27 1
BROKEN_WITH_PHP=5
@


1.10
log
@Update to 1.7.2 release:
- mark BROKEN with PHP 5
@
text
@d23 1
@


1.9
log
@Remove lang/php4/bsd.php.mk and switch every ports depending on PHP to
use Mk/bsd.php.mk.

Approved by:	nork (mentor/implicitly)
@
text
@d9 1
a9 1
PORTVERSION=	1.7
d26 1
d30 1
a30 1
PKGMESSAGE=	${WRKDIR}/pkg-message
d32 1
a32 3
post-build:
	@@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g;s|%%PHP_EXT_DIR%%|${PHP_EXT_DIR}|g" \
		${.CURDIR}/pkg-message > ${PKGMESSAGE}
@


1.8
log
@Switch to my @@FreeBSD.org email address.

Approved by:	nork (mentor)
@
text
@d24 1
a30 3
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../lang/php4/bsd.php.mk"

d47 1
a47 1
.include <bsd.port.post.mk>
@


1.7
log
@Unbreak build with new php 4.3.2,  and  Various fixes.

PR:		ports/52803
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com> (maintainer)
@
text
@d19 1
a19 1
MAINTAINER=	sysadmin@@alexdupre.com
@


1.6
log
@[Maintainer Update] Port: php-templates 1.7

	Update to 1.7
	Install documentation
	Use new WANT_AUTO****_VER variables
	Adapt to new mod_php4 port
	Fix installation with Apache2

PR:		ports/47905
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com>
@
text
@a21 8
BUILD_DEPENDS=	phpize:${PORTSDIR}/www/mod_php4
RUN_DEPENDS=	${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \
		${LOCALBASE}/bin/php:${PORTSDIR}/www/mod_php4

USE_LIBTOOL=	yes
WANT_AUTOMAKE_VER=	15
WANT_AUTOCONF_VER=	253

d24 1
a24 2
CONFIGURE_ARGS=	--enable-templates=shared \
		--with-php-config=${PREFIX}/bin/php-config
d26 1
a26 2
EXT_DIR=	20020429
PLIST_SUB=	EXT_DIR=${EXT_DIR}
d30 2
a31 3
post-extract:
	@@${ECHO_MSG} "===>  PHPizing for ${DISTNAME}"
	@@cd ${WRKSRC} && ${LOCALBASE}/bin/phpize
d34 1
a34 1
	@@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g;s|%%EXT_DIR%%|${EXT_DIR}|g" \
d38 1
a38 1
	@@${MKDIR} ${PREFIX}/lib/php/${EXT_DIR}
d40 1
a40 1
		${PREFIX}/lib/php/${EXT_DIR}
d49 1
a49 1
.include <bsd.port.mk>
@


1.5
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	1.4
d14 4
d22 1
a22 3
BUILD_DEPENDS=	aclocal:${PORTSDIR}/devel/automake \
		autoconf:${PORTSDIR}/devel/autoconf \
		phpize:${PORTSDIR}/www/mod_php4
d24 1
a24 1
		${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
d27 2
a28 1
USE_REINPLACE=	yes
d35 3
a40 2
	@@${REINPLACE_CMD} -e 's/[[:cntrl:]]$$//' ${WRKSRC}/php_templates.h \
		${WRKSRC}/templates.c ${WRKSRC}/tmpl_lib.c
d45 1
a45 1
	@@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g" \
d49 1
a49 1
	@@${MKDIR} ${PREFIX}/lib/php/extensions
d51 5
a55 1
		${PREFIX}/lib/php/extensions
@


1.4
log
@Update to 1.4.

PR:		45736
Submitted by:	maintainer
@
text
@d16 1
@


1.3
log
@Upgrade to 1.1.

PR:		ports/40829
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.1
@


1.2
log
@General cleanup:
- fix packaging
- respect prefix/localbase

Pass maintainership to submitter as well.

PR:		36382
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com>
@
text
@d9 1
a9 1
PORTVERSION=	0.2
d24 1
a24 1
LIBTOOLFILES=	aclocal.m4
d28 1
a28 1
CONFIGURE_ARGS+=--enable-templates=shared \
d31 2
d34 2
d39 4
d44 1
a44 1
	@@${MKDIR} ${PREFIX}/lib/php/20010901
d46 1
a46 1
		${PREFIX}/lib/php/20010901
d49 1
a49 2
	@@${SED} "s!%%LOCALBASE%%!${LOCALBASE}!g;s!%%PREFIX%%!${PREFIX}!g" \
		${PKGMESSAGE}
@


1.1
log
@It's a template engine for PHP.
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d36 3
a38 2
	@@${INSTALL} ${WRKSRC}/modules/templates.so \
		${LOCALBASE}/lib/php/20010901
d41 2
a42 1
	@@${SED} s!%%LOCALBASE%%!${LOCALBASE}!g ${PKGMESSAGE}
@

