freebsd-ports/graphics/pngcrush/Makefile
Thomas Zander a764cb4b83 Update to upstream version 1.7.88
Version 1.7.88 eliminates a potential overflow while adding iTXt chunk.

PR:		204733
Submitted by:	vsasjason@gmail.com (maintainer)
MFH:		2015Q4
2015-11-28 15:38:35 +00:00

26 lines
704 B
Makefile

# Created by: Chris D. Faulhaber <jedgar@FreeBSD.org>
# $FreeBSD$
PORTNAME= pngcrush
PORTVERSION= 1.7.88
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>