freebsd-ports/www/dwoo/Makefile
Pav Lucistnik 2485994e20 Dwoo is a PHP5 Template Engine that was started in early 2008. The idea came
from the fact that Smarty, a well known template engine, is getting older and
older. It carries the weight of it's age, having old features that are
inconsistent compared to newer ones, being written for PHP4 its Object Oriented
aspect doesn't take advantage of PHP5's more advanced features in the area,
etc. Hence Dwoo was born, hoping to provide a more up to date and stronger
engine. So far it has proven to be faster than Smarty in many areas, and it
provides a compatibility layer to allow developers that have been using Smarty
for years to switch their application over to Dwoo progressively.

WWW: http://dwoo.org/

PR:		ports/151718
Submitted by:	Joe Horn <joehorn@gmail.com>
2010-12-02 15:08:15 +00:00

49 lines
1.0 KiB
Makefile

# New ports collection makefile for: dwoo
# Date created: 2010-10-26
# Whom: Joe Horn <joehorn@gmail.com>
#
# $FreeBSD$
#
PORTNAME= dwoo
PORTVERSION= 1.1.1
CATEGORIES= www
MASTER_SITES= http://dwoo.org/upload/code/
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz
.if !defined(NOPORTDOCS)
DISTFILES+= ${PORTNAME}-${PORTVERSION}-docs.tar.gz
.endif
MAINTAINER= joehorn@gmail.com
COMMENT= Dwoo is a PHP5 template engine
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
USE_PHP= pcre
WANT_PHP_WEB= yes
DEFAULT_PHP_VER=5
IGNORE_WITH_PHP=4
SUB_FILES= pkg-message
do-install:
@${MKDIR} ${DATADIR}
@cd ${WRKSRC}; ${FIND} . -type d \
-exec ${MKDIR} ${DATADIR}/{} \;
@cd ${WRKSRC}; ${FIND} . -type f \
-exec ${INSTALL_DATA} ${WRKSRC}/{} ${DATADIR}/{} \;
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@cd ${WRKDIR}/docs; ${FIND} . -type d \
-exec ${MKDIR} ${DOCSDIR}/{} \;
@cd ${WRKDIR}/docs; ${FIND} . -type f \
-exec ${INSTALL_DATA} ${WRKDIR}/docs/{} ${DOCSDIR}/{} \;
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>