summaryrefslogtreecommitdiff
path: root/devel/libfmt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libfmt/Makefile')
-rw-r--r--devel/libfmt/Makefile30
1 files changed, 19 insertions, 11 deletions
diff --git a/devel/libfmt/Makefile b/devel/libfmt/Makefile
index 0417bd3dd784..b7b53eca94d1 100644
--- a/devel/libfmt/Makefile
+++ b/devel/libfmt/Makefile
@@ -1,7 +1,7 @@
PORTNAME= fmt
-DISTVERSION= 11.2.0
+PORTVERSION= 11.2.0
CATEGORIES= devel
-MASTER_SITES= https://github.com/fmtlib/${PORTNAME}/releases/download/${DISTVERSION}/
+MASTER_SITES= https://github.com/fmtlib/fmt/releases/download/${PORTVERSION}/
PKGNAMEPREFIX= lib
MAINTAINER= sunpoet@FreeBSD.org
@@ -13,18 +13,26 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake:testing compiler:c++11-lang cpe pathfix zip
-USE_LDCONFIG= yes
-
-PLIST_SUB= DISTVERSION=${DISTVERSION}
-CMAKE_TESTING_ON= FMT_TEST
-
-CMAKE_OFF= FMT_DOC FMT_TEST
-CMAKE_ON= BUILD_SHARED_LIBS
+CMAKE_OFF= FMT_CUDA_TEST \
+ FMT_DOC \
+ FMT_FUZZ \
+ FMT_MODULE \
+ FMT_PEDANTIC \
+ FMT_SYSTEM_HEADERS \
+ FMT_TEST \
+ FMT_WERROR
+CMAKE_ON= BUILD_SHARED_LIBS \
+ FMT_OS
+CMAKE_TESTING_ON= \
+ FMT_FUZZ_LINKMAIN \
+ FMT_TEST
+USE_LDCONFIG= yes
-OPTIONS_DEFINE= FULL_CACHE_DRAGONBOX
-OPTIONS_DEFAULT= FULL_CACHE_DRAGONBOX
+PLIST_SUB= PORTVERSION=${PORTVERSION}
+OPTIONS_DEFINE= FULL_CACHE_DRAGONBOX
+OPTIONS_DEFAULT=FULL_CACHE_DRAGONBOX
FULL_CACHE_DRAGONBOX_DESC= Use larger binary size for better performance
FULL_CACHE_DRAGONBOX_CXXFLAGS= -DFMT_USE_FULL_CACHE_DRAGONBOX=1