aboutsummaryrefslogtreecommitdiffstats
path: root/www/templatelite/Makefile
blob: 46ebb661c6d4b01edc79d6ce2fda5a5f5c006e62 (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
# Created by: Alexander Zhuravlev <zaa@zaa.pp.ru>
# $FreeBSD$

PORTNAME=   templatelite
PORTVERSION=    2.10
CATEGORIES= www
MASTER_SITES=   SF/${PORTNAME}/Template%20Lite/Template%20Lite%20version%20${PORTVERSION}
DISTNAME=   template_lite_${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A smaller, faster alternative to the Smarty template engine

NO_BUILD=   yes
USE_PHP=    pcre
WANT_PHP_WEB=   yes
WRKSRC= ${WRKDIR}/template_lite
SUB_FILES=  pkg-message

NO_STAGE=   yes
do-install:
    @${MKDIR} ${DATADIR}
    @cd ${WRKSRC}/src && ${FIND} * | ${TAR} cTf - - | ${TAR} xUCf ${DATADIR} -
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @cd ${WRKSRC}/docs && ${FIND} * | ${TAR} cTf - - | ${TAR} xUCf ${DOCSDIR} -
.endif

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>