pkgsrc/graphics/pngcrush/Makefile
adam 9d3eea0908 Changes 1.7.0:
* Save (but do not recompress) APNG chunks if the output file has the
  ".apng" extension and the color_type and bit_depth are not changed.

Changes 1.6.20:
* Changed local variable "write" to "wwrite" in inffast.c (zlib) to avoid
  shadowed declaration warning.
2009-07-21 06:40:36 +00:00

27 lines
744 B
Makefile

# $NetBSD: Makefile,v 1.35 2009/07/21 06:40:36 adam Exp $
DISTNAME= pngcrush-1.7.0-nolib
PKGNAME= pngcrush-1.7.0
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
PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= yes
INSTALLATION_DIRS= bin
do-build:
cd ${WRKSRC} && ${CC} -DPNG_USE_LOCAL_ARRAYS \
${CFLAGS} `libpng-config --cflags` -o pngcrush pngcrush.c \
${LDFLAGS} `libpng-config --ldflags` -lz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${DESTDIR}${PREFIX}/bin
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"