1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

devel/smack: Convert to options helpers

This commit is contained in:
Tobias Kortkamp 2019-01-06 15:27:39 +00:00
parent 5295d7bcc0
commit 764c003f17
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489500

View File

@ -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>