aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/pyxmame/Makefile
blob: f44572be9be3b8682b58b63fde34bfad2748608f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# New ports collection makefile for:    pyxmame
# Date created:     2006-08-01
# Whom:         Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   pyxmame
PORTVERSION=    0.4.0
PORTREVISION=   3
CATEGORIES= emulators python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= acm@FreeBSD.org
COMMENT=    Simple frontend for the xmame

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2 \
        xmame:${PORTSDIR}/emulators/xmame

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
NO_BUILD=   yes

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/share/games|${PREFIX}/share|g ; \
        s|/usr/share/pixmaps|${PREFIX}/share/pixmaps|g' \
            ${WRKSRC}/config/pyxmamerc

.include <bsd.port.mk>