blob: ab4e703333618d7267f86617d5d86aab10195b27 (
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
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.45 2015/01/01 10:18:42 dholland Exp $
DISTNAME= zsnes151src
PKGNAME= zsnes-1.51
PKGREVISION= 3
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
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
# Makes heavy use of 32-bit x86 assembler.
ONLY_FOR_PLATFORM= *-*-i386
# Theoretically we can build a 32-bit binary on amd64 NetBSD, but we'd
# need 32-bit SDL and png and pkgsrc doesn't currently have
# infrastructure for that.
#ONLY_FOR_PLATFORM+= NetBSD-*-x86_64
WRKSRC= ${WRKDIR}/zsnes_1_51/src
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/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"
|