pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics



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@localhost


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.

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@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"
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



Home | Main Index | Thread Index | Old Index