aboutsummaryrefslogtreecommitdiffstats
path: root/www/skytemplate/Makefile
blob: d222fba7816470e6d0144250d0039a4489f06097 (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
37
# New ports collection makefile for:    skytemplate
# Date created:     28 Jul 2005
# Whom:         Mun-Kyo Seo <munggo@gmail.com>
#
# $FreeBSD$

PORTNAME=   skytemplate
PORTVERSION=    1.4.0
CATEGORIES= www
MASTER_SITES=   http://daddy.withsky.net/SkyTemplate/download/ \
        http://mirror.pmy.lv/SkyTemplate/download/
DISTNAME=   SkyTemplate.v${PORTVERSION:S/.//g}

MAINTAINER= munggo@gmail.com
COMMENT=    Yet another PHP compiling template engine

WRKSRC=     ${WRKDIR}/${DISTNAME}

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

SUB_FILES=  pkg-message

do-install:
    ${MKDIR} ${DATADIR}
.for f in class.SkyTemplate.php class.SkyTemplate_withDaddy.php
    ${INSTALL_DATA} ${WRKSRC}/$f ${DATADIR}
    ${MKDIR} ${DATADIR}/SkyTpl
    ${INSTALL_DATA} ${WRKSRC}/SkyTpl/* ${DATADIR}/SkyTpl
.endfor

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

.include <bsd.port.mk>