svn commit: r489500 - head/devel/smack
Tobias Kortkamp
tobik at FreeBSD.org
Sun Jan 6 15:27:40 UTC 2019
Author: tobik
Date: Sun Jan 6 15:27:39 2019
New Revision: 489500
URL: https://svnweb.freebsd.org/changeset/ports/489500
Log:
devel/smack: Convert to options helpers
Modified:
head/devel/smack/Makefile
Modified: head/devel/smack/Makefile
==============================================================================
--- head/devel/smack/Makefile Sun Jan 6 15:09:04 2019 (r489499)
+++ head/devel/smack/Makefile Sun Jan 6 15:27:39 2019 (r489500)
@@ -14,23 +14,15 @@ LICENSE= GPLv2
LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \
libsnappy.so:archivers/snappy
+USES= cmake compiler:c++11-lang
USE_GITHUB= yes
GH_ACCOUNT= zloidemon
GH_TAGNAME= 72c81bf
-
-USES= cmake compiler:c++11-lang
USE_LDCONFIG= yes
OPTIONS_DEFINE= EXAMPLES
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-PLIST_SUB+= EXAMPLES=""
-CMAKE_ARGS= -DENABLE_EXAMPLES=ON
-.else
-CMAKE_ARGS= -DENABLE_EXAMPLES=OFF
-PLIST_SUB+= EXAMPLES="@comment "
-.endif
+EXAMPLES_CMAKE_BOOL= ENABLE_EXAMPLES
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list