# New ports collection makefile for: pngrewrite # Date created: 10 February 2004 # Whom: Daniel Roethlisberger # # $FreeBSD$ # PORTNAME= pngrewrite PORTVERSION= 1.2.1 CATEGORIES= graphics MASTER_SITES= http://entropymine.com/jason/pngrewrite/ \ http://dragon.roe.ch/mirrors/distfiles/pngrewrite/ MAINTAINER= daniel@roe.ch COMMENT= A PNG palette optimizer LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png USE_ZIP= yes NO_WRKSUBDIR= yes PLIST_FILES= bin/pngrewrite do-build: ${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \ -o ${WRKSRC}/pngrewrite ${WRKSRC}/pngrewrite.c -lpng -lz -lm do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pngrewrite ${PREFIX}/bin .include