From owner-svn-ports-all@FreeBSD.ORG Sun Jan 5 16:12:14 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5A3CE40F; Sun, 5 Jan 2014 16:12:14 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3A45B1E64; Sun, 5 Jan 2014 16:12:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s05GCERr059670; Sun, 5 Jan 2014 16:12:14 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s05GCDIf059668; Sun, 5 Jan 2014 16:12:13 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201401051612.s05GCDIf059668@svn.freebsd.org> From: Rusmir Dusko Date: Sun, 5 Jan 2014 16:12:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338792 - head/graphics/pngcheck X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jan 2014 16:12:14 -0000 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 +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 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