2009-02-20 07:01:29 +01:00
|
|
|
# $NetBSD: Makefile,v 1.32 2009/02/20 06:01:29 adam Exp $
|
1999-12-07 20:56:21 +01:00
|
|
|
|
2009-02-20 07:01:29 +01:00
|
|
|
DISTNAME= pngcrush-1.6.14-nolib
|
|
|
|
PKGNAME= pngcrush-1.6.14
|
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
|
|
|
|
2008-03-04 16:39:09 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
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 \
|
2008-03-22 09:48:17 +01:00
|
|
|
${LDFLAGS} `libpng-config --ldflags` -lz
|
1999-12-07 20:56:21 +01:00
|
|
|
|
|
|
|
do-install:
|
2008-03-04 16:39:09 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${DESTDIR}${PREFIX}/bin
|
1999-12-07 20:56:21 +01:00
|
|
|
|
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"
|