Received: by mail.netbsd.org (Postfix, from userid 605) id 325C284D88; Sun, 29 Dec 2019 21:31:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id AD01684D50 for ; Sun, 29 Dec 2019 21:31:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id HIYmzolLunQi for ; Sun, 29 Dec 2019 21:31:35 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 1AEE984CD4 for ; Sun, 29 Dec 2019 21:31:35 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0B99FFA97; Sun, 29 Dec 2019 21:31:35 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_157765509554120" MIME-Version: 1.0 Date: Sun, 29 Dec 2019 21:31:35 +0000 From: "ng0" Subject: CVS commit: pkgsrc/graphics To: pkgsrc-changes@NetBSD.org Reply-To: ng0@netbsd.org X-Mailer: log_accum Message-Id: <20191229213135.0B99FFA97@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_157765509554120 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: ng0 Date: Sun Dec 29 21:31:34 UTC 2019 Modified Files: pkgsrc/graphics: Makefile Added Files: pkgsrc/graphics/jp2a: DESCR Makefile PLIST distinfo options.mk Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.869 -r1.870 pkgsrc/graphics/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/jp2a/DESCR \ pkgsrc/graphics/jp2a/Makefile pkgsrc/graphics/jp2a/PLIST \ pkgsrc/graphics/jp2a/distinfo pkgsrc/graphics/jp2a/options.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_157765509554120 Content-Disposition: inline Content-Length: 3261 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/graphics/Makefile diff -u pkgsrc/graphics/Makefile:1.869 pkgsrc/graphics/Makefile:1.870 --- pkgsrc/graphics/Makefile:1.869 Wed Dec 11 21:15:10 2019 +++ pkgsrc/graphics/Makefile Sun Dec 29 21:31:34 2019 @@ -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 Added files: Index: pkgsrc/graphics/jp2a/DESCR diff -u /dev/null pkgsrc/graphics/jp2a/DESCR:1.1 --- /dev/null Sun Dec 29 21:31:34 2019 +++ pkgsrc/graphics/jp2a/DESCR Sun Dec 29 21:31:34 2019 @@ -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. Index: pkgsrc/graphics/jp2a/Makefile diff -u /dev/null pkgsrc/graphics/jp2a/Makefile:1.1 --- /dev/null Sun Dec 29 21:31:34 2019 +++ pkgsrc/graphics/jp2a/Makefile Sun Dec 29 21:31:34 2019 @@ -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" Index: pkgsrc/graphics/jp2a/PLIST diff -u /dev/null pkgsrc/graphics/jp2a/PLIST:1.1 --- /dev/null Sun Dec 29 21:31:34 2019 +++ pkgsrc/graphics/jp2a/PLIST Sun Dec 29 21:31:34 2019 @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2019/12/29 21:31:34 ng0 Exp $ +bin/jp2a +man/man1/jp2a.1 Index: pkgsrc/graphics/jp2a/distinfo diff -u /dev/null pkgsrc/graphics/jp2a/distinfo:1.1 --- /dev/null Sun Dec 29 21:31:34 2019 +++ pkgsrc/graphics/jp2a/distinfo Sun Dec 29 21:31:34 2019 @@ -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 Index: pkgsrc/graphics/jp2a/options.mk diff -u /dev/null pkgsrc/graphics/jp2a/options.mk:1.1 --- /dev/null Sun Dec 29 21:31:34 2019 +++ pkgsrc/graphics/jp2a/options.mk Sun Dec 29 21:31:34 2019 @@ -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 --_----------=_157765509554120--