From owner-freebsd-ports Tue Dec 7 9:50:26 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9B21914C44 for ; Tue, 7 Dec 1999 09:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA72673; Tue, 7 Dec 1999 09:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id A87F114BD2 for ; Tue, 7 Dec 1999 09:44:37 -0800 (PST) (envelope-from jedgar@pawn.primelocation.net) Received: by pawn.primelocation.net (Postfix, from userid 1003) id 255C19B1D; Tue, 7 Dec 1999 12:44:36 -0500 (EST) Message-Id: <19991207174436.255C19B1D@pawn.primelocation.net> Date: Tue, 7 Dec 1999 12:44:36 -0500 (EST) From: jedgar@fxp.org Reply-To: jedgar@fxp.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/15338: New port: graphics/pngcrush Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 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 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 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