Bug 62614 - New port: graphics/pngrewrite - A PNG palette optimizer
Summary: New port: graphics/pngrewrite - A PNG palette optimizer
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 04:40 UTC by Daniel Roethlisberger
Modified: 2010-06-11 00:14 UTC (History)
1 user (show)

See Also:


Attachments
pngrewrite.sh (2.05 KB, text/plain)
2004-02-10 04:40 UTC, Daniel Roethlisberger
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Roethlisberger 2004-02-10 04:40:00 UTC
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.
Comment 1 Daniel Roethlisberger 2004-02-11 05:24:20 UTC
Please consider this instead of the above.
(no CC?= and corrected dependency)

--- pngrewrite.sh begins here ---
# 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:
#
#	pngrewrite
#	pngrewrite/Makefile
#	pngrewrite/pkg-descr
#	pngrewrite/pkg-plist
#	pngrewrite/distinfo
#
echo c - pngrewrite
mkdir -p pngrewrite > /dev/null 2>&1
echo x - pngrewrite/Makefile
sed 's/^X//' >pngrewrite/Makefile << 'END-of-pngrewrite/Makefile'
X# New ports collection makefile for:	pngrewrite
X# Date created:		10 February 2004
X# Whom:			Daniel Roethlisberger <daniel@roe.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pngrewrite
XPORTVERSION=	1.2.1
XCATEGORIES=	graphics
XMASTER_SITES=	http://entropymine.com/jason/pngrewrite/ \
X		http://dragon.roe.ch/mirrors/distfiles/pngrewrite/
X
XMAINTAINER=	daniel@roe.ch
XCOMMENT=	A PNG palette optimizer
X
XLIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
X
XUSE_ZIP=	yes
XNO_WRKSUBDIR=	yes
XNO_INSTALL_MANPAGES=	yes
X
Xdo-build:
X	${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
X		-o ${WRKSRC}/pngrewrite ${WRKSRC}/pngrewrite.c -lpng -lz -lm
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/pngrewrite ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-pngrewrite/Makefile
echo x - pngrewrite/pkg-descr
sed 's/^X//' >pngrewrite/pkg-descr << 'END-of-pngrewrite/pkg-descr'
XPngrewrite is a utility that reduces unnecessarily large palettes
Xof PNG images. It also optimizes transparency settings, and reduces
Xthe bits-per-pixel if possible.
XHandy for post-processing images before putting them on a web site.
X
XAuthor: Jason Summers <jason1@pobox.com>
XWWW: http://entropymine.com/jason/pngrewrite/
END-of-pngrewrite/pkg-descr
echo x - pngrewrite/pkg-plist
sed 's/^X//' >pngrewrite/pkg-plist << 'END-of-pngrewrite/pkg-plist'
Xbin/pngrewrite
END-of-pngrewrite/pkg-plist
echo x - pngrewrite/distinfo
sed 's/^X//' >pngrewrite/distinfo << 'END-of-pngrewrite/distinfo'
XMD5 (pngrewrite-1.2.1.zip) = 62c52a2924a49a65b43bfd3231d2dc51
XSIZE (pngrewrite-1.2.1.zip) = 95519
END-of-pngrewrite/distinfo
exit
--- pngrewrite.sh ends here ---
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2004-02-11 19:24:40 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2010-06-11 00:14:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

to committer