openbsd-ports/graphics/pngcrush/Makefile

27 lines
536 B
Makefile

# $OpenBSD: Makefile,v 1.94 2019/07/12 20:47:08 sthen Exp $
COMMENT = optimizer for PNG files
DISTNAME = pngcrush-1.8.13
CATEGORIES = graphics
HOMEPAGE = http://pmt.sourceforge.net/pngcrush/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# custom, see pngcrush.c
PERMIT_PACKAGE = Yes
WANTLIB = c m
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pmt/}
MAKE_FLAGS = CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS} -I. -DZ_SOLO"
NO_TEST = Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${PREFIX}/bin
.include <bsd.port.mk>