- Use new knobs from bsd.sdl.mk

Approved by:	portmgr
This commit is contained in:
Kirill Ponomarev 2004-01-20 21:44:21 +00:00
parent 5bd1983326
commit 73d891fa45
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98678
9 changed files with 20 additions and 37 deletions

View file

@ -15,12 +15,10 @@ DISTNAME= AdaSDL_${PORTVERSION}
MAINTAINER= david@realityrift.com MAINTAINER= david@realityrift.com
COMMENT= An Ada thin binding to SDL COMMENT= An Ada thin binding to SDL
LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 \ LIB_DEPENDS= ${GL_DEPENDS}
SDL_image:${PORTSDIR}/graphics/sdl_image \
SDL_mixer:${PORTSDIR}/audio/sdl_mixer \
${GL_DEPENDS}
BUILD_DEPENDS= gnatmake:${PORTSDIR}/lang/gnat BUILD_DEPENDS= gnatmake:${PORTSDIR}/lang/gnat
USE_SDL= mixer image sdl
USE_GMAKE= yes USE_GMAKE= yes
USE_REINPLACE= yes USE_REINPLACE= yes

View file

@ -13,16 +13,13 @@ MASTER_SITES= http://www3.sympatico.ca/sarrazip/dev/
MAINTAINER= markp@FreeBSD.org MAINTAINER= markp@FreeBSD.org
COMMENT= An SDL game engine library COMMENT= An SDL game engine library
LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image USE_SDL= image sdl
USE_REINPLACE= yes USE_REINPLACE= yes
USE_LIBTOOL= yes USE_LIBTOOL= yes
INSTALLS_SHLIB= yes INSTALLS_SHLIB= yes
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
CONFIGURE_ARGS+= --program-prefix="" CONFIGURE_ARGS+= --program-prefix=""
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include" \ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include" \
LDFLAGS="${LDFLAGS} -L${X11BASE}/lib" \ LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
SDL_CONFIG="${SDL_CONFIG}"
post-patch: post-patch:
${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|g; \ ${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|g; \

View file

@ -16,15 +16,14 @@ DISTNAME= ${PORTNAME}_src_${PORTVERSION:S/./_/g}
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Kyra is a simple Sprite engine written in C++ COMMENT= Kyra is a simple Sprite engine written in C++
LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image \ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \ tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.9:${PORTSDIR}/graphics/jpeg jpeg.9:${PORTSDIR}/graphics/jpeg
WRKSRC= ${WRKDIR}/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}
USE_LIBTOOL= yes USE_LIBTOOL= yes
USE_SDL= yes USE_SDL= image sdl
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes INSTALLS_SHLIB= yes

View file

@ -38,7 +38,7 @@ WITH_SDL_MIXER= yes
.endif .endif
.if defined(WITH_SDL_MIXER) .if defined(WITH_SDL_MIXER)
LIB_DEPENDS+= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer USE_SDL= mixer sdl
.endif .endif
pre-everything:: pre-everything::

View file

@ -13,30 +13,31 @@ DISTNAME= SDL_perl-${PORTVERSION}
MAINTAINER= philip@paeps.cx MAINTAINER= philip@paeps.cx
COMMENT= Perl Bindings for SDL COMMENT= Perl Bindings for SDL
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg jpeg.9:${PORTSDIR}/graphics/jpeg
USE_SDL= yes
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if !defined(WITHOUT_SDL_TTF) .if !defined(WITHOUT_SDL_TTF)
LIB_DEPENDS+= SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf USE_SDL= ttf sdl
.endif .endif
.if !defined(WITHOUT_SDL_NET) .if !defined(WITHOUT_SDL_NET)
LIB_DEPENDS+= SDL_net.0:${PORTSDIR}/net/sdl_net USE_SDL= net sdl
.endif .endif
.if !defined(WITHOUT_SDL_GFX) .if !defined(WITHOUT_SDL_GFX)
LIB_DEPENDS+= SDL_gfx.10:${PORTSDIR}/graphics/sdl_gfx USE_SDL= gfx sdl
.endif .endif
.if !defined(WITHOUT_SDL_IMAGE) .if !defined(WITHOUT_SDL_IMAGE)
LIB_DEPENDS+= SDL_image.10:${PORTSDIR}/graphics/sdl_image USE_SDL= image sdl
.endif .endif
.if !defined(WITHOUT_SDL_MIXER) .if !defined(WITHOUT_SDL_MIXER)
LIB_DEPENDS+= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer USE_SDL= mixer sdl
.endif .endif
.if ${PERL_LEVEL} < 500600 .if ${PERL_LEVEL} < 500600

View file

@ -15,17 +15,12 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A module designed to write games in Python COMMENT= A module designed to write games in Python
BUILD_DEPENDS= ${PYNUMERIC} BUILD_DEPENDS= ${PYNUMERIC}
LIB_DEPENDS= SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \ LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg
SDL_image.10:${PORTSDIR}/graphics/sdl_image \
SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
smpeg.1:${PORTSDIR}/multimedia/smpeg
RUN_DEPENDS= ${PYNUMERIC} RUN_DEPENDS= ${PYNUMERIC}
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config USE_SDL= ttf image mixer sdl
USE_PYTHON= yes USE_PYTHON= yes
USE_PYDISTUTILS= yes USE_PYDISTUTILS= yes
MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
do-configure: do-configure:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} config.py @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} config.py

View file

@ -16,11 +16,7 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org MAINTAINER= knu@FreeBSD.org
COMMENT= A high level library to use SDL from Ruby COMMENT= A high level library to use SDL from Ruby
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ USE_SDL= image mixer ttf sdl
SDL_image.10:${PORTSDIR}/graphics/sdl_image \
SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf
USE_RUBY= yes USE_RUBY= yes
USE_RUBY_EXTCONF= yes USE_RUBY_EXTCONF= yes

View file

@ -17,14 +17,11 @@ MAINTAINER= knu@FreeBSD.org
COMMENT= Ruby extension library to use SDL library COMMENT= Ruby extension library to use SDL library
BUILD_DEPENDS= ${NONEXISTENT}:${RUBY_OPENGL_PORTDIR}:patch BUILD_DEPENDS= ${NONEXISTENT}:${RUBY_OPENGL_PORTDIR}:patch
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
SDL_image.10:${PORTSDIR}/graphics/sdl_image \
SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \
SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
RUBY_OPENGL_PORTDIR= ${.CURDIR}/../../graphics/ruby-opengl RUBY_OPENGL_PORTDIR= ${.CURDIR}/../../graphics/ruby-opengl
RUBY_OPENGL_WRKSRC_CMD= cd ${RUBY_OPENGL_PORTDIR}; ${MAKE} -V WRKSRC RUBY_OPENGL_WRKSRC_CMD= cd ${RUBY_OPENGL_PORTDIR}; ${MAKE} -V WRKSRC
USE_SDL= mixer image ttf sdl
USE_RUBY= yes USE_RUBY= yes
USE_RUBY_EXTCONF= yes USE_RUBY_EXTCONF= yes
RUBY_WITH_PTHREAD= yes RUBY_WITH_PTHREAD= yes

View file

@ -38,7 +38,7 @@ WITH_SDL_MIXER= yes
.endif .endif
.if defined(WITH_SDL_MIXER) .if defined(WITH_SDL_MIXER)
LIB_DEPENDS+= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer USE_SDL= mixer sdl
.endif .endif
pre-everything:: pre-everything::