pkgsrc/graphics/pngcrush/Makefile
2004-11-13 21:28:27 +00:00

26 lines
733 B
Makefile

# $NetBSD: Makefile,v 1.18 2004/11/13 21:28:28 jlam Exp $
#
DISTNAME= pngcrush-1.5.10
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pmt/}
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://pmt.sourceforge.net/pngcrush/index.html
COMMENT= Optimizer for PNG (Portable Network Graphics) files
USE_BUILDLINK3= yes
NO_CONFIGURE= YES
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
${INSTALL_DATA_DIR} ${PREFIX}/share/pngcrush
${INSTALL_MAN} ${WRKSRC}/README.txt ${PREFIX}/share/pngcrush
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"