1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/graphics/pngcrush/Makefile
Eitan Adler ac1f9c8397 Update to 1.7.67
Modernize LIB_DEPENDS
Tested with poudriere

Approved by:	jsa (maintainer)
2013-09-22 23:18:58 +00:00

28 lines
701 B
Makefile

# Created by: Chris D. Faulhaber <jedgar@FreeBSD.org>
# $FreeBSD$
PORTNAME= pngcrush
PORTVERSION= 1.7.67
CATEGORIES= graphics
MASTER_SITES= SF/pmt/${PORTNAME}/${PORTVERSION}/ \
SF/pmt/${PORTNAME}/old-versions/1.7/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-nolib
MAINTAINER= jsa@FreeBSD.org
COMMENT= Optimizer for PNG files
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
USE_XZ= yes
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
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${PREFIX}/bin/pngcrush
.include <bsd.port.mk>