aboutsummaryrefslogtreecommitdiffstats
path: root/www/template_/Makefile
blob: b6b86fe227f45ec7eabac82a0f5bdd89217da248 (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://www.xtac.net/download/?file=
DISTNAME=   Template_.2.2.3

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

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

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>