1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/www/dwoo/Makefile
2014-02-14 17:16:19 +00:00

45 lines
970 B
Makefile

# Created by: 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
SUB_FILES= pkg-message
NO_STAGE= yes
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>