git: 5c2da1e7de46 - main - graphics/zint: update the port to version 2.13.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Dec 2023 08:38:55 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5c2da1e7de465281c626cd591373ec282381ef47
commit 5c2da1e7de465281c626cd591373ec282381ef47
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-12-19 08:37:42 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-12-19 08:37:42 +0000
graphics/zint: update the port to version 2.13.0
While here, don't hardcode version numbers in pkg-plist.
Reported by: portscout
---
graphics/zint/Makefile | 3 ++-
graphics/zint/distinfo | 6 +++---
graphics/zint/pkg-plist | 8 ++++----
3 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/graphics/zint/Makefile b/graphics/zint/Makefile
index cd9af6881365..b37ea63f127d 100644
--- a/graphics/zint/Makefile
+++ b/graphics/zint/Makefile
@@ -1,5 +1,5 @@
PORTNAME= zint
-PORTVERSION= 2.12.0
+PORTVERSION= 2.13.0
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@@ -20,6 +20,7 @@ USE_QT= buildtools:build qmake:build uitools:build core gui \
svg widgets
DESKTOP_ENTRIES="Zint" "Barcode generator" "" "zint-qt" "" false
+PLIST_SUB+= VER=${PORTVERSION:R}
post-patch:
@${REINPLACE_CMD} -e '/^add_library/s,STATIC,SHARED,' \
diff --git a/graphics/zint/distinfo b/graphics/zint/distinfo
index d20eff058b5e..45a2215c0c85 100644
--- a/graphics/zint/distinfo
+++ b/graphics/zint/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1670879770
-SHA256 (zint-2.12.0-src.tar.gz) = bf0a221b798abce65f48b003c0a23fa2fb184f5d35abd0eacc67d091aa9ac4bf
-SIZE (zint-2.12.0-src.tar.gz) = 5951364
+TIMESTAMP = 1702893331
+SHA256 (zint-2.13.0-src.tar.gz) = 0e957cf17c3eeb4ad619b2890d666d12a5c7adc7e7c39c207739b0f4f5c65fa2
+SIZE (zint-2.13.0-src.tar.gz) = 6186118
diff --git a/graphics/zint/pkg-plist b/graphics/zint/pkg-plist
index b51564168d9b..a0b6e53efa85 100644
--- a/graphics/zint/pkg-plist
+++ b/graphics/zint/pkg-plist
@@ -3,11 +3,11 @@ bin/zint-qt
include/qzint.h
include/zint.h
lib/libQZint.so
-lib/libQZint.so.2.12
-lib/libQZint.so.2.12.0.0
+lib/libQZint.so.%%VER%%
+lib/libQZint.so.%%VER%%.0.0
lib/libzint.so
-lib/libzint.so.2.12
-lib/libzint.so.2.12.0.0
+lib/libzint.so.%%VER%%
+lib/libzint.so.%%VER%%.0.0
share/cmake/Modules/FindZint.cmake
share/man/man1/zint.1.gz
%%DATADIR%%/zint-config.cmake