git: 77883c3dc9bd - main - print/pdfcpu: Update to 0.10.2

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 27 Apr 2025 19:41:54 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=77883c3dc9bd324f638a0c9ee906be521a512ea1

commit 77883c3dc9bd324f638a0c9ee906be521a512ea1
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-04-27 19:40:49 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-04-27 19:41:03 +0000

    print/pdfcpu: Update to 0.10.2
    
    Users needs to reset their config when upgrading from a previous
    version
    
    Changelog: https://github.com/pdfcpu/pdfcpu/releases/tag/v0.10.2
---
 print/pdfcpu/Makefile    |  5 ++---
 print/pdfcpu/distinfo    | 10 +++++-----
 print/pdfcpu/pkg-message |  9 +++++++++
 3 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/print/pdfcpu/Makefile b/print/pdfcpu/Makefile
index 071edea3eac7..a322ae9648c4 100644
--- a/print/pdfcpu/Makefile
+++ b/print/pdfcpu/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	pdfcpu
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.9.1
-PORTREVISION=	2
+DISTVERSION=	0.10.2
 CATEGORIES=	print
 
 MAINTAINER=	diizzy@FreeBSD.org
@@ -11,7 +10,7 @@ WWW=		https://github.com/pdfcpu/pdfcpu
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		go:modules
+USES=		go:1.23,modules
 
 GO_MODULE=	github.com/${PORTNAME}/${PORTNAME}
 
diff --git a/print/pdfcpu/distinfo b/print/pdfcpu/distinfo
index e20df01883f0..37b88c2e0893 100644
--- a/print/pdfcpu/distinfo
+++ b/print/pdfcpu/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1729787601
-SHA256 (go/print_pdfcpu/pdfcpu-v0.9.1/v0.9.1.mod) = feed17e9b00b7967fbfef89cf9be200c4606927b4712d265ce9be1ec06e25b83
-SIZE (go/print_pdfcpu/pdfcpu-v0.9.1/v0.9.1.mod) = 319
-SHA256 (go/print_pdfcpu/pdfcpu-v0.9.1/v0.9.1.zip) = 61c4bf33e1087ac3872fd8f7fe65206d013a8d38c788f0385735343981a16d72
-SIZE (go/print_pdfcpu/pdfcpu-v0.9.1/v0.9.1.zip) = 269202173
+TIMESTAMP = 1745789350
+SHA256 (go/print_pdfcpu/pdfcpu-v0.10.2/v0.10.2.mod) = 696137cf80dde61b612cb3e2d58efffdd9d43210ea22a0b7be73113a9fc5b093
+SIZE (go/print_pdfcpu/pdfcpu-v0.10.2/v0.10.2.mod) = 384
+SHA256 (go/print_pdfcpu/pdfcpu-v0.10.2/v0.10.2.zip) = e00ce2a227b0fe875e2e3160107365b44141e39caa93e9024bb848b72d619d83
+SIZE (go/print_pdfcpu/pdfcpu-v0.10.2/v0.10.2.zip) = 274963890
diff --git a/print/pdfcpu/pkg-message b/print/pdfcpu/pkg-message
new file mode 100644
index 000000000000..b3039ec193d4
--- /dev/null
+++ b/print/pdfcpu/pkg-message
@@ -0,0 +1,9 @@
+[
+{ type: install
+  message: <<EOM
+  If you're upgrading from a previous release you prior to 0.10.1 
+  need to reset your configuration by running 'pdfcpu config reset',
+  pdfcpu still also issue a warning about this.
+EOM
+}
+]