# New ports collection makefile for:	qemu-launcher
# Date created:				22 December 2005
# Whom:					Wesley Shields <wxs@csh.rit.edu>
#
# $FreeBSD: branches/RELENG_9_1_0/emulators/qemu-launcher/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	qemu-launcher
PORTVERSION=	1.7.4
PORTREVISION=	6
CATEGORIES=	emulators
MASTER_SITES=	http://download.gna.org/qemulaunch/1.7.x/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A GTK front-end to Qemu

RUN_DEPENDS=	p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
		p5-Glade2>=0:${PORTSDIR}/x11-toolkits/p5-Glade2 \
		p5-Locale-gettext>=0:${PORTSDIR}/devel/p5-Locale-gettext

WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_PERL5=	yes
NO_BUILD=	yes
USE_GNOME=	gtk20
INSTALLS_ICONS=	yes
USE_GETTEXT=	yes

MAN1=	qemu-launcher.1

post-patch:
	@${REINPLACE_CMD} -e 's,/usr,${PREFIX},g' ${WRKSRC}/qemu-launcher.pl
	@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile

.include <bsd.port.mk>
