aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-14 21:56:04 +0800
committerbapt <bapt@FreeBSD.org>2013-06-14 21:56:04 +0800
commit3b5167612c1d8df4bce2c99b173fe9442493cd31 (patch)
tree4735a532d8c22b792e7a825ec167ced6dd62050c
parent9af1997ad640128281d8754288391a1477cf9caf (diff)
downloadfreebsd-ports-gnome-3b5167612c1d8df4bce2c99b173fe9442493cd31.tar.gz
freebsd-ports-gnome-3b5167612c1d8df4bce2c99b173fe9442493cd31.tar.zst
freebsd-ports-gnome-3b5167612c1d8df4bce2c99b173fe9442493cd31.zip
Simplify using the new options helpers
-rw-r--r--devel/fossil/Makefile16
1 files changed, 3 insertions, 13 deletions
diff --git a/devel/fossil/Makefile b/devel/fossil/Makefile
index d4150f03cf87..df43fb23fb31 100644
--- a/devel/fossil/Makefile
+++ b/devel/fossil/Makefile
@@ -23,19 +23,9 @@ OPTIONS_DEFINE= JSON MARKDOWN STATIC
JSON_DESC= JSON API support
MARKDOWN_DESC= Markdown format support
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MJSON}
-CONFIGURE_ARGS+= --json
-.endif
-
-.if ${PORT_OPTIONS:MMARKDOWN}
-CONFIGURE_ARGS+= --markdown
-.endif
-
-.if ${PORT_OPTIONS:MSTATIC}
-CONFIGURE_ARGS+= --static
-.endif
+JSON_CONFIGURE_ON= --json
+MARKDOWN_CONFIGURE_ON= --markdown
+STATIC_CONFIGURE_ON= --static
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/fossil ${PREFIX}/bin/fossil