blob: bb3c235fa07b0d4947491ade56b97331a171f50b (
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
|
# $NetBSD: Makefile,v 1.21 2006/02/18 11:07:10 adam Exp $
DISTNAME= pngcrush-1.6.2-nolib
PKGNAME= pngcrush-1.6.2
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
NO_CONFIGURE= yes
INSTALLATION_DIRS= bin
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o pngcrush pngcrush.c \
-Wall -Wl,-R${PREFIX}/lib -L${PREFIX}/lib -lm -lz -lpng
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${PREFIX}/bin
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|