summaryrefslogtreecommitdiffstats
path: root/textproc/pecl-ctemplate/Makefile
blob: eb808060eb4bcc4aaa0d9e10cebb2399f55ac294 (plain)
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
# Created by: vanilla
# $FreeBSD$

PORTNAME=	cTemplate
PORTVERSION=	1.11
PORTREVISION=	0
CATEGORIES=	textproc pear
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	vanilla
PKGNAMEPREFIX=	pecl-
DIST_SUBDIR=	PECL

MAINTAINER=	vanilla@FreeBSD.org
COMMENT=	A PECL extension for Google ctemplate library

LIB_DEPENDS=	libctemplate.so:${PORTSDIR}/textproc/google-ctemplate

USE_XZ=		yes
USE_PHP=	yes
USE_PHPEXT=	yes
DEFAULT_PHP_VER=	5

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib ${EXTRA_LIBS}

CONFIGURE_ARGS=	--with-cTemplate=${LOCALBASE}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud