summaryrefslogtreecommitdiff
path: root/www/template_/Makefile
blob: db53c03c7f8a5ec635577566302df05ac6b7865c (plain) (blame)
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
30
31
32
33
34
35
36
# New ports collection makefile for:    template_
# Date created:         27 Dec 2005
# Whom:                 Mun-Kyo Seo <munggo@pmy.lv>
#
# $FreeBSD$
#

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

MAINTAINER=	munggo@pmy.lv
COMMENT=	High performance PHP compiling template engine

WRKSRC=		${WRKDIR}

USE_PHP=	yes
WANT_PHP_WEB=	yes
NO_WRKSUBDIR=	yes
NO_BUILD=	yes

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

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

.include <bsd.port.mk>