aboutsummaryrefslogtreecommitdiffstats
path: root/www/flat-frog/Makefile
blob: 408b07c927c85a4880d8cd75b69871030a886e31 (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
# 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= ports@FreeBSD.org
COMMENT=    Templating engine working in php

LICENSE=    LGPL21+
LICENSE_FILE=   ${WRKSRC}/COPYING

NO_BUILD=   yes
USE_PHP=    yes
USES=       zip

OPTIONS_DEFINE= DOCS EXAMPLES

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>