aboutsummaryrefslogtreecommitdiff
path: root/devel/fossil/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-08-15 21:52:58 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-08-15 21:52:58 +0000
commit4ca6310d25adf2f099f0a624b4352f84b80f8c9a (patch)
treed7e27922a437b54e81237e981dff548b9cd343a3 /devel/fossil/Makefile
parent197e31f901f54c2da3b975645c9a2c3e757a3156 (diff)
downloadports-4ca6310d25adf2f099f0a624b4352f84b80f8c9a.tar.gz
ports-4ca6310d25adf2f099f0a624b4352f84b80f8c9a.zip
- update to 20120808112557 (aka 1.23)
- changes to the ports: * add an options to enable the JSON API (by default off)
Notes
Notes: svn path=/head/; revision=302607
Diffstat (limited to 'devel/fossil/Makefile')
-rw-r--r--devel/fossil/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/fossil/Makefile b/devel/fossil/Makefile
index fe9d38c44591..22186f0604ec 100644
--- a/devel/fossil/Makefile
+++ b/devel/fossil/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= fossil
-PORTVERSION= 20120317175325
+PORTVERSION= 20120808112557
PORTEPOCH= 1
CATEGORIES= devel www
MASTER_SITES= http://www.fossil-scm.org/download/
@@ -25,6 +25,15 @@ HAS_CONFIGURE= yes
USE_GMAKE= yes
+OPTIONS_DEFINE= JSON
+JSON_DESC= JSON API support
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MJSON}
+CONFIGURE_ARGS+= --json
+.endif
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/fossil ${PREFIX}/bin/fossil