summaryrefslogtreecommitdiffstats
path: root/graphics/pngcrush/Makefile
blob: 8f001afc0837a4928f2be9f1de4bbeefcb8bf1c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# New ports collection makefile for:	pngcrush
# Date created:				07 December 1999
# Whom:					Chris D. Faulhaber <jedgar@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	pngcrush
PORTVERSION=	1.6.3
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	pmt

MAINTAINER=	ports@FreeBSD.org
COMMENT=	An optimizer for PNG files

USE_BZIP2=	yes
USE_GMAKE=	yes
MAKEFILE=	Makefile.ext-zlib
MAKE_ARGS+=	CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LIBS="-lz -lm" \
		ZINC="" ZLIB=""

PLIST_FILES=	bin/pngcrush

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/pngcrush-zlib ${PREFIX}/bin/pngcrush

.include <bsd.port.mk>
OpenPOWER on IntegriCloud