openbsd-ports/graphics/pngcrush/Makefile
2012-06-15 20:57:43 +00:00

31 lines
686 B
Makefile

# $OpenBSD: Makefile,v 1.54 2012/06/15 20:57:43 benoit Exp $
# $FreeBSD: Makefile,v 1.1 1999/12/22 14:53:53 jedgar Exp $
COMMENT = optimizer for PNG files
DISTNAME = pngcrush-1.7.30
CATEGORIES = graphics
HOMEPAGE = http://pmt.sourceforge.net/pngcrush/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# custom, see pngcrush.c
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c m
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pmt/}
MAKE_FLAGS = CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS} -I. -DZ_SOLO"
NO_REGRESS = Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${PREFIX}/bin
.include <bsd.port.mk>