aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/icoconvert
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-02 18:33:51 +0800
committerpav <pav@FreeBSD.org>2004-05-02 18:33:51 +0800
commit03d8bcbeca4253ee508473ca7b90c772901d05fc (patch)
tree43902a86f6315d58c75588017ceeadfab0f0ea9d /graphics/icoconvert
parent5e86a9e966dd97e1df2d90250803f7e8d66c6712 (diff)
downloadfreebsd-ports-gnome-03d8bcbeca4253ee508473ca7b90c772901d05fc.tar.gz
freebsd-ports-gnome-03d8bcbeca4253ee508473ca7b90c772901d05fc.tar.zst
freebsd-ports-gnome-03d8bcbeca4253ee508473ca7b90c772901d05fc.zip
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>
Diffstat (limited to 'graphics/icoconvert')
-rw-r--r--graphics/icoconvert/Makefile29
-rw-r--r--graphics/icoconvert/distinfo2
-rw-r--r--graphics/icoconvert/pkg-descr8
3 files changed, 39 insertions, 0 deletions
diff --git a/graphics/icoconvert/Makefile b/graphics/icoconvert/Makefile
new file mode 100644
index 000000000000..367a9af85e34
--- /dev/null
+++ b/graphics/icoconvert/Makefile
@@ -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>
diff --git a/graphics/icoconvert/distinfo b/graphics/icoconvert/distinfo
new file mode 100644
index 000000000000..8c7cf96f594f
--- /dev/null
+++ b/graphics/icoconvert/distinfo
@@ -0,0 +1,2 @@
+MD5 (icoconvert-2.0.tar.gz) = 56fe4474c8eaae2c8b886331cda41aca
+SIZE (icoconvert-2.0.tar.gz) = 349954
diff --git a/graphics/icoconvert/pkg-descr b/graphics/icoconvert/pkg-descr
new file mode 100644
index 000000000000..c9ade4799cae
--- /dev/null
+++ b/graphics/icoconvert/pkg-descr
@@ -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