aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.sdl.mk14
-rw-r--r--devel/sdl12/Makefile140
-rw-r--r--devel/sdl12/distinfo6
-rw-r--r--devel/sdl12/files/patch-Makefile.in11
-rw-r--r--devel/sdl12/files/patch-configure2
-rw-r--r--devel/sdl12/files/patch-sdl-config.in2
-rw-r--r--devel/sdl12/files/patch-src_joystick_bsd_SDL__sysjoystick.c96
-rw-r--r--devel/sdl12/pkg-message7
-rw-r--r--devel/sdl12/pkg-plist92
9 files changed, 143 insertions, 227 deletions
diff --git a/Mk/bsd.sdl.mk b/Mk/bsd.sdl.mk
index e3ae37bc4034..85820db2c943 100644
--- a/Mk/bsd.sdl.mk
+++ b/Mk/bsd.sdl.mk
@@ -48,7 +48,7 @@ _USE_SDL_ALL= gfx gui image mixer mm net pango sdl sound ttf
# _REQUIRES_xxx also needs these SDL libraries
#
-_VERSION_gfx= 13
+_VERSION_gfx= 0
_SUBDIR_gfx= graphics
_REQUIRES_gfx= sdl
@@ -58,30 +58,33 @@ _REQUIRES_gui= sdl image ttf
_VERSION_image= 1
_SUBDIR_image= graphics
+_LIB_image= SDL_image-1.2
_REQUIRES_image=sdl
_VERSION_mixer= 2
_SUBDIR_mixer= audio
+_LIB_mixer= SDL_mixer-1.2
_REQUIRES_mixer=sdl
_VERSION_mm= 8
-_SUBDIR_mm= devel
-_LIB_mm= SDLmm
+_SUBDIR_mm= devel
+_LIB_mm= SDLmm
_PORTDIR_mm= sdlmm
_REQUIRES_mm= sdl
_VERSION_net= 0
_SUBDIR_net= net
+_LIB_net= SDL_net-1.2
_REQUIRES_net= sdl
_VERSION_pango= 2
_SUBDIR_pango= x11-toolkits
-_LIB_pango= SDL_Pango
+_LIB_pango= SDL_Pango
_REQUIRES_pango=sdl
_VERSION_sdl= 11
_SUBDIR_sdl= devel
-_LIB_sdl= SDL
+_LIB_sdl= SDL-1.2
_PORTDIR_sdl= sdl12
_VERSION_sound= 1
@@ -90,6 +93,7 @@ _REQUIRES_sound=sdl
_VERSION_ttf= 6
_SUBDIR_ttf= graphics
+_LIB_ttf= SDL_ttf-2.0
_REQUIRES_ttf= sdl
#
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index 79a179d55527..ea0ed28ad1f2 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/Makefile
@@ -6,66 +6,85 @@
#
PORTNAME= sdl
-PORTVERSION= 1.2.11
-PORTREVISION= 2
+PORTVERSION= 1.2.13
PORTEPOCH= 2
CATEGORIES= devel
MASTER_SITES= http://www.libsdl.org/release/
DISTNAME= SDL-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Cross-platform multi-media development API
+MAINTAINER= mva@sysfault.org
+COMMENT= Cross-platform multimedia development API
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
+USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
WANT_GNOME= yes
-USE_GNOME= gnomehack gnometarget
+USE_GNOME= gnomehack gnometarget pkgconfig
USE_ICONV= yes
-CONFIGURE_ENV= NASM="${LOCALBASE}/bin/nasm" \
- PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
LDFLAGS="${LDFLAGS}"
CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-.if !defined(WITHOUT_X11)
-USE_XLIB= yes
-.else
-PKGNAMESUFFIX= -nox11
-CONFIGURE_ARGS+=--disable-video-x11
-.endif
+CONFIGURE_ARGS+=--disable-alsa --disable-alsatest
+CONFIGURE_ARGS+=--disable-video-directfb
EXAMPLES= test/*.c test/*.bmp test/*.dat test/*.xbm test/*.wav
DOCS= BUGS COPYING CREDITS README README-SDL.txt WhatsNew docs.html
-OPTIONS= NAS "Include support for the Network Audio System" Off \
- AALIB "Include support for AA-lib" On \
- GL "Include support for OpenGL" On \
- GGI "Include support for GGI" Off \
- SVGALIB "Include support for SVGALIB" On
-
-.include <bsd.port.pre.mk>
+OPTIONS= AALIB "ASCII art support" On \
+ ARTS "ARts sound system support" Off \
+ ESD "Enlightenment sound system support" Off \
+ GGI "General Graphics Interface support" Off \
+ NAS "Network Audio System support" Off \
+ OPENGL "OpenGL 2D/3D graphics support" On \
+ OSS "Open Sound System support" On \
+ PULSEAUDIO "PulseAudio sound system support" Off \
+ SVGALIB "SVGA graphics support (i386 only)" Off
.if exists(/usr/lib/libvgl.so)
-CONFIGURE_ARGS+=--enable-video-vgl
-DISPLAY_MSG= ${CAT} ${PKGMESSAGE}
+OPTIONS+= VGL "Video Graphics Lib support" On
.else
-CONFIGURE_ARGS+=--disable-video-vgl
-PKGMESSAGE= none
-DISPLAY_MSG= ${DO_NADA}
+WITHOUT_VGL= true
+.endif
+
+.if defined(WITHOUT_X11)
+WITHOUT_XLIB= true
+.else
+OPTIONS+= XLIB "XLib (xorg) graphics support" On
.endif
+.include <bsd.port.pre.mk>
+
+MAN3!= ${CAT} ${FILESDIR}/man3
+
.if ${OSVERSION} >= 500111
CONFIGURE_ENV+= ac_cv_header_libusbhid_h=no
.endif
-.if defined(WITH_NAS)
-LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas
+.if defined(WITHOUT_AALIB)
+CONFIGURE_ARGS+=--disable-video-aalib
.else
-CONFIGURE_ARGS+=--disable-nas
+LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
+CONFIGURE_ARGS+=--enable-video-aalib
+.endif
+
+.if defined(WITH_ARTS)
+LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
+CONFIGURE_ARGS+=--enable-arts
+.else
+CONFIGURE_ARGS+=--disable-arts
+.endif
+
+.if defined(WITH_ESD)
+USE_GNOME+= esound
+CONFIGURE_ARGS+=--enable-esd
+.else
+CONFIGURE_ARGS+=--disable-esd --disable-esdtest
.endif
.if defined(WITH_GGI)
@@ -75,57 +94,64 @@ CONFIGURE_ARGS+=--enable-video-ggi
CONFIGURE_ARGS+=--disable-video-ggi
.endif
-.if defined(WITHOUT_GL)
+.if defined(WITH_NAS)
+LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas
+.else
+CONFIGURE_ARGS+=--disable-nas
+.endif
+
+.if defined(WITHOUT_OPENGL)
CONFIGURE_ARGS+=--disable-video-opengl
.else
USE_GL= yes
CONFIGURE_ARGS+=--enable-video-opengl
.endif
-.if defined(WITHOUT_AALIB)
-CONFIGURE_ARGS+=--disable-video-aalib
+.if defined(WITHOUT_OSS)
+CONFIGURE_ARGS+=--disable-oss
.else
-LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
-CONFIGURE_ARGS+=--enable-video-aalib
-.endif
-
-MAN3!= ${CAT} ${FILESDIR}/man3
-
-.if (${ARCH} != "i386")
-WITHOUT_SVGALIB= yes
+CONFIGURE_ARGS+=--enable-oss
.endif
-.if ${HAVE_GNOME:Mesound}!=""
-USE_GNOME+= esound
+.if defined(WITH_PULSEAUDIO)
+CONFIGURE_ARGS+=--enable-pulseaudio
.else
-CONFIGURE_ARGS+=--disable-esd --disable-esdtest
+CONFIGURE_ARGS+=--disable-pulseaudio
.endif
-.if !defined(WITHOUT_SVGALIB)
+.if defined(WITHOUT_SVGALIB)
+CONFIGURE_ARGS+=--disable-video-svga
+.else
LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib
CONFIGURE_ARGS+=--enable-video-svga
.endif
-.if (exists(${LOCALBASE}/bin/artsc-config) || defined(WITH_ARTS)) && !defined(WITHOUT_ARTS)
-LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
-CONFIGURE_ARGS+=--enable-arts
+.if (defined(WITHOUT_VGL) || ${ARCH} != "i386")
+CONFIGURE_ARGS+=--disable-video-vgl
+PKGMESSAGE= none
+DISPLAY_MSG= ${DO_NADA}
.else
-CONFIGURE_ARGS+=--disable-arts
+CONFIGURE_ARGS+=--enable-video-vgl
+DISPLAY_MSG= ${CAT} ${PKGMESSAGE}
.endif
-pre-configure:
- @${FIND} ${WRKSRC} -type f -name Makefile.in | ${XARGS} ${TOUCH}
+.if defined(WITHOUT_XLIB)
+PKGNAMESUFFIX= -nox11
+CONFIGURE_ARGS+=--disable-video-x11
+.else
+USE_XLIB= yes
+.endif
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${EXAMPLESDIR}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,} ${EXAMPLESDIR}/
- @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
- ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
- @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
- @(cd ${WRKSRC} && \
- ${COPYTREE_SHARE} docs ${DOCSDIR}/ "! -regex .*/man3.*")
+ ${MKDIR} ${DOCSDIR} &&\
+ ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ &&\
+ cd ${WRKSRC} &&\
+ ${COPYTREE_SHARE} docs ${DOCSDIR}/ "! -regex .*/man3.*"
+.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR} &&\
+ ${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,} ${EXAMPLESDIR}/
.endif
@${DISPLAY_MSG}
diff --git a/devel/sdl12/distinfo b/devel/sdl12/distinfo
index 79b0ccd66e40..9bb01ecd0412 100644
--- a/devel/sdl12/distinfo
+++ b/devel/sdl12/distinfo
@@ -1,3 +1,3 @@
-MD5 (SDL-1.2.11.tar.gz) = 418b42956b7cd103bfab1b9077ccc149
-SHA256 (SDL-1.2.11.tar.gz) = 6985823287b224b57390b1c1b6cbc54cc9a7d7757fbf9934ed20754b4cd23730
-SIZE (SDL-1.2.11.tar.gz) = 2796407
+MD5 (SDL-1.2.13.tar.gz) = c6660feea2a6834de10bc71b2f8e4d88
+SHA256 (SDL-1.2.13.tar.gz) = 94f99df1d60f296b57f4740650a71b6425da654044ca30f8f0ce34934429e132
+SIZE (SDL-1.2.13.tar.gz) = 3373673
diff --git a/devel/sdl12/files/patch-Makefile.in b/devel/sdl12/files/patch-Makefile.in
deleted file mode 100644
index aa132d337790..000000000000
--- a/devel/sdl12/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig Wed Jul 5 00:58:18 2006
-+++ Makefile.in Wed Jul 5 01:06:48 2006
-@@ -44,7 +44,7 @@
- LT_CURRENT = @LT_CURRENT@
- LT_RELEASE = @LT_RELEASE@
- LT_REVISION = @LT_REVISION@
--LT_LDFLAGS = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
-+LT_LDFLAGS = -no-undefined -rpath $(libdir) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
-
- all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET)
-
diff --git a/devel/sdl12/files/patch-configure b/devel/sdl12/files/patch-configure
index 6a5419d3f9cf..3441468c5d8a 100644
--- a/devel/sdl12/files/patch-configure
+++ b/devel/sdl12/files/patch-configure
@@ -1,6 +1,6 @@
--- configure.orig Wed Jul 5 00:52:15 2006
+++ configure Wed Jul 5 01:01:28 2006
-@@ -29772,8 +29772,8 @@
+@@ -30485,8 +30485,8 @@
# pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
;;
*-*-freebsd*|*-*-dragonfly*)
diff --git a/devel/sdl12/files/patch-sdl-config.in b/devel/sdl12/files/patch-sdl-config.in
index d12cba743f80..ae61a0c95549 100644
--- a/devel/sdl12/files/patch-sdl-config.in
+++ b/devel/sdl12/files/patch-sdl-config.in
@@ -4,7 +4,7 @@
#
--- sdl-config.in.orig Thu Aug 31 03:54:26 2006
+++ sdl-config.in Thu Aug 31 03:54:39 2006
-@@ -41,7 +41,7 @@
+@@ -45,7 +45,7 @@
echo @SDL_VERSION@
;;
--cflags)
diff --git a/devel/sdl12/files/patch-src_joystick_bsd_SDL__sysjoystick.c b/devel/sdl12/files/patch-src_joystick_bsd_SDL__sysjoystick.c
deleted file mode 100644
index 629ecd38b9c1..000000000000
--- a/devel/sdl12/files/patch-src_joystick_bsd_SDL__sysjoystick.c
+++ /dev/null
@@ -1,96 +0,0 @@
---- src/joystick/bsd/SDL_sysjoystick.c.orig Mon May 1 12:02:40 2006
-+++ src/joystick/bsd/SDL_sysjoystick.c Wed Jul 5 01:11:57 2006
-@@ -123,6 +123,12 @@
- struct report_desc *repdesc;
- struct report inreport;
- int axis_map[JOYAXE_count]; /* map present JOYAXE_* to 0,1,..*/
-+ int x;
-+ int y;
-+ int xmin;
-+ int ymin;
-+ int xmax;
-+ int ymax;
- };
-
- static char *joynames[MAX_JOYS];
-@@ -257,6 +263,12 @@
- joy->hwdata = hw;
- hw->fd = fd;
- hw->path = strdup(path);
-+ hw->x = 0;
-+ hw->y = 0;
-+ hw->xmin = 0xffff;
-+ hw->ymin = 0xffff;
-+ hw->xmax = 0;
-+ hw->ymax = 0;
- if (! SDL_strncmp(path, "/dev/joy", 8)) {
- hw->type = BSDJOY_JOY;
- joy->naxes = 2;
-@@ -380,43 +392,42 @@
-
- #if defined(__FREEBSD__) || SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H
- struct joystick gameport;
-- static int x, y, xmin = 0xffff, ymin = 0xffff, xmax = 0, ymax = 0;
-
- if (joy->hwdata->type == BSDJOY_JOY) {
- if (read(joy->hwdata->fd, &gameport, sizeof gameport) != sizeof gameport)
- return;
-- if (abs(x - gameport.x) > 8) {
-- x = gameport.x;
-- if (x < xmin) {
-- xmin = x;
-+ if (abs(joy->hwdata->x - gameport.x) > 8) {
-+ joy->hwdata->x = gameport.x;
-+ if (joy->hwdata->x < joy->hwdata->xmin) {
-+ joy->hwdata->xmin = joy->hwdata->x;
- }
-- if (x > xmax) {
-- xmax = x;
-+ if (joy->hwdata->x > joy->hwdata->xmax) {
-+ joy->hwdata->xmax = joy->hwdata->x;
- }
-- if (xmin == xmax) {
-- xmin--;
-- xmax++;
-+ if (joy->hwdata->xmin == joy->hwdata->xmax) {
-+ joy->hwdata->xmin--;
-+ joy->hwdata->xmax++;
- }
-- v = (Sint32)x;
-- v -= (xmax + xmin + 1)/2;
-- v *= 32768/((xmax - xmin + 1)/2);
-+ v = (Sint32)joy->hwdata->x;
-+ v -= (joy->hwdata->xmax + joy->hwdata->xmin + 1)/2;
-+ v *= 32768/((joy->hwdata->xmax - joy->hwdata->xmin + 1)/2);
- SDL_PrivateJoystickAxis(joy, 0, v);
- }
-- if (abs(y - gameport.y) > 8) {
-- y = gameport.y;
-- if (y < ymin) {
-- ymin = y;
-+ if (abs(joy->hwdata->y - gameport.y) > 8) {
-+ joy->hwdata->y = gameport.y;
-+ if (joy->hwdata->y < joy->hwdata->ymin) {
-+ joy->hwdata->ymin = joy->hwdata->y;
- }
-- if (y > ymax) {
-- ymax = y;
-+ if (joy->hwdata->y > joy->hwdata->ymax) {
-+ joy->hwdata->ymax = joy->hwdata->y;
- }
-- if (ymin == ymax) {
-- ymin--;
-- ymax++;
-+ if (joy->hwdata->ymin == joy->hwdata->ymax) {
-+ joy->hwdata->ymin--;
-+ joy->hwdata->ymax++;
- }
-- v = (Sint32)y;
-- v -= (ymax + ymin + 1)/2;
-- v *= 32768/((ymax - ymin + 1)/2);
-+ v = (Sint32)joy->hwdata->y;
-+ v -= (joy->hwdata->ymax + joy->hwdata->ymin + 1)/2;
-+ v *= 32768/((joy->hwdata->ymax - joy->hwdata->ymin + 1)/2);
- SDL_PrivateJoystickAxis(joy, 1, v);
- }
- if (gameport.b1 != joy->buttons[0]) {
diff --git a/devel/sdl12/pkg-message b/devel/sdl12/pkg-message
index 1e8daa08f54e..4d26f0bb3931 100644
--- a/devel/sdl12/pkg-message
+++ b/devel/sdl12/pkg-message
@@ -1,9 +1,8 @@
------------------------------------------------------------------------------
Your SDL library has been built with libvgl support, which means that you
can run almost any SDL application straight on your console (VESA 2.0
- compatible videocard is required). To do this you have to enable VESA
- support in the kernel by adding "option VESA" into your kernel
- configuration file and set environment variable "SDL_VIDEODRIVER=vgl".
+ compatible videocard is required).
- Good luck!
+ To do this you have to load the vesa kernel module or enable it in your
+ kernel, and set environment variable "SDL_VIDEODRIVER=vgl".
------------------------------------------------------------------------------
diff --git a/devel/sdl12/pkg-plist b/devel/sdl12/pkg-plist
index dfe2689a3c37..82c2c10f451f 100644
--- a/devel/sdl12/pkg-plist
+++ b/devel/sdl12/pkg-plist
@@ -5,14 +5,6 @@ include/SDL/SDL_audio.h
include/SDL/SDL_byteorder.h
include/SDL/SDL_cdrom.h
include/SDL/SDL_config.h
-include/SDL/SDL_config_amiga.h
-include/SDL/SDL_config_dreamcast.h
-include/SDL/SDL_config_macos.h
-include/SDL/SDL_config_macosx.h
-include/SDL/SDL_config_minimal.h
-include/SDL/SDL_config_os2.h
-include/SDL/SDL_config_win32.h
-include/SDL/SDL_copying.h
include/SDL/SDL_cpuinfo.h
include/SDL/SDL_endian.h
include/SDL/SDL_error.h
@@ -39,10 +31,11 @@ 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.la
lib/libSDL.so
-lib/libSDL.so.11
+lib/libSDL-1.2.so
+lib/libSDL-1.2.so.11
+lib/libSDL.la
+lib/libSDL.a
lib/libSDLmain.a
libdata/pkgconfig/sdl.pc
share/aclocal/sdl.m4
@@ -256,46 +249,47 @@ share/aclocal/sdl.m4
%%PORTDOCS%%%%DOCSDIR%%/docs/html/wm.html
%%PORTDOCS%%%%DOCSDIR%%/docs/images/rainbow.gif
%%PORTDOCS%%%%DOCSDIR%%/docs/index.html
-%%PORTDOCS%%%%EXAMPLESDIR%%/checkkeys.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/graywin.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/icon.bmp
-%%PORTDOCS%%%%EXAMPLESDIR%%/loopwave.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/moose.dat
-%%PORTDOCS%%%%EXAMPLESDIR%%/picture.xbm
-%%PORTDOCS%%%%EXAMPLESDIR%%/sail.bmp
-%%PORTDOCS%%%%EXAMPLESDIR%%/sample.bmp
-%%PORTDOCS%%%%EXAMPLESDIR%%/sample.wav
-%%PORTDOCS%%%%EXAMPLESDIR%%/testalpha.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testbitmap.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testblitspeed.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testcdrom.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testcursor.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testdyngl.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testerror.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testfile.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testgamma.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testgl.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testhread.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testiconv.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testjoystick.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testkeys.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testlock.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testoverlay.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testoverlay2.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testpalette.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testplatform.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testsem.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testsprite.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testtimer.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testver.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testvidinfo.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testwin.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/testwm.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/threadwin.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/torturethread.c
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/checkkeys.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/graywin.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icon.bmp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/loopwave.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/moose.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/picture.xbm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sail.bmp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.bmp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.wav
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testalpha.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testbitmap.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testblitspeed.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testcdrom.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testcursor.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testdyngl.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testerror.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testfile.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testgamma.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testgl.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testhread.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testiconv.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testjoystick.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testkeys.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testloadso.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testlock.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testoverlay.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testoverlay2.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testpalette.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testplatform.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsem.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testsprite.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testtimer.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testver.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testvidinfo.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testwin.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testwm.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/threadwin.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/torturethread.c
%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs/images
%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrm include/SDL