pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/pngcheck Initial import of pngcheck-2.2.0:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7813a9246dc4
branches:  trunk
changeset: 522393:7813a9246dc4
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Dec 08 18:00:20 2006 +0000

description:
Initial import of pngcheck-2.2.0:

pngcheck verifies the integrity of PNG, JNG, and MNG files (by
checking the internal 32-bit CRCs [checksums] and decompressing
the image data); it can optionally dump almost all of the chunk-level
information in the image in human-readable form. For example, it
can be used to print the basic statistics about an image (dimensions,
bit depth, etc.); to list the color and transparency info in its
palette (assuming it has one); or to extract the embedded text
annotations. This is a command-line program with batch capabilities.

diffstat:

 graphics/pngcheck/DESCR    |   8 ++++++++
 graphics/pngcheck/Makefile |  22 ++++++++++++++++++++++
 graphics/pngcheck/PLIST    |   4 ++++
 graphics/pngcheck/distinfo |   5 +++++
 4 files changed, 39 insertions(+), 0 deletions(-)

diffs (55 lines):

diff -r c1d8155d0274 -r 7813a9246dc4 graphics/pngcheck/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pngcheck/DESCR   Fri Dec 08 18:00:20 2006 +0000
@@ -0,0 +1,8 @@
+pngcheck verifies the integrity of PNG, JNG, and MNG files (by
+checking the internal 32-bit CRCs [checksums] and decompressing
+the image data); it can optionally dump almost all of the chunk-level
+information in the image in human-readable form. For example, it
+can be used to print the basic statistics about an image (dimensions,
+bit depth, etc.); to list the color and transparency info in its
+palette (assuming it has one); or to extract the embedded text
+annotations. This is a command-line program with batch capabilities.
diff -r c1d8155d0274 -r 7813a9246dc4 graphics/pngcheck/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pngcheck/Makefile        Fri Dec 08 18:00:20 2006 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/12/08 18:00:20 wiz Exp $
+#
+
+DISTNAME=      pngcheck-2.2.0
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=png-mng/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.libpng.org/pub/png/apps/pngcheck.html
+COMMENT=       Verify the integrity of PNG, JNG, and MNG files
+
+do-build:
+       cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} -DUSE_ZLIB \
+               -o pngcheck pngcheck.c -lz
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/pngcheck ${PREFIX}/bin
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pngcheck
+       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/pngcheck
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c1d8155d0274 -r 7813a9246dc4 graphics/pngcheck/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pngcheck/PLIST   Fri Dec 08 18:00:20 2006 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/12/08 18:00:20 wiz Exp $
+bin/pngcheck
+share/doc/pngcheck/README
+@dirrm share/doc/pngcheck
diff -r c1d8155d0274 -r 7813a9246dc4 graphics/pngcheck/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pngcheck/distinfo        Fri Dec 08 18:00:20 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/12/08 18:00:20 wiz Exp $
+
+SHA1 (pngcheck-2.2.0.tar.gz) = 543bd74fa978dc692de3e806a46f997d7fc683a1
+RMD160 (pngcheck-2.2.0.tar.gz) = 134b0401009e609d0a28a6f39e0a07b579d17470
+Size (pngcheck-2.2.0.tar.gz) = 57128 bytes



Home | Main Index | Thread Index | Old Index