pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics jp2a: Import jp2a-1.0.7 as graphics/jp2a



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a5f6d2ed8f5
branches:  trunk
changeset: 346191:9a5f6d2ed8f5
user:      ng0 <ng0%pkgsrc.org@localhost>
date:      Sun Dec 29 21:31:34 2019 +0000

description:
jp2a: Import jp2a-1.0.7 as graphics/jp2a

jp2a is a small utility that converts JPG images to ASCII.
It is written in C and released under the GPLv2.

import from pkgsrc-wip packaged by esg%sdf.lonestar.org@localhost

diffstat:

 graphics/Makefile        |   3 ++-
 graphics/jp2a/DESCR      |   2 ++
 graphics/jp2a/Makefile   |  21 +++++++++++++++++++++
 graphics/jp2a/PLIST      |   3 +++
 graphics/jp2a/distinfo   |   6 ++++++
 graphics/jp2a/options.mk |  21 +++++++++++++++++++++
 6 files changed, 55 insertions(+), 1 deletions(-)

diffs (90 lines):

diff -r ef5a78ba646f -r 9a5f6d2ed8f5 graphics/Makefile
--- a/graphics/Makefile Sun Dec 29 19:58:47 2019 +0000
+++ b/graphics/Makefile Sun Dec 29 21:31:34 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.869 2019/12/11 21:15:10 nia Exp $
+# $NetBSD: Makefile,v 1.870 2019/12/29 21:31:34 ng0 Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -259,6 +259,7 @@
 SUBDIR+=       jbig2enc
 SUBDIR+=       jbigkit
 SUBDIR+=       jhead
+SUBDIR+=       jp2a
 SUBDIR+=       jpeg
 SUBDIR+=       jpeg2ps
 SUBDIR+=       jpeg_ls
diff -r ef5a78ba646f -r 9a5f6d2ed8f5 graphics/jp2a/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/jp2a/DESCR       Sun Dec 29 21:31:34 2019 +0000
@@ -0,0 +1,2 @@
+jp2a is a small utility that converts JPG images to ASCII.
+It is written in C and released under the GPLv2.
diff -r ef5a78ba646f -r 9a5f6d2ed8f5 graphics/jp2a/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/jp2a/Makefile    Sun Dec 29 21:31:34 2019 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2019/12/29 21:31:34 ng0 Exp $
+
+DISTNAME=      jp2a-1.0.7
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=cslarsen/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    esg%sdf.lonestar.org@localhost
+HOMEPAGE=      https://github.com/cslarsen/jp2a
+COMMENT=       JPEG to ASCII converter
+LICENSE=       gnu-gpl-v2
+
+USE_TOOLS+=    automake autoconf autoreconf
+GNU_CONFIGURE= yes
+
+pre-configure:
+       cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} autoreconf -vi
+
+.include "options.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ef5a78ba646f -r 9a5f6d2ed8f5 graphics/jp2a/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/jp2a/PLIST       Sun Dec 29 21:31:34 2019 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/12/29 21:31:34 ng0 Exp $
+bin/jp2a
+man/man1/jp2a.1
diff -r ef5a78ba646f -r 9a5f6d2ed8f5 graphics/jp2a/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/jp2a/distinfo    Sun Dec 29 21:31:34 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/12/29 21:31:34 ng0 Exp $
+
+SHA1 (jp2a-1.0.7.tar.gz) = 6ce933828f035b6a721a3e66f6fa84d3a363d2ca
+RMD160 (jp2a-1.0.7.tar.gz) = a89ba674f7234620c30456ea3da6a6cc7a696ad9
+SHA512 (jp2a-1.0.7.tar.gz) = 28bde9ee2c1a67d548275c36c3f958e3760e94f2dc03ab7cefeccf8bc0ac19978c46fddefd82b460554d3fefb092386426253114766de48ef32444e7cf20b44a
+Size (jp2a-1.0.7.tar.gz) = 113008 bytes
diff -r ef5a78ba646f -r 9a5f6d2ed8f5 graphics/jp2a/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/jp2a/options.mk  Sun Dec 29 21:31:34 2019 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: options.mk,v 1.1 2019/12/29 21:31:34 ng0 Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.jp2a
+PKG_SUPPORTED_OPTIONS= curl curses
+PKG_SUGGESTED_OPTIONS= curses
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mcurl)
+CONFIGURE_ARGS+=       --enable-curl
+.include "../../www/curl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-curl
+.endif
+
+.if !empty(PKG_OPTIONS:Mcurses)
+.include "../../mk/curses.buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-termlib
+.else
+CONFIGURE_ARGS+=       --disable-termlib
+.endif



Home | Main Index | Thread Index | Old Index