aboutsummaryrefslogtreecommitdiff
path: root/graphics/jp2a
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2020-10-10 16:40:03 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2020-10-10 16:40:03 +0000
commit75bf02a5c5c4f5525dea783a6d4e3c3bfaeeb8ae (patch)
treec1ee4dde24fedc8286eff90fd9810fba110bb6a8 /graphics/jp2a
parentfdce4e306fd890f38955982f4595a5e9194c18fe (diff)
downloadports-75bf02a5c5c4f5525dea783a6d4e3c3bfaeeb8ae.tar.gz
ports-75bf02a5c5c4f5525dea783a6d4e3c3bfaeeb8ae.zip
Notes
Diffstat (limited to 'graphics/jp2a')
-rw-r--r--graphics/jp2a/Makefile21
-rw-r--r--graphics/jp2a/distinfo6
-rw-r--r--graphics/jp2a/pkg-descr2
3 files changed, 16 insertions, 13 deletions
diff --git a/graphics/jp2a/Makefile b/graphics/jp2a/Makefile
index a433a01d578b..cfe699a76249 100644
--- a/graphics/jp2a/Makefile
+++ b/graphics/jp2a/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= jp2a
-PORTVERSION= 1.0.9
+PORTVERSION= 1.1.0
DISTVERSIONPREFIX= v
CATEGORIES= graphics
@@ -12,24 +12,27 @@ COMMENT= Converts JPG images to ASCII
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libcurl.so:ftp/curl
+BUILD_DEPENDS= autoconf-archive>0:devel/autoconf-archive
+LIB_DEPENDS= libcurl.so:ftp/curl \
+ libpng16.so:graphics/png
USES= autoreconf jpeg ncurses pkgconfig
-GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= Talinx
-CONFIGURE_ARGS= --with-jpeg-prefix=${LOCALBASE} \
- --with-curl-config=${LOCALBASE}/bin/curl-config
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-curl-config=${LOCALBASE}/bin/curl-config \
+ --with-jpeg-prefix=${LOCALBASE}
-MAKE_ENV+= bashcompdir=${STAGEDIR}${PREFIX}/etc/bash_completion.d
CONFIGURE_ENV+= bashcompdir=${STAGEDIR}${PREFIX}/etc/bash_completion.d
+MAKE_ENV+= bashcompdir=${STAGEDIR}${PREFIX}/etc/bash_completion.d
-PLIST_FILES= bin/jp2a man/man1/jp2a.1.gz etc/bash_completion.d/jp2a
+LDFLAGS+= -lm
-# version has too many flaws
-PORTSCOUT= skipv:1.1.0
+PLIST_FILES= bin/jp2a \
+ etc/bash_completion.d/jp2a \
+ man/man1/jp2a.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/jp2a ${STAGEDIR}${PREFIX}/bin
diff --git a/graphics/jp2a/distinfo b/graphics/jp2a/distinfo
index 0adb00919016..07ff561ed6cf 100644
--- a/graphics/jp2a/distinfo
+++ b/graphics/jp2a/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1581352823
-SHA256 (Talinx-jp2a-v1.0.9_GH0.tar.gz) = 180790d4dae5dc5ac4b028531dc3905a1b1aa39a6a83ce145420026223d37b88
-SIZE (Talinx-jp2a-v1.0.9_GH0.tar.gz) = 288243
+TIMESTAMP = 1602335764
+SHA256 (Talinx-jp2a-v1.1.0_GH0.tar.gz) = feedb8e49b34a24dd518b53d70c06ab2ce2fa6c2d3adb92caa9db61631dd9856
+SIZE (Talinx-jp2a-v1.1.0_GH0.tar.gz) = 528992
diff --git a/graphics/jp2a/pkg-descr b/graphics/jp2a/pkg-descr
index ed155dccd504..36d51564ddee 100644
--- a/graphics/jp2a/pkg-descr
+++ b/graphics/jp2a/pkg-descr
@@ -1,3 +1,3 @@
jp2a is a simple JPEG to ASCII viewer.
-WWW: https://github.com/cslarsen/jp2a
+WWW: https://github.com/Talinx/jp2a