2006-07-06 22:51:25 +02:00
|
|
|
# $NetBSD: Makefile,v 1.25 2006/07/06 20:51:25 adam Exp $
|
1999-12-07 20:56:21 +01:00
|
|
|
|
2006-06-10 09:43:11 +02:00
|
|
|
DISTNAME= pngcrush-1.6.4-nolib
|
|
|
|
PKGNAME= pngcrush-1.6.4
|
1999-12-07 20:56:21 +01:00
|
|
|
CATEGORIES= graphics
|
2000-11-11 18:49:22 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pmt/}
|
2006-02-18 12:07:10 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1999-12-07 20:56:21 +01:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= rh@NetBSD.org
|
2000-07-05 17:15:11 +02:00
|
|
|
HOMEPAGE= http://pmt.sourceforge.net/pngcrush/index.html
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= Optimizer for PNG (Portable Network Graphics) files
|
1999-12-07 20:56:21 +01:00
|
|
|
|
2006-02-18 12:07:10 +01:00
|
|
|
NO_CONFIGURE= yes
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
1999-12-07 20:56:21 +01:00
|
|
|
|
|
|
|
do-build:
|
2006-04-19 19:00:12 +02:00
|
|
|
cd ${WRKSRC} && ${CC} -DPNG_USE_LOCAL_ARRAYS \
|
|
|
|
${CFLAGS} `libpng-config --cflags` -o pngcrush pngcrush.c \
|
2006-07-06 22:51:25 +02:00
|
|
|
`libpng-config --ldflags` -lz
|
1999-12-07 20:56:21 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${PREFIX}/bin
|
|
|
|
|
2004-04-24 02:51:09 +02:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
1999-12-07 20:56:21 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|