aboutsummaryrefslogblamecommitdiff
path: root/www/flat-frog/Makefile
blob: bc4c29b375176305f7cf891ca6d4ba98a2478509 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                      
                                                               




















                                                                           
# 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>