summaryrefslogtreecommitdiff
path: root/www/template_/Makefile
blob: 6ec7366d567485e0b8a3af5e2d881e686dc06c7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Mun-Kyo Seo <munggo@pmy.lv>
# $FreeBSD$

PORTNAME=	template_
PORTVERSION=	2.2.3
CATEGORIES=	www
MASTER_SITES=	http://www.xtac.net/download/?file=
DISTNAME=	Template_.2.2.3

MAINTAINER=	ports@FreeBSD.org
COMMENT=	High performance PHP compiling template engine

LICENSE=	LGPL20+

WRKSRC=		${WRKDIR}
FETCH_ARGS+=	-o ${DISTNAME}.tar.gz

USES=		php:web
NO_WRKSUBDIR=	yes
NO_BUILD=	yes

do-install:
	@${MKDIR} ${STAGEDIR}${DATADIR}/tpl_plugin
.for f in Template_.class.php Template_.compiler.php
	${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/tpl_plugin/* ${STAGEDIR}${DATADIR}/tpl_plugin
.endfor

.include <bsd.port.mk>