pkgsrc/graphics/pngcrush/Makefile
adam bb9c269507 Changes 1.6.2:
* Fixed bug with "PNG_ROWBYTES" usage, introduced in version 1.6.1.
  The bug could cause a crash and only affects the "nolib" builds.
* Converted C++ style (// ...) comments to C style (/* ... */).
* Defined TOO_FAR == 32767 in deflate.c (again). The definition was omitted
  from version 1.6.0 when zlib was upgraded to version 1.2.3.

Changes 1.6.1:
* Copied non-exported libpng functions from libpng into pngcrush, to make
  pngcrush play more nicely with shared libpng. These are ifdef'ed out when
  a static library is being built with the bundled libpng and pngcrush.h is
  included.

Changes 1.6.0:
* Moved ChangeLog out of pngcrush.c comments and into a separate file.
* Filtered pngcrush.c through "indent -kr" and "expand" for readability.
* Moved 550 lines of usage/help/copyright/license/version info to separate
  function(s) and cleaned up significantly.
* Added some comments for ease of navigation and readability.
* Stripped out a bunch of ancient-libpng compatibility stuff.
* Defined PNG_UINT_* macros (pngcrush.h for now).
* Fixed unknown-chunk handling ("-rem alla" and "-rem gifx" now work).
* Created modified version of makefile that supports external zlib.
* Added support for methods using Z_RLE zlib strategy (zlib 1.2.x only).
* Documented -huffman option in usage screen.
* Added IDAT statistics to final per-file summary.
* Added utime() support to give output files same timestamps as input files.
2006-02-18 11:07:10 +00:00

24 lines
662 B
Makefile

# $NetBSD: Makefile,v 1.21 2006/02/18 11:07:10 adam Exp $
DISTNAME= pngcrush-1.6.2-nolib
PKGNAME= pngcrush-1.6.2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pmt/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://pmt.sourceforge.net/pngcrush/index.html
COMMENT= Optimizer for PNG (Portable Network Graphics) files
NO_CONFIGURE= yes
INSTALLATION_DIRS= bin
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o pngcrush pngcrush.c \
-Wall -Wl,-R${PREFIX}/lib -L${PREFIX}/lib -lm -lz -lpng
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${PREFIX}/bin
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"