svn commit: r320921 - head/devel/fossil

Baptiste Daroussin bapt at FreeBSD.org
Fri Jun 14 13:56:04 UTC 2013


Author: bapt
Date: Fri Jun 14 13:56:04 2013
New Revision: 320921
URL: http://svnweb.freebsd.org/changeset/ports/320921

Log:
  Simplify using the new options helpers

Modified:
  head/devel/fossil/Makefile

Modified: head/devel/fossil/Makefile
==============================================================================
--- head/devel/fossil/Makefile	Fri Jun 14 13:54:36 2013	(r320920)
+++ head/devel/fossil/Makefile	Fri Jun 14 13:56:04 2013	(r320921)
@@ -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


More information about the svn-ports-head mailing list