aboutsummaryrefslogtreecommitdiffstats
path: root/devel/sdl-devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel/sdl-devel')
-rw-r--r--devel/sdl-devel/Makefile40
-rw-r--r--devel/sdl-devel/distinfo1
-rw-r--r--devel/sdl-devel/pkg-comment1
-rw-r--r--devel/sdl-devel/pkg-descr7
-rw-r--r--devel/sdl-devel/pkg-plist93
5 files changed, 142 insertions, 0 deletions
diff --git a/devel/sdl-devel/Makefile b/devel/sdl-devel/Makefile
new file mode 100644
index 000000000000..149a7ef4f52c
--- /dev/null
+++ b/devel/sdl-devel/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-devel/distinfo b/devel/sdl-devel/distinfo
new file mode 100644
index 000000000000..6c4657d4b056
--- /dev/null
+++ b/devel/sdl-devel/distinfo
@@ -0,0 +1 @@
+MD5 (SDL-0.10.0.tar.gz) = 7e468488d0c7d0b3e9af6c4a5a897b97
diff --git a/devel/sdl-devel/pkg-comment b/devel/sdl-devel/pkg-comment
new file mode 100644
index 000000000000..7ec4477ccf04
--- /dev/null
+++ b/devel/sdl-devel/pkg-comment
@@ -0,0 +1 @@
+Cross-platform multi-media development API
diff --git a/devel/sdl-devel/pkg-descr b/devel/sdl-devel/pkg-descr
new file mode 100644
index 000000000000..57c4c5300171
--- /dev/null
+++ b/devel/sdl-devel/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-devel/pkg-plist b/devel/sdl-devel/pkg-plist
new file mode 100644
index 000000000000..8f1ed0e1c96c
--- /dev/null
+++ b/devel/sdl-devel/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