diff options
author | wiz <wiz> | 2006-12-08 18:00:20 +0000 |
---|---|---|
committer | wiz <wiz> | 2006-12-08 18:00:20 +0000 |
commit | 5302e4eb89525d82ea186e8b50669a175d719aa3 (patch) | |
tree | a9c70b0be3988cae291453ef3d86090f4484a379 /graphics/pngcheck/Makefile | |
parent | 85f7d96ddb684277e7c0cc19a72b43cc8721e51b (diff) | |
download | pkgsrc-5302e4eb89525d82ea186e8b50669a175d719aa3.tar.gz |
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 (limited to 'graphics/pngcheck/Makefile')
-rw-r--r-- | graphics/pngcheck/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
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" |