2013-03-03 18:35:51 +01:00
|
|
|
# Created by: Chris D. Faulhaber <jedgar@FreeBSD.org>
|
1999-12-22 15:53:53 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= pngcrush
|
2015-03-01 15:34:57 +01:00
|
|
|
PORTVERSION= 1.7.84
|
1999-12-22 15:53:53 +01:00
|
|
|
CATEGORIES= graphics
|
2013-09-10 22:36:27 +02:00
|
|
|
MASTER_SITES= SF/pmt/${PORTNAME}/${PORTVERSION}/ \
|
|
|
|
SF/pmt/${PORTNAME}/old-versions/1.7/${PORTVERSION}/
|
2011-06-18 21:10:28 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-nolib
|
1999-12-22 15:53:53 +01:00
|
|
|
|
2014-10-24 16:38:11 +02:00
|
|
|
MAINTAINER= vsasjason@gmail.com
|
2013-05-04 23:21:32 +02:00
|
|
|
COMMENT= Optimizer for PNG files
|
1999-12-22 15:53:53 +01:00
|
|
|
|
2014-12-25 20:04:25 +01:00
|
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
|
2011-06-18 21:10:28 +02:00
|
|
|
|
2014-03-13 19:03:06 +01:00
|
|
|
USES= tar:xz
|
2011-06-18 21:10:28 +02:00
|
|
|
CFLAGS+= -DPNGCRUSH_COUNT_COLORS -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}"
|
2006-04-25 18:02:50 +02:00
|
|
|
|
2004-02-06 14:12:53 +01:00
|
|
|
PLIST_FILES= bin/pngcrush
|
2000-03-25 14:26:12 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-03-13 19:03:06 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/pngcrush
|
1999-12-22 15:53:53 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|