aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pngcrush/Makefile
blob: e2e1251e3941d8b27c09e43d174b1f36d3dd9a57 (plain) (blame)
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
# New ports collection makefile for:    pngcrush
# Date created:             07 December 1999
# Whom:                 Chris D. Faulhaber <jedgar@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   pngcrush
PORTVERSION=    1.7.5
CATEGORIES= graphics
MASTER_SITES=   SF/pmt/${PORTNAME}/00-${PORTVERSION}

MAINTAINER= jsa@wickedmachine.net
COMMENT=    An optimizer for PNG files

USE_BZIP2=  yes
USE_GMAKE=  yes
CFLAGS+=    -DPNGCRUSH_COUNT_COLORS
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}"
MAKE_JOBS_SAFE= yes

PLIST_FILES=    bin/pngcrush

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

.include <bsd.port.mk>