# Created by: Chris D. Faulhaber # $FreeBSD: head/graphics/pngcrush/Makefile 413107 2016-04-12 09:08:33Z rakuco $ PORTNAME= pngcrush PORTVERSION= 1.8.1 CATEGORIES= graphics MASTER_SITES= SF/pmt/${PORTNAME}/${PORTVERSION}/ \ SF/pmt/${PORTNAME}/old-versions/${PORTVERSION:R}/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-nolib MAINTAINER= vsasjason@gmail.com COMMENT= Optimizer for PNG files LIB_DEPENDS= libpng.so: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