freebsd-ports/graphics/pngcrush/Makefile
Mark Linimon 0609967a16 Attempt to fix INDEX build on FreeBSD-9.
Approved by:	"just fix it"
2016-11-10 01:32:50 +00:00

26 lines
705 B
Makefile

# Created by: Chris D. Faulhaber <jedgar@FreeBSD.org>
# $FreeBSD$
PORTNAME= pngcrush
PORTVERSION= 1.8.7
CATEGORIES= graphics
MASTER_SITES= SF/pmt/${PORTNAME}/old-versions/${PORTVERSION:R}/${PORTVERSION}/
# # SF/pmt/${PORTNAME}/${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 <bsd.port.mk>