# New ports collection makefile for:	gxmame
# Date created:			04 Oct 2003
# Whom:				Travis Poppe <tlp@liquidx.org>
#
# $FreeBSD: ports/emulators/gxmame/Makefile,v 1.10 2004/04/05 03:30:17 marcus Exp $
#

PORTNAME=	gxmame
PORTVERSION=	0.34b
PORTREVISION=	4
CATEGORIES=	emulators
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	tlp@liquidx.org
COMMENT=	GXmame is a GTK frontend for xmame

RUN_DEPENDS=	xmame:${PORTSDIR}/emulators/xmame

USE_GETTEXT=	yes
USE_GZIP=	yes
USE_ICONV=	yes
USE_XLIB=	yes
USE_GNOME=	gtk20
USE_REINPLACE=	yes
ONLY_FOR_ARCHS=	i386

DOCDIR=		share/doc/${PORTNAME}
GNU_CONFIGURE=	yes

CONFIGURE_ARGS=	--with-xmame-dir=${X11BASE}/share/xmame

post-configure:
	@${REINPLACE_CMD} -e 's|$$(top_builddir)/./mkinstalldirs|./mkinstalldirs|' ${WRKSRC}/intl/Makefile

.include <bsd.port.mk>
