summaryrefslogtreecommitdiffstats
path: root/textproc/pecl-ctemplate/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/pecl-ctemplate/Makefile')
-rw-r--r--textproc/pecl-ctemplate/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/textproc/pecl-ctemplate/Makefile b/textproc/pecl-ctemplate/Makefile
new file mode 100644
index 0000000..4c926ec
--- /dev/null
+++ b/textproc/pecl-ctemplate/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: pecl-cTemplate
+# Date created: 07 May 2006
+# Whom: vanilla
+#
+# $FreeBSD$
+#
+
+PORTNAME= cTemplate
+PORTVERSION= 0.1
+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= ctemplate.0:${PORTSDIR}/textproc/google-ctemplate
+
+USE_PHP= yes
+USE_PHPEXT= yes
+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib ${EXTRA_LIBS}"
+
+CONFIGURE_ARGS= --with-cTemplate=${LOCALBASE}
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud