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>
This commit is contained in:
Edwin Groothuis 2004-03-08 01:01:31 +00:00
parent 86240c80e6
commit 672c044e2e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103247
61 changed files with 99 additions and 97 deletions

View file

@ -16,7 +16,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Drum machine compiler
USE_REINPLACE= yes
USE_SDL= yes
USE_SDL= sdl
CFLAGS+= `${SDL_CONFIG} --cflags`
LIBS+= `${SDL_CONFIG} --libs`
PLIST_FILES= bin/drumpiler

View file

@ -17,7 +17,7 @@ COMMENT= An curses-based MP3 player
LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg
USE_SDL= yes
USE_SDL= sdl
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes

View file

@ -18,7 +18,7 @@ COMMENT= A sample multi-channel audio mixer library
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis \
smpeg.1:${PORTSDIR}/multimedia/smpeg
USE_SDL= yes
USE_SDL= sdl
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes

View file

@ -15,7 +15,7 @@ DISTNAME= SDL_sound-${PORTVERSION}
MAINTAINER= dyeske@yahoo.com
COMMENT= A SDL audio library and player for some popular sound file formats
USE_SDL= yes
USE_SDL= sdl
USE_REINPLACE= yes
USE_LIBTOOL= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

View file

@ -16,7 +16,7 @@ COMMENT= A program to send AM radio signals using a PC monitor
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_SDL= yes
USE_SDL= sdl
post-install:
${MKDIR} ${PREFIX}/share/tempest

View file

@ -57,7 +57,7 @@ CFLAGS+= -O0
CONFIGURE_ARGS+= --disable-clanSDL
PLIST_SUB+= SDL="@comment "
.else
USE_SDL= yes
USE_SDL= sdl
CONFIGURE_ARGS+= --disable-sdltest
PLIST_SUB+= SDL=""
.endif

View file

@ -23,7 +23,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GL= yes
USE_GMAKE= yes
USE_SDL= yes
USE_SDL= sdl
USE_SIZE= yes
ALL_TARGET= target
PLIST_SUB= VERSION="${PORTVERSION}"

View file

@ -29,6 +29,8 @@ INSTALLS_SHLIB= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
WANT_SDL= yes
SDL11_FILES= configure uta/color.h uta/event.h uta/keysym.h uta/mutex.h \
uta/pixelformat.h uta/rect.h uta/sge_blib.cc uta/sge_blib.h \
uta/sge_draw.cc uta/sge_draw.h uta/sound.h uta/surface_io.cc \
@ -36,12 +38,12 @@ SDL11_FILES= configure uta/color.h uta/event.h uta/keysym.h uta/mutex.h \
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libSDL_mixer.so.2)
.if ${HAVE_SDL:Mmixer}!=""
WITH_SDL_MIXER= yes
.endif
.if defined(WITH_SDL_MIXER)
USE_SDL= mixer sdl
USE_SDL+= mixer
.endif
post-patch:

View file

@ -29,6 +29,8 @@ INSTALLS_SHLIB= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
WANT_SDL= yes
SDL11_FILES= configure uta/color.h uta/event.h uta/keysym.h uta/mutex.h \
uta/pixelformat.h uta/rect.h uta/sge_blib.cc uta/sge_blib.h \
uta/sge_draw.cc uta/sge_draw.h uta/sound.h uta/surface_io.cc \
@ -36,12 +38,12 @@ SDL11_FILES= configure uta/color.h uta/event.h uta/keysym.h uta/mutex.h \
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libSDL_mixer.so.2)
.if ${HAVE_SDL:Mmixer}!=""
WITH_SDL_MIXER= yes
.endif
.if defined(WITH_SDL_MIXER)
USE_SDL= mixer sdl
USE_SDL+= mixer
.endif
post-patch:

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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/

View file

@ -16,7 +16,7 @@ COMMENT= An SDL port of the Abuse game engine
USE_BZIP2= yes
USE_MESA= yes
USE_SDL= yes
USE_SDL= sdl
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes

View file

@ -21,7 +21,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff \
freetype.9:${PORTSDIR}/print/freetype2
USE_SDL= yes
USE_SDL= sdl
USE_GNOME= gnometarget
USE_REINPLACE= yes
USE_GMAKE= yes

View file

@ -19,7 +19,7 @@ COMMENT= A 2D - Jump'n'run shooter
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_XPM= yes
USE_SDL= yes
USE_SDL= sdl
USE_GMAKE= yes
DATAVERSION= 0.8.6

View file

@ -15,7 +15,7 @@ DISTNAME= Columns-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Nice little implementation of columns game for X Window System
USE_SDL= yes
USE_SDL= sdl
USE_X_PREFIX= yes
GNU_CONFIGURE= yes

View file

@ -16,7 +16,7 @@ MAINTAINER= Jan.Stocker@t-online.de
COMMENT= A 3d dungeon crawling adventure in the spirit of NetHack
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_SDL= yes
USE_SDL= sdl
USE_MESA= yes
USE_GMAKE= yes
USE_REINPLACE= yes

View file

@ -18,7 +18,7 @@ COMMENT= Ultima VII engine
RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity
USE_XLIB= yes
USE_SDL= yes
USE_SDL= sdl
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes

View file

@ -21,7 +21,7 @@ RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity
NHDIR= "${PREFIX}/share/falconseyedir"
MAKE_ENV= NHDIR="${NHDIR}" NETHACKCONFIG="${NETHACKCONFIG}"
NETHACKCONFIG= ${FILESDIR}/x-config
USE_SDL= yes
USE_SDL= sdl
USE_PERL5_BUILD=yes
USE_X_PREFIX= Yes
USE_ZIP= yes

View file

@ -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

View file

@ -16,12 +16,11 @@ EXTRACT_SUFX= -source.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= A 3D worm game for two players for X Window System
LIB_DEPENDS= SDL_sound-1.0.1:${PORTSDIR}/audio/sdl_sound \
png.5:${PORTSDIR}/graphics/png
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_X_PREFIX= yes
USE_GL= yes
USE_SDL= yes
USE_SDL= sdl sound
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
@ -33,7 +32,7 @@ CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
.if defined(WITH_SDL_NET)
LIB_DEPENDS+= SDL_net:${PORTSDIR}/net/sdl_net
USE_SDL+= net
CONFIGURE_ARGS+= --enable-network
.endif

View file

@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= lgames
MAINTAINER= ports@FreeBSD.org
COMMENT= A nice clone of classical Breakout game
USE_SDL= yes
USE_SDL= sdl
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes

View file

@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= lgeneral
MAINTAINER= filippo@widestore.net
COMMENT= A turn-based strategy engine inspired by Panzer General
USE_SDL= yes
USE_SDL= sdl
.ifndef (WITHOUT_SOUND)
USE_SDL= mixer

View file

@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= lgames
MAINTAINER= verm@drunkmonk.net
COMMENT= A challenging puzzle game similar to Atomix
USE_SDL= yes
USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-profile-path=/var/games

View file

@ -14,14 +14,10 @@ DISTNAME= Maelstrom-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Asteroids-style game for X Window System
LIB_DEPENDS= SDL_net.0:${PORTSDIR}/net/sdl_net
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_SDL= sdl net
USE_X_PREFIX= yes
USE_XPM= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
CONFIGURE_ARGS+=--program-transform-name=\'\'
.if !defined(NOPORTDOCS)

View file

@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= lgames
MAINTAINER= verm@drunkmonk.net
COMMENT= A challenging puzzle game similar to Atomix
USE_SDL= yes
USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-profile-path=/var/games

View file

@ -13,7 +13,7 @@ MASTER_SITES= http://www.libsdl.org/projects/newvox/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= Voxel-style landscape rendering fly-by
USE_SDL= yes
USE_SDL= sdl
USE_X_PREFIX= yes
GNU_CONFIGURE= yes

View file

@ -21,6 +21,7 @@ USE_GMAKE= yes
USE_LIBTOOL= yes
USE_XLIB= yes
INSTALLS_SHLIB= yes
WANT_SDL= yes
LDCONFIG_DIRS= ${PREFIX}/lib/quake2 ${PREFIX}/lib/quake2/baseq2 ${PREFIX}/lib/quake2/ctf
.include <bsd.port.pre.mk>
@ -28,7 +29,7 @@ LDCONFIG_DIRS= ${PREFIX}/lib/quake2 ${PREFIX}/lib/quake2/baseq2 ${PREFIX}/lib/qu
CONFIGURE_ARGS= --enable-static=no --program-transform-name='s/^quake2$$/q2f/'
CONFIGURE_TARGET=
.if exists(${LOCALBASE}/lib/libSDL-1.1.so.5)
.if ${HAVE_SDL:Msdl}!=""
WITH_SDL= yes
.endif

View file

@ -27,6 +27,7 @@ COMMENT= Cleaned up copy of the original Quake II source code
USE_GMAKE= yes
USE_REINPLACE= yes
WANT_SDL= yes
.include <bsd.port.pre.mk>
@ -45,10 +46,10 @@ PLIST_SUB+= SVGA="@comment "
.endif
.if defined(WITH_SDLCLIENT) || defined(WITH_SDL) || defined(WITH_SDLGL) \
|| exists(${LOCALBASE}/lib/libSDL-1.1.so.5)
|| ${HAVE_SDL:Msdl}!=""
. if !(defined(WITHOUT_SDLCLIENT) && defined(WITHOUT_SDL) \
&& defined(WITHOUT_SDLGL))
USE_SDL= yes
USE_SDL= sdl
. endif
. if !defined(WITHOUT_SDLCLIENT)
MAKE_ARGS+= BUILD_SDLQUAKE2=YES
@ -188,13 +189,13 @@ pre-everything::
.if ${ARCH} == "i386" && !(defined(WITH_SVGA) || exists(${LOCALBASE}/lib/libvga.so.1))
@${ECHO_MSG} "Define WITH_SVGA to build SVGA driver"
.endif
.if !(defined(WITH_SDL) || exists(${LOCALBASE}/lib/libSDL-1.1.so.5))
.if !(defined(WITH_SDL) || ${HAVE_SDL:Msdl}!="")
@${ECHO_MSG} "Define WITH_SDL to build SDL software driver"
.endif
.if !(defined(WITH_SDLGL) || exists(${LOCALBASE}/lib/libSDL-1.1.so.5))
.if !(defined(WITH_SDLGL) || ${HAVE_SDL:Msdl}!="")
@${ECHO_MSG} "Define WITH_SDLGL to build SDL OpenGL driver"
.endif
.if !(defined(WITH_SDLCLIENT) || exists(${LOCALBASE}/lib/libSDL-1.1.so.5))
.if !(defined(WITH_SDLCLIENT) || ${HAVE_SDL:Msdl}!="")
@${ECHO_MSG} "Define WITH_SDLCLIENT to build executable that uses SDL for cdrom and sound"
.endif
.if !(defined(WITH_AA) || exists(${LOCALBASE}/lib/libaa.so.1))

View file

@ -36,6 +36,7 @@ USE_GMAKE= yes
USE_XLIB= yes
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
WANT_SDL= yes
.include <bsd.port.pre.mk>
@ -56,7 +57,7 @@ CFLAGS+= -ffast-math
.endif
.endif
.if exists(${LOCALBASE}/lib/libSDL-1.1.so.5)
.if ${HAVE_SDL:Msdl}!=""
WITH_SDL= yes
.endif
@ -127,7 +128,7 @@ PLIST_SUB+= XMMS:="@comment "
.endif
.if !defined(WITHOUT_SDL) && defined(WITH_SDL)
USE_SDL= yes
USE_SDL= sdl
CONFIGURE_ARGS+=--with-sdl=${LOCALBASE}
PLIST_SUB+= SDL:=""
.else

View file

@ -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

View file

@ -15,7 +15,7 @@ DISTNAME= tworld-${PORTVERSION}
MAINTAINER= sec@42.org
COMMENT= An emulation of the game "Chip's Challenge"
USE_SDL= yes
USE_SDL= sdl
GNU_CONFIGURE= YES
USE_GMAKE= YES
USE_REINPLACE= YES

View file

@ -19,7 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
vorbis.3:${PORTSDIR}/audio/libvorbis
USE_SDL= yes
USE_SDL= sdl
USE_GMAKE= yes
ALL_TARGET= tuxpuck

View file

@ -16,7 +16,7 @@ DISTFILES= wolf3d-20011028.tar.gz:wolf wolfdata.tar.gz:wolfdata
MAINTAINER= tlp@liquidx.org
COMMENT= "Wolfenstein 3D Linux" by Steven Fuller (1992)
USE_SDL= yes
USE_SDL= sdl
USE_GZIP= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes

View file

@ -20,7 +20,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
RESTRICTED= Copyright status of the graphics and sounds is uncertain
USE_GMAKE= yes
USE_REINPLACE= yes
USE_SDL= yes
USE_SDL= sdl
MAN6= xrick.6
MANCOMPRESSED= yes

View file

@ -23,7 +23,7 @@ USE_REINPLACE= yes
USE_LIBTOOL= yes
USE_GMAKE= yes
USE_PYTHON= yes
USE_SDL= yes
USE_SDL= sdl
USE_GL= yes
CONFIGURE_ARGS= --with-sdl=${LOCALBASE} --disable-oggtest --disable-vorbistest --disable-sdltest

View file

@ -15,7 +15,7 @@ DISTNAME= GUIlib-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A very simple GUI framework for use with SDL
USE_SDL= yes
USE_SDL= sdl
USE_GMAKE= yes
USE_LIBTOOL= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore

View file

@ -17,7 +17,7 @@ DISTNAME= SDL_gfx-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= SDL graphics drawing primitives and other support functions
USE_SDL= yes
USE_SDL= sdl
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes

View file

@ -19,7 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
USE_SDL= yes
USE_SDL= sdl
USE_GMAKE= yes
USE_LIBTOOL= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore

View file

@ -17,7 +17,7 @@ COMMENT= A library to use TrueType fonts to render text in SDL applications
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
USE_SDL= yes
USE_SDL= sdl
USE_GL= yes
USE_REINPLACE= yes
USE_GMAKE= yes

View file

@ -19,7 +19,7 @@ COMMENT= Flash Rendering Library
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad
USE_X_PREFIX= yes
USE_SDL= yes
USE_SDL= sdl
USE_GNOME= gnomehack gtk20 libartlgpl2
USE_GETOPT_LONG= yes
USE_REINPLACE= yes

View file

@ -22,7 +22,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
USE_MOTIF= yes
USE_GL= yes
USE_SDL= yes
USE_SDL= sdl
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \

View file

@ -23,7 +23,7 @@ PREFIX= ${KDE_PREFIX}
USE_BZIP2= yes
USE_GMAKE= yes
USE_SDL= yes
USE_SDL= sdl
USE_REINPLACE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes

View file

@ -20,6 +20,7 @@ HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
USE_SIZE= yes
WANT_SDL= yes
CONFIGURE_ARGS= --cc="${CC}" --prefix="${PREFIX}" \
--make="${GMAKE}" --enable-shared \
--extra-ldflags="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
@ -59,7 +60,7 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-bktr-patch-libavformat::Makefile
##
##
## SDL
.if exists(${LOCALBASE}/lib/libSDL-1.1.so)
.if ${HAVE_SDL:Msdl}
WITH_SDL=yes
.endif
## freetype2
@ -116,7 +117,7 @@ CONFIGURE_ARGS+= --disable-mmx
.endif
## SDL
.ifdef(WITH_SDL)
USE_SDL= yes
USE_SDL= sdl
PLIST_SUB+= SDL=""
.else

View file

@ -20,6 +20,7 @@ HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
USE_SIZE= yes
WANT_SDL= yes
CONFIGURE_ARGS= --cc="${CC}" --prefix="${PREFIX}" \
--make="${GMAKE}" --enable-shared \
--extra-ldflags="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
@ -59,7 +60,7 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-bktr-patch-libavformat::Makefile
##
##
## SDL
.if exists(${LOCALBASE}/lib/libSDL-1.1.so)
.if ${HAVE_SDL:Msdl}
WITH_SDL=yes
.endif
## freetype2
@ -116,7 +117,7 @@ CONFIGURE_ARGS+= --disable-mmx
.endif
## SDL
.ifdef(WITH_SDL)
USE_SDL= yes
USE_SDL= sdl
PLIST_SUB+= SDL=""
.else

View file

@ -32,6 +32,7 @@ USE_GNOME= gnomehack \
USE_LIBTOOL= yes
USE_REINPLACE= yes
USE_SIZE= yes
WANT_SDL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-tests \
--disable-alsa \
@ -56,7 +57,6 @@ WANT_GNOME= yes
MAN1= gst-launch-ext.1 gst-visualise.1
PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
SDL_CONFIG?="${LOCALBASE}/bin/sdl11-config"
XMMS_CONFIG?="${LOCALBASE}/bin/xmms-config"
# library minor number
@ -258,7 +258,7 @@ WITH_PNG=yes
.endif
# sdl
.if exists(${LOCALBASE}/lib/libSDL-1.1.a)
.if ${HAVE_SDL:Msdl}
WITH_SDL=yes
.endif
@ -582,11 +582,9 @@ CONFIGURE_ARGS+= --disable-sdl \
--disable-sdltest
PLIST_SUB+= SDL="@comment "
.else
LIB_DEPENDS+= SDL-1.1.5:${PORTSDIR}/devel/sdl12
USE_SDL= sdl
CONFIGURE_ARGS+= --with-sdl-prefix=${LOCALBASE} \
--with-sdl-exec-prefix=${LOCALBASE}
CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG}
PLIST_SUB+= SDL=""
.endif

View file

@ -32,6 +32,7 @@ USE_GNOME= gnomehack \
USE_LIBTOOL= yes
USE_REINPLACE= yes
USE_SIZE= yes
WANT_SDL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-tests \
--disable-alsa \
@ -56,7 +57,6 @@ WANT_GNOME= yes
MAN1= gst-launch-ext.1 gst-visualise.1
PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
SDL_CONFIG?="${LOCALBASE}/bin/sdl11-config"
XMMS_CONFIG?="${LOCALBASE}/bin/xmms-config"
# library minor number
@ -258,7 +258,7 @@ WITH_PNG=yes
.endif
# sdl
.if exists(${LOCALBASE}/lib/libSDL-1.1.a)
.if ${HAVE_SDL:Msdl}
WITH_SDL=yes
.endif
@ -582,11 +582,9 @@ CONFIGURE_ARGS+= --disable-sdl \
--disable-sdltest
PLIST_SUB+= SDL="@comment "
.else
LIB_DEPENDS+= SDL-1.1.5:${PORTSDIR}/devel/sdl12
USE_SDL= sdl
CONFIGURE_ARGS+= --with-sdl-prefix=${LOCALBASE} \
--with-sdl-exec-prefix=${LOCALBASE}
CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG}
PLIST_SUB+= SDL=""
.endif

View file

@ -29,6 +29,7 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS:S/"//g}" \
PTHREAD_LIBS="${PTHREAD_LIBS:S/"//g}"
WANT_GNOME= yes
WANT_SDL= yes
MAN1= divxdec.1 jpeg2yuv.1 lav2divx.1 lav2mpeg.1 lav2wav.1 lav2yuv.1 \
lavpipe.1 lavplay.1 lavrec.1 lavtrans.1 mjpegtools.1 mp2enc.1 \
@ -76,7 +77,7 @@ WITH_LIBMOVTAR= yes
WITH_QUICKTIME= yes
.endif
# SDL
.if exists(${LOCALBASE}/lib/libSDL-1.1.so.5)
.if ${HAVE_SDL}:Msdl}!=""
WITH_SDL= yes
.endif
@ -105,7 +106,7 @@ CONFIGURE_ARGS+= --with-movtar-prefix=${LOCALBASE}
.endif
#
.ifdef(WITH_SDL)
USE_SDL= yes
USE_SDL= sdl
CONFIGURE_ARGS+= --with-sdl
.endif
#

View file

@ -216,6 +216,7 @@ CONFIGURE_ARGS+=--language=${WITH_LANG}
.endif
WANT_GNOME= yes
WANT_SDL= yes
USE_REINPLACE= yes
MAN1= mplayer.1
MANCOMPRESSED= no
@ -271,7 +272,7 @@ WITH_SVGALIB= yes
WITH_AALIB= yes
.endif
.if exists(${LOCALBASE}/lib/libSDL-1.1.so.5)
.if ${HAVE_SDL:Msdl}!=""
WITH_SDL= yes
WITH_AALIB= yes
.endif
@ -418,7 +419,7 @@ LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
.endif
.if defined(WITH_SDL)
USE_SDL= yes
USE_SDL= sdl
.endif
.if defined(WITH_ESOUND)

View file

@ -29,10 +29,10 @@ USE_GMAKE= yes
USE_REINPLACE= yes
USE_SIZE= yes
HAS_CONFIGURE= yes
WANT_SDL= yes
MAN1= mplayerxp.1
SDL_CONFIG?= "${LOCALBASE}/bin/sdl11-config"
WIN32_CODEC_PREFIX= ${LOCALBASE}/lib/win32
# dirs to create before installation
@ -80,11 +80,11 @@ WITH_CDPARANOIA=yes
WITH_DVD=yes
.endif
# sdl
.if exists(${LOCALBASE}/lib/libSDL-1.1.a)
.if ${HAVE_SDL:Msdl}!=""
WITH_SDL=yes
.endif
# sdl_image
.if exists(${LOCALBASE}/lib/libSDL_image.a)
.if ${HAVE_SDL:Mimage}!=""
WITH_SDL_IMAGE=yes
.endif
# xvid
@ -139,17 +139,14 @@ CONFIGURE_ARGS+= --with-libdvdnav=${LOCALBASE}
.endif
# sdl
.ifdef(WITH_SDL)
LIB_DEPENDS+= SDL-1.1.5:${PORTSDIR}/devel/sdl12
USE_SDL= sdl
CONFIGURE_ARGS+= --enable-sdl
CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG}
.else
CONFIGURE_ARGS+= --disable-sdl
.endif
# sdl_image
.ifdef(WITH_SDL_IMAGE)
LIB_DEPENDS+= SDL_image.10:${PORTSDIR}/graphics/sdl_image
USE_SDL+= image
CONFIGURE_ARGS+= --enable-sdl-image
.else
CONFIGURE_ARGS+= --disable-sdl-image

View file

@ -20,7 +20,7 @@ COMMENT= A very very small, not functionnal, video OpenQuicktime (TM) player
LIB_DEPENDS= openquicktime.0:${PORTSDIR}/multimedia/openquicktime
USE_SIZE= yes
USE_SDL= yes
USE_SDL= sdl
MAKE_ENV= SDL_CONFIG=${SDL_CONFIG}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}

View file

@ -29,6 +29,7 @@ CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
WANT_SDL= yes
MAN1= avifix.1 aviindex.1 avimerge.1 avisplit.1 avisync.1 tccat.1 tcdemux.1 \
tcprobe.1 tcscan.1 transcode.1 tcextract.1 tcdecode.1 tcmodinfo.1 \
@ -48,7 +49,7 @@ WITH_IMAGEMAGICK= yes
WITH_AVIFILE= yes
.endif
.if exists(${LOCALBASE}/lib/libSDL-1.1.so)
.if ${HAVE_SDL:Msdl}!=""
WITH_SDL= yes
.endif
@ -138,7 +139,7 @@ WITHOUT_FFMPEG= YES
.endif
.if defined(WITH_SDL)
LIB_DEPENDS+= SDL-1.1.5:${PORTSDIR}/devel/sdl12
USE_SDL= sdl
WITH_LIBDV= yes
PLIST_SUB+= WITH_SDL=""
.else

View file

@ -17,7 +17,7 @@ COMMENT= A small sample cross-platform networking library
LIB_DEPENDS= GUI.0:${PORTSDIR}/graphics/guilib
USE_SDL= yes
USE_SDL= sdl
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes

View file

@ -20,7 +20,7 @@ LIB_DEPENDS= gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext
USE_REINPLACE= yes
USE_BZIP2= yes
USE_GL= yes
USE_SDL= yes
USE_SDL= sdl
USE_GNOME= gnomehack gnomeprefix gdkpixbuf gtk20 pango gnomepanel
GNU_CONFIGURE= yes
CONFIGURE_ENV= SDLCONF=${SDL_CONFIG}

View file

@ -20,7 +20,7 @@ RUN_DEPENDS= xloadimage:${PORTSDIR}/x11/xloadimage \
curl:${PORTSDIR}/ftp/curl
USE_X_PREFIX= yes
USE_SDL= yes
USE_SDL= sdl
USE_GMAKE= yes
USE_REINPLACE= yes
USE_LIBTOOL= yes