freebsd-ports/graphics/pngcrush/Makefile
Veniamin Gvozdikov 397b53e40d - Update to 1.7.85
Changelog:
*  Improved reporting of invalid chunk names. Does not try to put
     non-printable characters in STDERR; displays hex numbers instead.
*  Fixed include path for utime.h on MSVC (Louis McLaughlin).
*  Eliminated "FAR" memory support (it was removed from libpng at version
     1.6.0).
*  Disabled the "-already_crushed" option which does not really work well.

PR:		ports/199520
Submitted by:	Anton Sayetsky <vsasjason@gmail.com> (maintainer)
2015-04-28 06:05:35 +00:00

26 lines
704 B
Makefile

# Created by: Chris D. Faulhaber <jedgar@FreeBSD.org>
# $FreeBSD$
PORTNAME= pngcrush
PORTVERSION= 1.7.85
CATEGORIES= graphics
MASTER_SITES= SF/pmt/${PORTNAME}/${PORTVERSION}/ \
SF/pmt/${PORTNAME}/old-versions/1.7/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-nolib
MAINTAINER= vsasjason@gmail.com
COMMENT= Optimizer for PNG files
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
USES= tar:xz
CFLAGS+= -DPNGCRUSH_COUNT_COLORS -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}"
PLIST_FILES= bin/pngcrush
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/pngcrush
.include <bsd.port.mk>