summaryrefslogtreecommitdiff
path: root/archivers/libdeflate/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/libdeflate/Makefile')
-rw-r--r--archivers/libdeflate/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/archivers/libdeflate/Makefile b/archivers/libdeflate/Makefile
index 9aa8255c11bb..d750546706cb 100644
--- a/archivers/libdeflate/Makefile
+++ b/archivers/libdeflate/Makefile
@@ -1,7 +1,7 @@
PORTNAME= libdeflate
-PORTVERSION= 1.22
+DISTVERSION= 1.24
CATEGORIES= archivers
-MASTER_SITES= https://github.com/ebiggers/${PORTNAME}/releases/download/v${PORTVERSION}/
+MASTER_SITES= https://github.com/ebiggers/${PORTNAME}/releases/download/v${DISTVERSION}/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Fast, whole-buffer DEFLATE-based compression library
@@ -10,16 +10,14 @@ WWW= https://github.com/ebiggers/libdeflate
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= cmake:testing pathfix
+USES= cmake:testing
USE_LDCONFIG= yes
+
CMAKE_ON= LIBDEFLATE_USE_SHARED_LIB
CMAKE_TESTING_ON= LIBDEFLATE_BUILD_TESTS
OPTIONS_DEFINE= DOCS
-post-patch:
- @${REINPLACE_CMD} -e '/-O2 -DNDEBUG/d' ${WRKSRC}/CMakeLists.txt
-
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR}