301773b8c1
* Fixed bug, introduced in 1.5.9, that caused defaults for method 0 to be used instead of copying the original image, when the original was already smallest. * Work around CPU timer wraparound at 2G microseconds. * Upgraded zlib from 1.1.3 to 1.1.4. Pngcrush is believed not to be vulnerable to the zlib-1.1.3 buffer-overflow bug. * Choose the first instance of smallest IDAT instead of the last, for faster final recompression, suggested by TSamuel. * Added -trns_a option for entering a tRNS array.
22 lines
588 B
Makefile
22 lines
588 B
Makefile
# $NetBSD: Makefile,v 1.13 2002/08/31 00:01:53 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= pngcrush-1.5.10
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pmt/}
|
|
|
|
MAINTAINER= rh@netbsd.org
|
|
HOMEPAGE= http://pmt.sourceforge.net/pngcrush/index.html
|
|
COMMENT= Optimizer for PNG (Portable Network Graphics) files
|
|
|
|
NO_CONFIGURE= YES
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -o pngcrush *.c -lm
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/pngcrush
|
|
${INSTALL_MAN} ${WRKSRC}/README.txt ${PREFIX}/share/pngcrush
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|