1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Let ports use the USE_SDL macro

PR:		ports/61807
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
Approved by:	maintainer timeout
This commit is contained in:
Edwin Groothuis 2004-03-07 23:39:10 +00:00
parent 41471d5d49
commit 84c834ee8f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103243
11 changed files with 16 additions and 47 deletions

View File

@ -16,14 +16,11 @@ MAINTAINER= fab@gcu.info
COMMENT= Graphic development lightweight API
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
png.5:${PORTSDIR}/graphics/png
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
CPPFLAGS="${PTHREAD_CFLAGS}" \
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
LDFLAGS="${PTHREAD_LIBS}"
USE_SDL= sdl
USE_LIBTOOL= yes
USE_GMAKE= yes
INSTALLS_SHLIB= yes

View File

@ -189,8 +189,7 @@ pre-everything::
@${ECHO_MSG} "'make options' for more information."
@exit 1
.endif
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_SDL= sdl
DISPLAY_METHOD= SDL
SDLSOUNDCOMMENT=
.endif

View File

@ -15,11 +15,9 @@ DISTNAME= yapeSDL-${PORTVERSION}
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Yet Another Commodore +4 Emulator
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
USE_SDL= sdl
NO_WRKSUBDIR= yes
USE_REINPLACE= yes
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_GMAKE= yes
ALL_TARGET= yape

View File

@ -19,9 +19,9 @@ COMMENT= Intel x86 only Super Nintendo Entertainment System (SNES) Emulator
# This must be >= 0.98!
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
png.5:${PORTSDIR}/graphics/png
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_SDL= sdl
USE_X_PREFIX= yes
USE_GMAKE= yes
@ -31,9 +31,6 @@ PLIST_FILES= bin/zsnes
# 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

View File

@ -14,17 +14,13 @@ MASTER_SITES= http://www.logarithmic.net/pfh/Synaesthesia/
MAINTAINER= petef@FreeBSD.org
COMMENT= Graphically represents sound in real time
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
USE_SDL= sdl
USE_GMAKE= Yes
USE_REINPLACE= Yes
USE_X_PREFIX= Yes
GNU_CONFIGURE= Yes
CONFIGURE_ARGS= --with-sdl-prefix=${LOCALBASE}
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
post-patch:
@${REINPLACE_CMD} -e 's,stdint.h,inttypes.h,' `${FIND} ${WRKSRC} -name \*.cc -or -name \*.c`

View File

@ -15,16 +15,12 @@ DISTNAME= infinity-${PORTVERSION}
MAINTAINER= dyeske@yahoo.com
COMMENT= A XMMS plug-in which generate full-screen interactive light effects
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \
SDL-1.1.5:${PORTSDIR}/devel/sdl12
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
PLIST_FILES= lib/xmms/Visualization/libinfinite.so
GNU_CONFIGURE= yes
USE_SDL= sdl
USE_REINPLACE= yes
USE_GMAKE= yes
USE_GNOME= gtk12

View File

@ -16,12 +16,9 @@ MAINTAINER= dyeske@yahoo.com
COMMENT= A XMMS visualization plugin that uses SDL
BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
USE_SDL= sdl
GNU_CONFIGURE= yes
PLIST_FILES= lib/xmms/Visualization/libjess.so
USE_GNOME= glib12

View File

@ -15,10 +15,10 @@ MAINTAINER= dyeske@yahoo.com
COMMENT= A XMMS visualization plugin that uses SDL and OpenGL
BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
PLIST_FILES= lib/xmms/Visualization/libnebulus.so
USE_SDL= sdl
USE_X_PREFIX= yes
USE_MESA= yes
USE_GNOME= gtk12
@ -28,10 +28,6 @@ USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include"
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG}
MAKE_ENV+= SDL_CONFIG=${SDL_CONFIG}
post-patch:
@${REINPLACE_CMD} -E -e \
's|SDL/SDL.h|SDL11/SDL.h|; \

View File

@ -16,15 +16,14 @@ DISTNAME= paranormal-${PORTVERSION:S/.p/pre/}
MAINTAINER= dyeske@yahoo.com
COMMENT= An adaptation of the "OpenGL Spectrum Analyzer" from XMMS
LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 \
SDL-1.1.5:${PORTSDIR}/devel/sdl12
LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2
BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include/libxml2/libxml" SDL_CONFIG="${SDL_CONFIG}"
CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include/libxml2/libxml"
GNU_CONFIGURE= yes
USE_SDL= sdl
INSTALLS_SHLIB= yes
USE_GNOME= gtk12
USE_GMAKE= yes

View File

@ -14,12 +14,10 @@ MASTER_SITE_SUBDIR= lush
MAINTAINER= dyeske@yahoo.com
COMMENT= A high level object-oriented programming language
LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image
USE_GETTEXT= yes
USE_X_PREFIX= yes
USE_GL= yes
USE_SDL= yes
USE_SDL= sdl image
GNU_CONFIGURE= yes
USE_REINPLACE= yes

View File

@ -15,15 +15,11 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/^0.//}
MAINTAINER= petef@FreeBSD.org
COMMENT= 3D objects flying around resembling explosions with various effects
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
SDL_image.10:${PORTSDIR}/graphics/sdl_image
USE_SDL= sdl image
USE_GMAKE= yes
USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
post-patch:
@${PERL} -pi -e 's!CFLAGS=-Wall -O2!CFLAGS+=-Wall!; \
s!sdl-config!${SDL_CONFIG}!' \