diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-02-11 19:23:30 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-02-11 19:23:30 +0000 |
commit | 89ac018b6f504d392b5fddbffb88347b18bd3e1b (patch) | |
tree | faf5f521588b047ad06ca11e4c9c30deabe0bf47 /graphics/pngrewrite | |
parent | fb900956d34be37c8f6d102f53c76dac5ce28021 (diff) | |
download | ports-89ac018b6f504d392b5fddbffb88347b18bd3e1b.tar.gz ports-89ac018b6f504d392b5fddbffb88347b18bd3e1b.zip |
Notes
Diffstat (limited to 'graphics/pngrewrite')
-rw-r--r-- | graphics/pngrewrite/Makefile | 31 | ||||
-rw-r--r-- | graphics/pngrewrite/distinfo | 2 | ||||
-rw-r--r-- | graphics/pngrewrite/pkg-descr | 7 |
3 files changed, 40 insertions, 0 deletions
diff --git a/graphics/pngrewrite/Makefile b/graphics/pngrewrite/Makefile new file mode 100644 index 000000000000..23885bff3925 --- /dev/null +++ b/graphics/pngrewrite/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: pngrewrite +# Date created: 10 February 2004 +# Whom: Daniel Roethlisberger <daniel@roe.ch> +# +# $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 <bsd.port.mk> diff --git a/graphics/pngrewrite/distinfo b/graphics/pngrewrite/distinfo new file mode 100644 index 000000000000..84eef52c1ed1 --- /dev/null +++ b/graphics/pngrewrite/distinfo @@ -0,0 +1,2 @@ +MD5 (pngrewrite-1.2.1.zip) = 62c52a2924a49a65b43bfd3231d2dc51 +SIZE (pngrewrite-1.2.1.zip) = 95519 diff --git a/graphics/pngrewrite/pkg-descr b/graphics/pngrewrite/pkg-descr new file mode 100644 index 000000000000..f9d04718fdde --- /dev/null +++ b/graphics/pngrewrite/pkg-descr @@ -0,0 +1,7 @@ +Pngrewrite is a utility that reduces unnecessarily large palettes +of PNG images. It also optimizes transparency settings, and reduces +the bits-per-pixel if possible. +Handy for post-processing images before putting them on a web site. + +Author: Jason Summers <jason1@pobox.com> +WWW: http://entropymine.com/jason/pngrewrite/ |