aboutsummaryrefslogtreecommitdiff
path: root/textproc/confget/Makefile
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2009-03-18 11:12:04 +0000
committerPeter Pentchev <roam@FreeBSD.org>2009-03-18 11:12:04 +0000
commitbe3a678fba94518cbe70ea5b0d95a79719b85b70 (patch)
tree78195141829942b3df2c1995f6d9d64e09967037 /textproc/confget/Makefile
parentd761d9df951e66518bf3661c5a9bbaabdcfd13a5 (diff)
downloadports-be3a678fba94518cbe70ea5b0d95a79719b85b70.tar.gz
ports-be3a678fba94518cbe70ea5b0d95a79719b85b70.zip
Notes
Diffstat (limited to 'textproc/confget/Makefile')
-rw-r--r--textproc/confget/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/textproc/confget/Makefile b/textproc/confget/Makefile
new file mode 100644
index 000000000000..7770f13bae65
--- /dev/null
+++ b/textproc/confget/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: confget
+# Date created: 18 March 2009
+# Whom: Peter Pentchev <roam@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= confget
+PORTVERSION= 1.01
+CATEGORIES= textproc
+MASTER_SITES= http://devel.ringlet.net/textproc/confget/
+
+MAINTAINER= roam@FreeBSD.org
+COMMENT= Read variables from INI-style configuration files
+
+OPTIONS= PCRE "Regular expression support" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_PCRE)
+LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
+.else
+MAKE_ENV+= PCRE_CFLAGS= PCRE_LIBS=
+.endif
+
+USE_GMAKE= yes
+
+MAKE_ENV+= CFLAGS_CONF=-DHAVE_FGETLN
+
+MAN1= confget.1
+MANCOMPRESSED= yes
+
+PLIST_FILES= bin/confget
+
+test: build
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test
+
+.include <bsd.port.post.mk>