mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
4c61cc5a08
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>
30 lines
686 B
Makefile
30 lines
686 B
Makefile
# 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>
|