git: db213d8abe3a - main - graphics/jp2a: Update to 1.3.1

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Mon, 21 Oct 2024 06:58:31 UTC
The branch main has been updated by ehaupt:

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

commit db213d8abe3afc34a321cafb45de86f15b285fd0
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-10-21 06:58:22 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-10-21 06:58:27 +0000

    graphics/jp2a: Update to 1.3.1
    
    - Update to 1.3.1
    - Improve the pkg-descr for better clarity and detail
---
 graphics/jp2a/Makefile  |  8 +++++---
 graphics/jp2a/distinfo  |  6 +++---
 graphics/jp2a/pkg-descr | 14 +++++++++++++-
 3 files changed, 21 insertions(+), 7 deletions(-)

diff --git a/graphics/jp2a/Makefile b/graphics/jp2a/Makefile
index 25f8ff42b3a8..83f097c2a6f8 100644
--- a/graphics/jp2a/Makefile
+++ b/graphics/jp2a/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	jp2a
-DISTVERSION=	1.3.0
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.3.1
 CATEGORIES=	graphics
-MASTER_SITES=	https://github.com/Talinx/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	Converts JPG images to ASCII
@@ -15,8 +15,10 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libpng.so:graphics/png \
 		libwebp.so:graphics/webp
 
-USES=		jpeg localbase ncurses pkgconfig tar:bz2
+USES=		autoreconf jpeg localbase ncurses pkgconfig
 USE_CSTD=	c99
+USE_GITHUB=	yes
+GH_ACCOUNT=	Talinx
 
 GNU_CONFIGURE=	yes
 
diff --git a/graphics/jp2a/distinfo b/graphics/jp2a/distinfo
index c142c3666163..7ef8304327a8 100644
--- a/graphics/jp2a/distinfo
+++ b/graphics/jp2a/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1727158667
-SHA256 (jp2a-1.3.0.tar.bz2) = 0ed7cab807488744e90190312aeb6470aad5a37e7eccb4998ddbfd351401ebe7
-SIZE (jp2a-1.3.0.tar.bz2) = 513586
+TIMESTAMP = 1729491503
+SHA256 (Talinx-jp2a-v1.3.1_GH0.tar.gz) = b811d8b1f29d47b9526c99174aea848ed14b4ad051787b6fd739d5df2234a51b
+SIZE (Talinx-jp2a-v1.3.1_GH0.tar.gz) = 604476
diff --git a/graphics/jp2a/pkg-descr b/graphics/jp2a/pkg-descr
index 91bc4300b615..ab35465d8788 100644
--- a/graphics/jp2a/pkg-descr
+++ b/graphics/jp2a/pkg-descr
@@ -1 +1,13 @@
-jp2a is a simple JPEG to ASCII viewer.
+jp2a is a simple and powerful command-line utility that converts JPEG
+images into ASCII art. This tool supports colored ASCII output and
+allows for a range of customizations, such as image scaling, brightness
+and contrast adjustments, and setting text character sets to optimize
+the ASCII rendering.
+
+Some of the key features include:
+
+* Supports both colored and grayscale ASCII art
+* Various output modes such as fitting ASCII into specific dimensions
+* Fast conversion and easy integration into shell scripts
+* Customizable character sets and dithering options for better visual
+  results