From 5302e4eb89525d82ea186e8b50669a175d719aa3 Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 8 Dec 2006 18:00:20 +0000 Subject: 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. --- graphics/pngcheck/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 graphics/pngcheck/Makefile (limited to 'graphics/pngcheck/Makefile') diff --git a/graphics/pngcheck/Makefile b/graphics/pngcheck/Makefile new file mode 100644 index 00000000000..13d0b884f4c --- /dev/null +++ b/graphics/pngcheck/Makefile @@ -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 +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" -- cgit v1.2.3