1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/graphics/pngcrush/Makefile
Steve Wills 13ee39b718 graphics/pngcrush: Update to 1.8.13
PR:		222517
Submitted by:	lightside <lightside@gmx.com>
Approved by:	Anton Sayetsky <vsasjason@gmail.com> (maintainer)
2017-09-29 19:45:27 +00:00

35 lines
889 B
Makefile

# Created by: Chris D. Faulhaber <jedgar@FreeBSD.org>
# $FreeBSD$
PORTNAME= pngcrush
PORTVERSION= 1.8.13
CATEGORIES= graphics
MASTER_SITES= SF/pmt/${PORTNAME}/${PORTVERSION}/ \
SF/pmt/${PORTNAME}/old-versions/${PORTVERSION:R}/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-nolib
MAINTAINER= vsasjason@gmail.com
COMMENT= Optimizer for PNG files
LICENSE= Pngcrush
LICENSE_NAME= Pngcrush License
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
LIB_DEPENDS= libpng.so:graphics/png
USES= localbase:ldflags tar:xz
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LD="${CC}" \
LDFLAGS="${LDFLAGS}"
PLIST_FILES= bin/pngcrush
post-patch:
@${REINPLACE_CMD} -e '/^LIBS/s|-L$$([[:alnum:]]*) ||g' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/pngcrush
.include <bsd.port.mk>