add pngcrush port;
an optimizer for PNG files
This commit is contained in:
parent
4e7343c716
commit
4e4d12faf2
14
graphics/pngcrush/Makefile
Normal file
14
graphics/pngcrush/Makefile
Normal 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>
|
||||
|
||||
|
13
graphics/pngcrush/files/Makefile
Normal file
13
graphics/pngcrush/files/Makefile
Normal 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>
|
3
graphics/pngcrush/files/md5
Normal file
3
graphics/pngcrush/files/md5
Normal 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
|
1
graphics/pngcrush/pkg/COMMENT
Normal file
1
graphics/pngcrush/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
an optimizer for PNG files
|
6
graphics/pngcrush/pkg/DESCR
Normal file
6
graphics/pngcrush/pkg/DESCR
Normal 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.
|
1
graphics/pngcrush/pkg/PLIST
Normal file
1
graphics/pngcrush/pkg/PLIST
Normal file
@ -0,0 +1 @@
|
||||
bin/pngcrush
|
Loading…
x
Reference in New Issue
Block a user