View | Details | Raw Unified | Return to bug 101663
Collapse All | Expand All

(-)Makefile (-3 / +19 lines)
Lines 7-20 Link Here
7
7
8
PORTNAME=	zsnes
8
PORTNAME=	zsnes
9
PORTVERSION=	1.42
9
PORTVERSION=	1.42
10
PORTREVISION=	1
10
PORTREVISION=	2
11
PORTEPOCH=	1
11
PORTEPOCH=	1
12
CATEGORIES=	emulators
12
CATEGORIES=	emulators
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
14
MASTER_SITE_SUBDIR=	${PORTNAME}
14
MASTER_SITE_SUBDIR=	${PORTNAME}
15
DISTNAME=	zsnes${PORTVERSION:S/.//}src
15
DISTNAME=	zsnes${PORTVERSION:S/.//}src
16
16
17
MAINTAINER=	ports@FreeBSD.org
17
MAINTAINER=	freebsd-ports@stsp.in-berlin.de
18
COMMENT=	Intel x86 only Super Nintendo Entertainment System (SNES) Emulator
18
COMMENT=	Intel x86 only Super Nintendo Entertainment System (SNES) Emulator
19
19
20
# This must be >= 0.98!
20
# This must be >= 0.98!
Lines 26-34 Link Here
26
26
27
WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION:S/./_/}/src
27
WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION:S/./_/}/src
28
28
29
OPTIONS=	X11 "Enable X11 video driver" on
30
OPTIONS+=	OPENGL "Enable OpenGL video driver" off
31
32
.if defined(WITHOUT_X11)
33
CONFIGURE_ARGS=	--without-x
34
PKGNAMESUFFIX=	-nox11
35
.else
29
USE_X_PREFIX=	yes
36
USE_X_PREFIX=	yes
30
USE_SDL=	sdl
37
CONFIGURE_ARGS=	--with-x
38
.endif
39
40
.if defined(WITH_OPENGL)
31
USE_GL=		yes
41
USE_GL=		yes
42
CONFIGURE_ARGS=	--enable-opengl
43
.else
44
CONFIGURE_ARGS=	--disable-opengl
45
.endif
46
47
USE_SDL=	sdl
32
USE_GMAKE=	yes
48
USE_GMAKE=	yes
33
GNU_CONFIGURE=	yyes
49
GNU_CONFIGURE=	yyes
34
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
50
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

Return to bug 101663