Date: Sun, 5 Jan 2014 16:12:13 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338792 - head/graphics/pngcheck Message-ID: <201401051612.s05GCDIf059668@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Sun Jan 5 16:12:13 2014 New Revision: 338792 URL: http://svnweb.freebsd.org/changeset/ports/338792 Log: - Bump PORTREVISION - Add licenses ( MIT GPLv2) - Support STAGEDIR - Add DOCS Option - Add pngsplit and png-fix-IDAT-windowsize - Change pkg-descr Modified: head/graphics/pngcheck/Makefile head/graphics/pngcheck/pkg-descr (contents, props changed) Modified: head/graphics/pngcheck/Makefile ============================================================================== --- head/graphics/pngcheck/Makefile Sun Jan 5 16:08:00 2014 (r338791) +++ head/graphics/pngcheck/Makefile Sun Jan 5 16:12:13 2014 (r338792) @@ -3,26 +3,33 @@ PORTNAME= pngcheck PORTVERSION= 2.3.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/png-mng/${PORTNAME}/${PORTVERSION} MAINTAINER= nemysis@FreeBSD.org COMMENT= Checks the integrity of PNG images +LICENSE= MIT GPLv2 +LICENSE_COMB= dual + MAKEFILE= Makefile.unx MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS} -DUSE_ZLIB" LIBS="-lz" PORTDOCS= CHANGELOG README -PLIST_FILES= bin/pngcheck -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS + +PLIST_FILES= bin/pngcheck \ + bin/pngsplit \ + bin/png-fix-IDAT-windowsize do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pngcheck ${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif +.for f in pngcheck pngsplit png-fix-IDAT-windowsize + ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/ +.endfor + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/graphics/pngcheck/pkg-descr ============================================================================== --- head/graphics/pngcheck/pkg-descr Sun Jan 5 16:08:00 2014 (r338791) +++ head/graphics/pngcheck/pkg-descr Sun Jan 5 16:12:13 2014 (r338792) @@ -1,8 +1,16 @@ -pngcheck is the official PNG tester and debugger. Originally -designed simply to test the CRCs within a PNG image file (e.g., -to check for ASCII rather than binary transfer), it has since -been extended to check and optionally print almost all the -information about a PNG image and to verify that it conforms to -the PNG specification. It also includes partial support for MNG animations. +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. + +pngsplit - break a PNG, MNG or JNG image into constituent chunks +(numbered for easy reassembly) + +png-fix-IDAT-windowsize - fix minor zlib-header breakage caused by +older libpng WWW: http://www.libpng.org/pub/png/apps/pngcheck.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401051612.s05GCDIf059668>