diff options
author | cpiazza <cpiazza@FreeBSD.org> | 1999-08-13 05:18:16 +0000 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 1999-08-13 05:18:16 +0000 |
commit | d5de3099b567d4dd36ab26681525931854f30f8f (patch) | |
tree | ba6ec5fe96b5b8a7dd31d51d51076d57bb67aa86 /devel/sdl | |
parent | 6827eafaed3f5e2446b9fd84abac8ea89ca5eda6 (diff) | |
download | FreeBSD-ports-d5de3099b567d4dd36ab26681525931854f30f8f.zip FreeBSD-ports-d5de3099b567d4dd36ab26681525931854f30f8f.tar.gz |
Import of SDL.
SDL is a free cross-platform multi-media development API.
It is used for games, emulators, demos, any multimedia application.
It handles video, audio, threads, endian independence and more.
PR: 13026
Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Diffstat (limited to 'devel/sdl')
-rw-r--r-- | devel/sdl/Makefile | 40 | ||||
-rw-r--r-- | devel/sdl/distinfo | 1 | ||||
-rw-r--r-- | devel/sdl/pkg-comment | 1 | ||||
-rw-r--r-- | devel/sdl/pkg-descr | 7 | ||||
-rw-r--r-- | devel/sdl/pkg-plist | 93 |
5 files changed, 142 insertions, 0 deletions
diff --git a/devel/sdl/Makefile b/devel/sdl/Makefile new file mode 100644 index 0000000..149a7ef --- /dev/null +++ b/devel/sdl/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: SDL +# Version required: 0.10.0 +# Date created: 8 August 1999 +# Whom: Andrey Zakhvatov +# +# $Id$ +# + +DISTNAME= SDL-0.10.0 +PKGNAME= sdl-0.10.0 +CATEGORIES= devel +MASTER_SITES= http://www.devolution.com/~slouken/SDL/SDL-0.10/src/ + +MAINTAINER= andy@icc.surw.chel.su + +BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm + +USE_GMAKE= yes +USE_XLIB= yes + +do-build: + @ cd ${WRKSRC}; ${GMAKE} + @ cd ${WRKSRC}; ${GMAKE} + +post-install: + @ cd ${PREFIX}/lib; ${LN} -sf libSDLx11.so.0.10.0 libSDL.so.0 + @ cd ${PREFIX}/lib; ${LN} -sf libSDLx11.so.0.10.0 libSDLx11.so.0 + @ ${MKDIR} ${PREFIX}/share/examples/SDL + @ ${INSTALL_DATA} ${WRKSRC}/test/* ${PREFIX}/share/examples/SDL +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${PREFIX}/share/doc/SDL +.for file in BUGS COPYING CREDITS README TODO WhatsNew docs.html + @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/SDL +.endfor + @ cd ${WRKSRC}/docs; tar cf - * | \ + (cd ${PREFIX}/share/doc/SDL; tar --unlink -xf - ) +.endif + @ ${LDCONFIG} -m ${PREFIX}/lib + +.include <bsd.port.mk> diff --git a/devel/sdl/distinfo b/devel/sdl/distinfo new file mode 100644 index 0000000..6c4657d --- /dev/null +++ b/devel/sdl/distinfo @@ -0,0 +1 @@ +MD5 (SDL-0.10.0.tar.gz) = 7e468488d0c7d0b3e9af6c4a5a897b97 diff --git a/devel/sdl/pkg-comment b/devel/sdl/pkg-comment new file mode 100644 index 0000000..7ec4477 --- /dev/null +++ b/devel/sdl/pkg-comment @@ -0,0 +1 @@ +Cross-platform multi-media development API diff --git a/devel/sdl/pkg-descr b/devel/sdl/pkg-descr new file mode 100644 index 0000000..57c4c53 --- /dev/null +++ b/devel/sdl/pkg-descr @@ -0,0 +1,7 @@ +This library is designed to make it easy to write games that run on UNIX, +Win32 and BeOS using the various native high-performance media interfaces, +(for video, audio, etc) and presenting a single source-code level API to +your application. This is a fairly low level API, but using this, completely +portable applications can be written with a great deal of flexibility. + +WWW: http://www.devolution.com/~slouken/SDL/ diff --git a/devel/sdl/pkg-plist b/devel/sdl/pkg-plist new file mode 100644 index 0000000..8f1ed0e --- /dev/null +++ b/devel/sdl/pkg-plist @@ -0,0 +1,93 @@ +include/SDL/SDL.h +include/SDL/SDL_active.h +include/SDL/SDL_audio.h +include/SDL/SDL_byteorder.h +include/SDL/SDL_cdrom.h +include/SDL/SDL_copying.h +include/SDL/SDL_endian.h +include/SDL/SDL_error.h +include/SDL/SDL_events.h +include/SDL/SDL_keyboard.h +include/SDL/SDL_keysym.h +include/SDL/SDL_mangle.h +include/SDL/SDL_mouse.h +include/SDL/SDL_mutex.h +include/SDL/SDL_quit.h +include/SDL/SDL_rwops.h +include/SDL/SDL_syswm.h +include/SDL/SDL_thread.h +include/SDL/SDL_timer.h +include/SDL/SDL_types.h +include/SDL/SDL_version.h +include/SDL/SDL_video.h +include/SDL/begin_code.h +include/SDL/close_code.h +lib/libSDL.a +lib/libSDL.so.0 +lib/libSDLx11.so.0.10 +lib/libSDLx11.so.0.10.0 +@exec /sbin/ldconfig -m %B +@unexec /sbin/ldconfig -R +share/doc/SDL/BUGS +share/doc/SDL/COPYING +share/doc/SDL/CREDITS +share/doc/SDL/README +share/doc/SDL/TODO +share/doc/SDL/WhatsNew +share/doc/SDL/docs.html +share/doc/SDL/audio/examples.html +share/doc/SDL/audio/funclist.html +share/doc/SDL/audio/functions.html +share/doc/SDL/audio/index.html +share/doc/SDL/cdrom/examples.html +share/doc/SDL/cdrom/funclist.html +share/doc/SDL/cdrom/functions.html +share/doc/SDL/cdrom/index.html +share/doc/SDL/events/examples.html +share/doc/SDL/events/functions.html +share/doc/SDL/events/index.html +share/doc/SDL/events/keysym.html +share/doc/SDL/images/SDL_title.gif +share/doc/SDL/images/rainbow.gif +share/doc/SDL/index.html +share/doc/SDL/threads/index.html +share/doc/SDL/video/examples.html +share/doc/SDL/video/funclist.html +share/doc/SDL/video/functions.html +share/doc/SDL/video/index.html +share/examples/SDL/COPYING +share/examples/SDL/GNUC.sh +share/examples/SDL/GNUmake +share/examples/SDL/Makefile +share/examples/SDL/README +share/examples/SDL/checkkeys.c +share/examples/SDL/graywin.c +share/examples/SDL/icon.bmp +share/examples/SDL/loopwave.c +share/examples/SDL/picture.xbm +share/examples/SDL/sample.bmp +share/examples/SDL/sample.wav +share/examples/SDL/testalpha.c +share/examples/SDL/testbitmap.c +share/examples/SDL/testcdrom.c +share/examples/SDL/testerror.c +share/examples/SDL/testhread.c +share/examples/SDL/testkeys.c +share/examples/SDL/testlock.c +share/examples/SDL/testsprite.c +share/examples/SDL/testtimer.c +share/examples/SDL/testtypes.c +share/examples/SDL/testver.c +share/examples/SDL/testvidinfo.c +share/examples/SDL/testwin.c +share/examples/SDL/testwm.c +share/examples/SDL/threadwin.c +@dirrm include/SDL +@dirrm share/doc/SDL/audio +@dirrm share/doc/SDL/cdrom +@dirrm share/doc/SDL/events +@dirrm share/doc/SDL/images +@dirrm share/doc/SDL/threads +@dirrm share/doc/SDL/video +@dirrm share/doc/SDL +@dirrm share/examples/SDL |