aboutsummaryrefslogtreecommitdiffstats
path: root/www/flat-frog/Makefile
blob: 7055bbde5fc446a84ce17273eb1e8976b00d6ea8 (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
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

PORTNAME=   flat-frog
PORTVERSION=    2.2.13
CATEGORIES= www
MASTER_SITES=   SF/flatfrog/flatfrog/${PORTNAME}-${PORTVERSION}

MAINTAINER= gslin@gslin.org
COMMENT=    A templating engine working in php

NO_BUILD=   yes
USE_PHP=    yes
USES=       zip

do-install:
    ${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DATADIR}/plugins
    ${INSTALL_DATA} ${WRKSRC}/src/class.* ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/src/plugins/* ${STAGEDIR}${DATADIR}/plugins
    ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${EXAMPLESDIR}/templates
    ${INSTALL_DATA} ${WRKSRC}/demo/test.* ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/demo/templates/* ${STAGEDIR}${EXAMPLESDIR}/templates
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>