aboutsummaryrefslogtreecommitdiffstats
path: root/www/flat-frog/Makefile
blob: bc4c29b375176305f7cf891ca6d4ba98a2478509 (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
# New ports collection makefile for:    flat-frog
# Date created:     2006-10-10
# Whom:         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
USE_ZIP=    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>