diff --git a/graphics/jp2a/Makefile b/graphics/jp2a/Makefile index 25f8ff42b3a8..83f097c2a6f8 100644 --- a/graphics/jp2a/Makefile +++ b/graphics/jp2a/Makefile @@ -1,40 +1,42 @@ 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 WWW= https://github.com/Talinx/jp2a LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libexif.so:graphics/libexif \ 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 CONFIGURE_ARGS= --disable-doxygen-doc CONFIGURE_ENV+= bashcompdir=${STAGEDIR}${PREFIX}/etc/bash_completion.d MAKE_ENV+= bashcompdir=${STAGEDIR}${PREFIX}/etc/bash_completion.d LDFLAGS+= -lm PLIST_FILES= bin/jp2a \ etc/bash_completion.d/jp2a \ share/man/man1/jp2a.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/jp2a ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/jp2a.1 ${STAGEDIR}${PREFIX}/share/man/man1 @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/completion/bash/jp2a \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d .include 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