File:  [cvs.NetBSD.org] / pkgsrc / graphics / pngcrush / Makefile
Revision 1.78: download - view: text, annotated - select for diffs
Mon Dec 23 11:57:04 2013 UTC (10 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, HEAD
Reset maintainer for resigned developers.

# $NetBSD: Makefile,v 1.78 2013/12/23 11:57:04 wiz Exp $

DISTNAME=	pngcrush-1.7.69-nolib
PKGNAME=	${DISTNAME:C/-nolib//}
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=pmt/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://pmt.sourceforge.net/pngcrush/index.html
COMMENT=	Optimizer for PNG (Portable Network Graphics) files
LICENSE=	zlib

NO_CONFIGURE=		yes
INSTALLATION_DIRS=	bin

do-build:
	cd ${WRKSRC} && ${CC} -DPNG_USE_LOCAL_ARRAYS \
		${CFLAGS} `libpng-config --cflags` -o pngcrush pngcrush.c \
		${LDFLAGS} `libpng-config --ldflags` -lz

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

.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>