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
This commit is contained in:
parent
acca2f45ea
commit
f014f7c9c4
6 changed files with 55 additions and 1 deletions
|
@ -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+= jbig2dec
|
|||
SUBDIR+= jbig2enc
|
||||
SUBDIR+= jbigkit
|
||||
SUBDIR+= jhead
|
||||
SUBDIR+= jp2a
|
||||
SUBDIR+= jpeg
|
||||
SUBDIR+= jpeg2ps
|
||||
SUBDIR+= jpeg_ls
|
||||
|
|
2
graphics/jp2a/DESCR
Normal file
2
graphics/jp2a/DESCR
Normal file
|
@ -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.
|
21
graphics/jp2a/Makefile
Normal file
21
graphics/jp2a/Makefile
Normal file
|
@ -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
|
||||
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"
|
3
graphics/jp2a/PLIST
Normal file
3
graphics/jp2a/PLIST
Normal file
|
@ -0,0 +1,3 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2019/12/29 21:31:34 ng0 Exp $
|
||||
bin/jp2a
|
||||
man/man1/jp2a.1
|
6
graphics/jp2a/distinfo
Normal file
6
graphics/jp2a/distinfo
Normal file
|
@ -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
|
21
graphics/jp2a/options.mk
Normal file
21
graphics/jp2a/options.mk
Normal file
|
@ -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
|
Loading…
Reference in a new issue