diff options
author | edwin <edwin@FreeBSD.org> | 2004-03-08 09:01:31 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-03-08 09:01:31 +0800 |
commit | 5d87bf6f020ae3177a26e679d65b5e50f035bbe1 (patch) | |
tree | ca9d8a7830bc4c19ec29804b066fc99d81d7488b /emulators | |
parent | 476102ca837a76b18c930b013cb486ec3f0ce79e (diff) | |
download | freebsd-ports-gnome-5d87bf6f020ae3177a26e679d65b5e50f035bbe1.tar.gz freebsd-ports-gnome-5d87bf6f020ae3177a26e679d65b5e50f035bbe1.tar.zst freebsd-ports-gnome-5d87bf6f020ae3177a26e679d65b5e50f035bbe1.zip |
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>
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/dgen-sdl/Makefile | 2 | ||||
-rw-r--r-- | emulators/fceu/Makefile | 2 | ||||
-rw-r--r-- | emulators/fceux/Makefile | 2 | ||||
-rw-r--r-- | emulators/freesci/Makefile | 5 | ||||
-rw-r--r-- | emulators/frodo/Makefile | 2 | ||||
-rw-r--r-- | emulators/generator/Makefile | 2 | ||||
-rw-r--r-- | emulators/scummvm/Makefile | 2 | ||||
-rw-r--r-- | emulators/stella/Makefile | 2 | ||||
-rw-r--r-- | emulators/vba/Makefile | 2 |
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/ |