diff options
author | pav <pav@FreeBSD.org> | 2004-02-12 03:23:30 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-02-12 03:23:30 +0800 |
commit | e261609bf01517cfebb0e7a6ad89a88bf2899e7d (patch) | |
tree | 712f5cf251ead7f549e08929357719e03ae064df | |
parent | 54002bb0fa0e24bc8b9674b549a52952f70541d6 (diff) | |
download | freebsd-ports-gnome-e261609bf01517cfebb0e7a6ad89a88bf2899e7d.tar.gz freebsd-ports-gnome-e261609bf01517cfebb0e7a6ad89a88bf2899e7d.tar.zst freebsd-ports-gnome-e261609bf01517cfebb0e7a6ad89a88bf2899e7d.zip |
Add pngrewrite, a utility to reduce unnecessarily large palletes
in PNG images.
PR: ports/62614
Submitted by: Daniel Roethlisberger <daniel@roe.ch>
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/pngrewrite/Makefile | 31 | ||||
-rw-r--r-- | graphics/pngrewrite/distinfo | 2 | ||||
-rw-r--r-- | graphics/pngrewrite/pkg-descr | 7 |
4 files changed, 41 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index ece2bc146091..88e23df809a5 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -311,6 +311,7 @@ SUBDIR += pngcheck SUBDIR += pngcrush SUBDIR += pngquant + SUBDIR += pngrewrite SUBDIR += pngwriter SUBDIR += pornview SUBDIR += potrace 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/ |