Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  7 Dec 1999 12:44:36 -0500 (EST)
From:      jedgar@fxp.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/15338: New port: graphics/pngcrush
Message-ID:  <19991207174436.255C19B1D@pawn.primelocation.net>

next in thread | raw e-mail | index | archive | help

>Number:         15338
>Category:       ports
>Synopsis:       New port: graphics/pngcrush
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec  7 09:50:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Chris D. Faulhaber
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
BUGO - BSD Users Group of Orlando
>Environment:

FreeBSD 4.0-CURRENT i386

>Description:

New port: graphics/pngcrush

PNG file/image optimizer

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pngcrush
#	pngcrush/Makefile
#	pngcrush/files
#	pngcrush/files/md5
#	pngcrush/files/Makefile
#	pngcrush/pkg
#	pngcrush/pkg/PLIST
#	pngcrush/pkg/DESCR
#	pngcrush/pkg/COMMENT
#
echo c - pngcrush
mkdir -p pngcrush > /dev/null 2>&1
echo x - pngcrush/Makefile
sed 's/^X//' >pngcrush/Makefile << 'END-of-pngcrush/Makefile'
X# New ports collection makefile for:	pngcrush
X# Version required:			1.2.1
X# Date created:				07 December 1999
X# Whom:					Chris D. Faulhaber <jedgar@fxp.org>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	pngcrush-1.2.1
XCATEGORIES=	graphics
XMASTER_SITES=	ftp://ftp.xnot.com/pmt/pub/pngcrush/src/
X
XMAINTAINER=	jedgar@fxp.org
X
Xdo-configure:
X	@${CP} ${FILESDIR}/Makefile ${WRKSRC}
X
X.include <bsd.port.mk>
END-of-pngcrush/Makefile
echo c - pngcrush/files
mkdir -p pngcrush/files > /dev/null 2>&1
echo x - pngcrush/files/md5
sed 's/^X//' >pngcrush/files/md5 << 'END-of-pngcrush/files/md5'
XMD5 (pngcrush-1.2.1.tar.gz) = 7bed759a4d243ac3e050bf9a7b18210b
END-of-pngcrush/files/md5
echo x - pngcrush/files/Makefile
sed 's/^X//' >pngcrush/files/Makefile << 'END-of-pngcrush/files/Makefile'
X
XPROG=		pngcrush
XSRCS=		adler32.c crc32.c deflate.c gzio.c infblock.c infcodes.c \
X		inffast.c inflate.c inftrees.c infutil.c png.c pngcrush.c \
X		pngerror.c pngget.c pngmem.c pngpread.c pngread.c pngrio.c \
X		pngrtran.c pngrutil.c pngset.c pngtrans.c pngvcrd.c \
X		pngwio.c pngwrite.c pngwtran.c pngwutil.c trees.c zutil.c
X
XBINDIR=		${PREFIX}/bin
XCFLAGS+=	-Wall
XLDADD+=		-lm
XNOMAN=		YES
X
X.include <bsd.prog.mk>
END-of-pngcrush/files/Makefile
echo c - pngcrush/pkg
mkdir -p pngcrush/pkg > /dev/null 2>&1
echo x - pngcrush/pkg/PLIST
sed 's/^X//' >pngcrush/pkg/PLIST << 'END-of-pngcrush/pkg/PLIST'
Xbin/pngcrush
END-of-pngcrush/pkg/PLIST
echo x - pngcrush/pkg/DESCR
sed 's/^X//' >pngcrush/pkg/DESCR << 'END-of-pngcrush/pkg/DESCR'
Xpngcrush reads in a PNG image, and writes it out again, with the
Xoptimum filter_type and zlib_level.  It uses brute force (trying
Xfilter_type none, and libpng adaptive filtering, with compression
Xlevels 3 and 9).  It does the most time-consuming method last in case
Xit turns out to be the best.  Optionally, it can remove unwanted
Xchunks or add gAMA and sRGB chunks
X
X- Chris D. Faulhaber
Xjedgar@fxp.org
END-of-pngcrush/pkg/DESCR
echo x - pngcrush/pkg/COMMENT
sed 's/^X//' >pngcrush/pkg/COMMENT << 'END-of-pngcrush/pkg/COMMENT'
Xpngcrush is a optimizer for PNG files
END-of-pngcrush/pkg/COMMENT
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991207174436.255C19B1D>