mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
f39482df5c
Changes: http://pmt.sourceforge.net/pngcrush/changelog.html PR: 198127 Submitted by: Anton Sayetsky <vsasjason@gmail.com> (maintainer)
27 lines
704 B
Makefile
27 lines
704 B
Makefile
# Created by: Chris D. Faulhaber <jedgar@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pngcrush
|
|
PORTVERSION= 1.7.84
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/pmt/${PORTNAME}/${PORTVERSION}/ \
|
|
SF/pmt/${PORTNAME}/old-versions/1.7/${PORTVERSION}/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-nolib
|
|
|
|
MAINTAINER= vsasjason@gmail.com
|
|
COMMENT= Optimizer for PNG files
|
|
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
|
|
|
|
USES= tar:xz
|
|
CFLAGS+= -DPNGCRUSH_COUNT_COLORS -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}"
|
|
|
|
PLIST_FILES= bin/pngcrush
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/pngcrush
|
|
|
|
.include <bsd.port.mk>
|