aboutsummaryrefslogtreecommitdiff
path: root/emulators/gsnes9x/Makefile
blob: 15ad9d83947c5f5cd46ba818ce4b9efe396552b3 (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
# Created by: Kelly Yancey <kbyanc@posi.net>
# $FreeBSD$

PORTNAME=	gsnes9x
PORTVERSION=	3.12
PORTREVISION=	10
CATEGORIES=	emulators
MASTER_SITES=	SF/${PORTNAME}/GSnes9x/${PORTVERSION}
DISTNAME=	GSnes9x-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A GTK front-end for the Snes9X SNES emulator

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

USES=        pathfix
USE_GNOME=	gnomeprefix gnomelibs
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
		AUTOHEADER="${TRUE}"

post-patch:
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
		's|^SUBDIRS = intl|SUBDIRS =|g ; \
		 s|@INTLLIBS@|-lintl|g ; \
		 s|@INTLDEPS@||g'

.include <bsd.port.mk>