aboutsummaryrefslogtreecommitdiffstats
path: root/www/flat-frog/Makefile
blob: b3c334ddeff530102e24de37cfcc2e917fadd67e (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
# 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

NO_STAGE=   yes
do-install:
    ${MKDIR} ${DATADIR} ${DATADIR}/plugins
    ${INSTALL_DATA} ${WRKSRC}/src/class.* ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/src/plugins/* ${DATADIR}/plugins
    ${MKDIR} ${EXAMPLESDIR} ${EXAMPLESDIR}/templates
    ${INSTALL_DATA} ${WRKSRC}/demo/test.* ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/demo/templates/* ${EXAMPLESDIR}/templates
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
.endif

.include <bsd.port.mk>