summaryrefslogtreecommitdiff
path: root/emulators/zsnes/Makefile
blob: bd27f60c2819cf85ae01df107f6f682513fb7f5d (plain)
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
# $NetBSD: Makefile,v 1.38 2007/06/06 22:05:45 rillig Exp $

DISTNAME=	zsnes151src
PKGNAME=	zsnes-1.51
CATEGORIES=	emulators
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=zsnes/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.zsnes.com/
COMMENT=	Super NES emulator

BUILD_DEPENDS+=		nasm-[0-9]*:../../devel/nasm

ONLY_FOR_PLATFORM=	*-*-i386

WRKSRC=			${WRKDIR}/zsnes_1_51/src
USE_LANGUAGES=		c c++
USE_TOOLS+=		gmake
GNU_CONFIGURE=		yes
LDFLAGS+=		${COMPILER_RPATH_FLAG}${LOCALBASE}/lib

BUILDLINK_API_DEPENDS.zlib+=	zlib>=1.2.3

.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"