1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/graphics/pngcrush/Makefile
Joseph S. Atkinson 6ce41d4364 Update to 1.7.15. Make build use system libpng from now on.
Approved by:	kwm (mentor)
2011-06-18 19:10:28 +00:00

32 lines
746 B
Makefile

# New ports collection makefile for: pngcrush
# Date created: 07 December 1999
# Whom: Chris D. Faulhaber <jedgar@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pngcrush
PORTVERSION= 1.7.15
CATEGORIES= graphics
MASTER_SITES= SF/pmt/${PORTNAME}/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-nolib
MAINTAINER= jsa@FreeBSD.org
COMMENT= An optimizer for PNG files
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
USE_XZ= yes
USE_GMAKE= yes
CFLAGS+= -DPNGCRUSH_COUNT_COLORS -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}"
MAKE_JOBS_SAFE= yes
PLIST_FILES= bin/pngcrush
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${PREFIX}/bin/pngcrush
.include <bsd.port.mk>