blob: bb6c129accb5753ace67d05c17217b95230e6cce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $NetBSD: Makefile,v 1.46 2011/03/23 09:00:23 adam Exp $
DISTNAME= pngcrush-1.7.15
PKGNAME= ${DISTNAME:C/-nolib//}
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pmt/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://pmt.sourceforge.net/pngcrush/index.html
COMMENT= Optimizer for PNG (Portable Network Graphics) files
PKG_DESTDIR_SUPPORT= user-destdir
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"
|