1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/graphics/pngrewrite/Makefile
Beech Rintoul b528253e72 - Update to 1.3.0
PR:		ports/130659
Submitted by:	Daniel Roethlisberger <daniel@roe.ch> (maintainer)
2009-01-17 22:28:11 +00:00

32 lines
698 B
Makefile

# New ports collection makefile for: pngrewrite
# Date created: 10 February 2004
# Whom: Daniel Roethlisberger <daniel@roe.ch>
#
# $FreeBSD$
#
PORTNAME= pngrewrite
PORTVERSION= 1.3.0
CATEGORIES= graphics
MASTER_SITES= http://entropymine.com/jason/pngrewrite/ \
http://mirror.roe.ch/dist/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 <bsd.port.mk>