add pngcrush port;

an optimizer for PNG files
This commit is contained in:
brad 1999-12-26 04:24:38 +00:00
parent 4e7343c716
commit 4e4d12faf2
6 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,14 @@
# $FreeBSD: Makefile,v 1.1 1999/12/22 14:53:53 jedgar Exp $
DISTNAME= pngcrush-1.3.0
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.xnot.com/pmt/pub/pngcrush/src/
MAINTAINER= brad@openbsd.org
post-extract:
@cp ${FILESDIR}/Makefile ${WRKSRC}
.include <bsd.port.mk>

View File

@ -0,0 +1,13 @@
PROG= pngcrush
SRCS= adler32.c crc32.c deflate.c gzio.c infblock.c infcodes.c \
inffast.c inflate.c inftrees.c infutil.c png.c pngcrush.c \
pngerror.c pngget.c pngmem.c pngpread.c pngread.c pngrio.c \
pngrtran.c pngrutil.c pngset.c pngtrans.c pngvcrd.c \
pngwio.c pngwrite.c pngwtran.c pngwutil.c trees.c zutil.c
BINDIR= ${PREFIX}/bin
CFLAGS+=-Wall
LDADD+= -lm
NOMAN= yes
.include <bsd.prog.mk>

View File

@ -0,0 +1,3 @@
MD5 (pngcrush-1.3.0.tar.gz) = 2214cc7062b2020d0c8a2e4c06aa2fd1
RMD160 (pngcrush-1.3.0.tar.gz) = 3f2f70707a940e371b0713ab005b4c165dfb8a45
SHA1 (pngcrush-1.3.0.tar.gz) = 5522105c631ea56cb17a9484f2d57c7e8a6cc79b

View File

@ -0,0 +1 @@
an optimizer for PNG files

View File

@ -0,0 +1,6 @@
pngcrush reads in a PNG image, and writes it out again, with the
optimum filter_type and zlib_level. It uses brute force (trying
filter_type none, and libpng adaptive filtering, with compression
levels 3 and 9). It does the most time-consuming method last in case
it turns out to be the best. Optionally, it can remove unwanted
chunks or add gAMA and sRGB chunks.

View File

@ -0,0 +1 @@
bin/pngcrush