pkgsrc/graphics/pngcrush/Makefile
adam ded3573f8c Changes 1.6.10:
* Add sTER chunk support.

Changes 1.6.9:
* Updated cexcept.h to version 2.0.1
* Add missing curly brackets.

Changes 1.6.8:
* Fixed bug with handling of -z and -zi options.
2008-10-26 09:19:16 +00:00

27 lines
746 B
Makefile

# $NetBSD: Makefile,v 1.29 2008/10/26 09:19:16 adam Exp $
DISTNAME= pngcrush-1.6.10-nolib
PKGNAME= pngcrush-1.6.10
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"