blob: d3550416e8e42792e8c889e98bbe84c8c14f92ea (
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
|
# Created by: Chris D. Faulhaber <jedgar@FreeBSD.org>
# $FreeBSD$
PORTNAME= pngcrush
PORTVERSION= 1.7.51
CATEGORIES= graphics
MASTER_SITES= SF/pmt/${PORTNAME}/old-versions/1.7/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-nolib
MAINTAINER= jsa@FreeBSD.org
COMMENT= Optimizer for PNG files
LIB_DEPENDS= png15:${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>
|