Add icoconvert, a small utility to convert Windows icon files into .xpm and .png files.

This can be done in batches, and properly supports transparencies as well as
non 32x32 icon sizes. It also supports 24 bit icons.

PR:		ports/66121
Submitted by:	Florent Thoumie <flz@xbsd.org>
This commit is contained in:
Pav Lucistnik 2004-05-02 10:33:51 +00:00
parent 26806227fd
commit 4c61cc5a08
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108145
4 changed files with 40 additions and 0 deletions

View File

@ -152,6 +152,7 @@
SUBDIR += hs-HOpenGL
SUBDIR += hs-hgl
SUBDIR += hsetroot
SUBDIR += icoconvert
SUBDIR += icod
SUBDIR += icontact
SUBDIR += imageindex

View File

@ -0,0 +1,29 @@
# New ports collection makefile for: icoconvert
# Date created: Apr 30 2004
# Whom: Florent Thoumie <flz@xbsd.org>
#
# $FreeBSD$
#
PORTNAME= icoconvert
PORTVERSION= 2.0
CATEGORIES= graphics
MASTER_SITES= http://www.mox.net/downloads/
MAINTAINER= flz@xbsd.org
COMMENT= A small utility to convert Windows icon files into .xpm and .png files
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
USE_REINPLACE= yes
PLIST_FILES= bin/icoconvert
post-patch:
${REINPLACE_CMD} -e 's|^icoconvert|all|' ${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|^\(FLAGS=\)|\1-I${PREFIX}/include |' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/icoconvert ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (icoconvert-2.0.tar.gz) = 56fe4474c8eaae2c8b886331cda41aca
SIZE (icoconvert-2.0.tar.gz) = 349954

View File

@ -0,0 +1,8 @@
A small utility to convert Windows .ico icon files into .xpm and .png files.
This can be done in batches, and properly supports transparencies as well as
non 32x32 icon sizes. It also supports 24 bit icons.
WWW: http://www.mox.net/
- Florent Thoumie
flz@xbsd.org