summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-03-08 01:01:31 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-03-08 01:01:31 +0000
commit672c044e2eee3598f19a0f5e618e0c2fe8aea68d (patch)
tree771bbdda8fc0a17d5351cfa925732955ccc44706 /emulators
parent- Update to 4.4.0 (diff)
Properly use SDL everywhere:
USE_SDL=yes -> USE_SDL=sdl (good examles everywhere) WANT_SDL/HAVE_SDL instead of exists(localbase/lib/lib...) See http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-sdl.html for more information on how to use USE_SDL, WANT_SDL and HAVE_SDL. PR: follow-ups of ports/55494, ports/61877 Submitted by: Edwin Groothuis <edwin@mavetju.org>
Notes
Notes: svn path=/head/; revision=103247
Diffstat (limited to 'emulators')
-rw-r--r--emulators/dgen-sdl/Makefile2
-rw-r--r--emulators/fceu/Makefile2
-rw-r--r--emulators/fceux/Makefile2
-rw-r--r--emulators/freesci/Makefile5
-rw-r--r--emulators/frodo/Makefile2
-rw-r--r--emulators/generator/Makefile2
-rw-r--r--emulators/scummvm/Makefile2
-rw-r--r--emulators/stella/Makefile2
-rw-r--r--emulators/vba/Makefile2
9 files changed, 11 insertions, 10 deletions
diff --git a/emulators/dgen-sdl/Makefile b/emulators/dgen-sdl/Makefile
index 47ff848bafc5..e618ca071828 100644
--- a/emulators/dgen-sdl/Makefile
+++ b/emulators/dgen-sdl/Makefile
@@ -15,7 +15,7 @@ COMMENT= A wonderful Sega Genesis/MegaDrive emulator
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
-USE_SDL= yes
+USE_SDL= sdl
USE_GL= yes
GNU_CONFIGURE= yes
diff --git a/emulators/fceu/Makefile b/emulators/fceu/Makefile
index 9bdc5758b35a..5bd0f9d44b40 100644
--- a/emulators/fceu/Makefile
+++ b/emulators/fceu/Makefile
@@ -15,7 +15,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}.src
MAINTAINER= gibbon@cocoa.freemail.ne.jp
COMMENT= A portable NES/Famicom emulator based on Bero's original FCE
-USE_SDL= yes
+USE_SDL= sdl
MAN6= fceu.6
WRKSRC= ${WRKDIR}/fceu
USE_X_PREFIX= yes
diff --git a/emulators/fceux/Makefile b/emulators/fceux/Makefile
index 9bdc5758b35a..5bd0f9d44b40 100644
--- a/emulators/fceux/Makefile
+++ b/emulators/fceux/Makefile
@@ -15,7 +15,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}.src
MAINTAINER= gibbon@cocoa.freemail.ne.jp
COMMENT= A portable NES/Famicom emulator based on Bero's original FCE
-USE_SDL= yes
+USE_SDL= sdl
MAN6= fceu.6
WRKSRC= ${WRKDIR}/fceu
USE_X_PREFIX= yes
diff --git a/emulators/freesci/Makefile b/emulators/freesci/Makefile
index 9bef9d963364..4c5fd823c636 100644
--- a/emulators/freesci/Makefile
+++ b/emulators/freesci/Makefile
@@ -20,6 +20,7 @@ USE_BZIP2= yes
USE_REINPLACE= yes
USE_XLIB= yes
GNU_CONFIGURE= yes
+WANT_SDL= yes
CONFIGURE_TARGET=
CONFIGURE_ENV= CFLAGS=${PTHREAD_CFLAGS}
@@ -28,7 +29,7 @@ MAN6= freesci-tools.6 freesci.6
.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/lib/libSDL-1.1.so.5)
+.if ${HAVE_SDL:Msdl}!=""
WITH_SDL= yes
.endif
.if exists(${LOCALBASE}/lib/libdirectfb-0.9.so.16)
@@ -43,7 +44,7 @@ CONFIGURE_ARGS+= --with-console
.endif
.if defined(WITH_SDL) && !defined(WITHOUT_SDL)
-LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
+USE_SDL= yes
CONFIGURE_ARGS= --with-sdl-prefix=${LOCALBASE}
.else
CONFIGURE_ARGS+= --without-sdl
diff --git a/emulators/frodo/Makefile b/emulators/frodo/Makefile
index 1e777129b06c..a76a3388e8d2 100644
--- a/emulators/frodo/Makefile
+++ b/emulators/frodo/Makefile
@@ -25,7 +25,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
USE_REINPLACE= yes
.if !defined(WITHOUT_SDL)
-USE_SDL= yes
+USE_SDL= sdl
.endif
ROM= 1541 Basic Char Kernal
diff --git a/emulators/generator/Makefile b/emulators/generator/Makefile
index 7f38870882d7..9aa890733ea7 100644
--- a/emulators/generator/Makefile
+++ b/emulators/generator/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
PLIST_FILES= bin/generator-gtk
USE_GNOME= gtk12
-USE_SDL= yes
+USE_SDL= sdl
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
diff --git a/emulators/scummvm/Makefile b/emulators/scummvm/Makefile
index 37ff0db945d0..da4b3db45391 100644
--- a/emulators/scummvm/Makefile
+++ b/emulators/scummvm/Makefile
@@ -22,7 +22,7 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_PERL5_BUILD=yes
USE_REINPLACE= yes
-USE_SDL= yes
+USE_SDL= sdl
MAN6= scummvm.6
diff --git a/emulators/stella/Makefile b/emulators/stella/Makefile
index 2195a9afab3b..7a9b5464b03b 100644
--- a/emulators/stella/Makefile
+++ b/emulators/stella/Makefile
@@ -30,7 +30,7 @@ PLIST_SUB= STELLA_BIN="${STELLA_BIN}"
ALL_TARGET= freebsd-x
STELLA_BIN= stella.x11
.else
-USE_SDL= yes
+USE_SDL= sdl
ALL_TARGET= freebsd-sdl
STELLA_BIN= stella.sdl
.endif
diff --git a/emulators/vba/Makefile b/emulators/vba/Makefile
index cfdcd0dac764..bd6b1bce006d 100644
--- a/emulators/vba/Makefile
+++ b/emulators/vba/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_X_PREFIX= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-USE_SDL= yes
+USE_SDL= sdl
WRKSRC= ${WRKDIR}/VisualBoyAdvance-${PORTVERSION}
TARGET_DIR= ${PREFIX}/bin/