summaryrefslogtreecommitdiff
path: root/emulators/zsnes/Makefile
blob: 6280808e874b9e07ef465f310628d2f010bf7e37 (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
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:	zsnes
# Date created:				Fri May  4 13:10:11 CEST 2001
# Whom:					Stijn Hoop <stijn@win.tue.nl>
#
# $FreeBSD$
#

PORTNAME=	zsnes
PORTVERSION=	1.36
PORTEPOCH=	1
CATEGORIES=	emulators
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	zsnes${PORTVERSION:S/.//}src

MAINTAINER=	stijn@win.tue.nl

# This must be >= 0.98!
BUILD_DEPENDS=	nasm-0.98.33:${PORTSDIR}/devel/nasm
LIB_DEPENDS=	SDL-1.1.4:${PORTSDIR}/devel/sdl12 \
		png.5:${PORTSDIR}/graphics/png

USE_X_PREFIX=	yes
USE_GMAKE=	yes

MAN1=		zsnes.1

# non-portable, for a portable version see emulators/snes9x
ONLY_FOR_ARCHS=	i386

SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
CONFIGURE_ENV+=	SDL_CONFIG=${SDL_CONFIG}

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src

GNU_CONFIGURE=	yes
ALL_TARGET=	ALL

.include <bsd.port.mk>