mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
eca78ec61b
Requested by: edwin
30 lines
729 B
Makefile
30 lines
729 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
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.mox.net/downloads/ \
|
|
http://www.xunix.org/~flz/distfiles/
|
|
|
|
MAINTAINER= flz@FreeBSD.org
|
|
COMMENT= A small utility to convert Windows icon files into .xpm and .png files
|
|
|
|
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
|
|
|
|
PLIST_FILES= bin/icoconvert
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^icoconvert|all|' -e 's|^\(FLAGS=\)|\1-I${LOCALBASE}/include |' \
|
|
-e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/icoconvert ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|