diff options
author | edwin <edwin@FreeBSD.org> | 2005-10-12 05:54:15 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-10-12 05:54:15 +0000 |
commit | 35a753eb85092ef47f05dd4aba0d9b46efdb05fa (patch) | |
tree | 7410d327d4beb16e21f72448377c8723706e337e /games | |
parent | 9e35b0abd23cf9e215034a91d2b29e74999a1b17 (diff) | |
download | FreeBSD-ports-35a753eb85092ef47f05dd4aba0d9b46efdb05fa.zip FreeBSD-ports-35a753eb85092ef47f05dd4aba0d9b46efdb05fa.tar.gz |
Moved games/kxl to devel/kxl
PR: ports/87240
Submitted by: Edwin Groothuis <edwin@mavetju.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/kxl/Makefile | 25 | ||||
-rw-r--r-- | games/kxl/distinfo | 2 | ||||
-rw-r--r-- | games/kxl/files/patch-aa | 57 | ||||
-rw-r--r-- | games/kxl/files/patch-ab | 9 | ||||
-rw-r--r-- | games/kxl/files/patch-src__KXL.h | 10 | ||||
-rw-r--r-- | games/kxl/files/patch-src__KXLjoystick.c | 40 | ||||
-rw-r--r-- | games/kxl/pkg-descr | 5 | ||||
-rw-r--r-- | games/kxl/pkg-plist | 6 |
9 files changed, 0 insertions, 155 deletions
diff --git a/games/Makefile b/games/Makefile index ba00844..5e87f5a 100644 --- a/games/Makefile +++ b/games/Makefile @@ -300,7 +300,6 @@ SUBDIR += kslide SUBDIR += ktritoc SUBDIR += kwappen - SUBDIR += kxl SUBDIR += ladder SUBDIR += lbreakout SUBDIR += lbreakout2 diff --git a/games/kxl/Makefile b/games/kxl/Makefile deleted file mode 100644 index 7fbd83d..0000000 --- a/games/kxl/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# New ports collection makefile for: kxl -# Date created: 16 June 2001 -# Whom: Yukihiro Nakai <nakai@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= kxl -PORTVERSION= 1.1.7 -PORTREVISION= 1 -CATEGORIES= games -MASTER_SITES= http://kxl.hn.org/download/ -DISTNAME= KXL-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= A visual, sound library for games - -USE_X_PREFIX= yes -USE_XPM= yes -INSTALLS_SHLIB= yes -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \ - LIBS=="-L${X11BASE}/lib" - -.include <bsd.port.mk> diff --git a/games/kxl/distinfo b/games/kxl/distinfo deleted file mode 100644 index 1ffc79f..0000000 --- a/games/kxl/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (KXL-1.1.7.tar.gz) = 321bfad9dee29840656225b54bb6feb0 -SIZE (KXL-1.1.7.tar.gz) = 192070 diff --git a/games/kxl/files/patch-aa b/games/kxl/files/patch-aa deleted file mode 100644 index 046035d..0000000 --- a/games/kxl/files/patch-aa +++ /dev/null @@ -1,57 +0,0 @@ ---- src/KXLsound.c.orig Fri Jan 17 01:29:09 2003 -+++ src/KXLsound.c Wed Oct 5 12:13:08 2005 -@@ -3,7 +3,6 @@ - #include <fcntl.h> - #include <sys/ioctl.h> - #include <sys/time.h> --#include <linux/soundcard.h> - #include "KXL.h" - - #define MIN(a, b) (((a) < (b)) ? (a) : (b)) -@@ -45,6 +44,7 @@ - //============================================================== - void KXL_SoundServer(void) - { -+#ifndef __FreeBSD__ - Uint16 i; - KXL_SoundControl Command; - fd_set sound_fdset; -@@ -163,6 +163,7 @@ - } - } - } -+#endif - } - - //============================================================== -@@ -239,6 +240,7 @@ - //============================================================== - void KXL_InitSound(Uint8 *path, Uint8 **fname) - { -+#ifndef __FreeBSD__ - KXL_SoundOk = False; - - KXL_LoadSoundData(path, fname); -@@ -266,6 +268,7 @@ - close(KXL_SoundData.Pipe[0]); - KXL_SoundOk = True; - } -+#endif - } - - //============================================================== -@@ -273,6 +276,7 @@ - //============================================================== - void KXL_EndSound(void) - { -+#ifndef __FreeBSD__ - while (KXL_SoundData.ListCnt) - KXL_Free(KXL_wavelist[-- KXL_SoundData.ListCnt].Data); - KXL_Free(KXL_wavelist); -@@ -282,5 +286,6 @@ - KXL_PlaySound(0, KXL_SOUND_STOP_ALL); - kill(KXL_SoundData.ID, SIGTERM); - } -+#endif - } - diff --git a/games/kxl/files/patch-ab b/games/kxl/files/patch-ab deleted file mode 100644 index 089ad4d..0000000 --- a/games/kxl/files/patch-ab +++ /dev/null @@ -1,9 +0,0 @@ ---- src/KXLmisc.c.orig Sun Jan 20 01:10:31 2002 -+++ src/KXLmisc.c Sat Mar 30 19:26:06 2002 -@@ -1,6 +1,5 @@ - #include <stdio.h> - #include <stdlib.h> --#include <malloc.h> - #include <signal.h> - #include <sys/time.h> - #include "KXL.h" diff --git a/games/kxl/files/patch-src__KXL.h b/games/kxl/files/patch-src__KXL.h deleted file mode 100644 index f355b4d..0000000 --- a/games/kxl/files/patch-src__KXL.h +++ /dev/null @@ -1,10 +0,0 @@ ---- src/KXL.h.orig Wed Oct 5 12:14:12 2005 -+++ src/KXL.h Wed Oct 5 12:14:18 2005 -@@ -4,7 +4,6 @@ - #include <stdio.h> - #include <X11/Xlib.h> - #include <X11/Xutil.h> --#include <linux/joystick.h> - - - //================================================================ diff --git a/games/kxl/files/patch-src__KXLjoystick.c b/games/kxl/files/patch-src__KXLjoystick.c deleted file mode 100644 index 6937bcd..0000000 --- a/games/kxl/files/patch-src__KXLjoystick.c +++ /dev/null @@ -1,40 +0,0 @@ ---- src/KXLjoystick.c.orig Wed Oct 5 12:14:36 2005 -+++ src/KXLjoystick.c Wed Oct 5 12:15:19 2005 -@@ -11,24 +11,7 @@ - // return value : True - ok, False - NG - //============================================================== - Bool KXL_OpenJoystick(Uint8 *devname) { -- Uint8 name[128] = "Unknown"; -- Sint32 version = 0x000800; -- Uint8 axis = 2; -- Uint8 buttons = 2; -- -- KXL_joydev = open(devname, O_RDONLY); -- if (KXL_joydev < 0) { -- fprintf(stderr, "KXL error message\nCannot open \"%s\".\n", devname); -- return False; -- } -- ioctl(KXL_joydev, JSIOCGVERSION, &version); -- ioctl(KXL_joydev, JSIOCGAXES, &axis); -- ioctl(KXL_joydev, JSIOCGBUTTONS, &buttons); -- ioctl(KXL_joydev, JSIOCGNAME(128), name); -- //fcntl(KXL_joydev, F_SETFL, O_NONBLOCK); -- fprintf(stderr, "KXL message\nJoystick (%s) has %d axes and %d buttons.\nDriver version is %d.%d.%d.\n", -- name, axis, buttons, version >> 16, (version >> 8) & 0xff, version & 0xff); -- return True; -+ return False; - } - - //============================================================== -@@ -46,11 +29,4 @@ - // return value : True - ok, False - NG - //============================================================== - Bool KXL_ReadJoystick(KXL_Joystick *my) { -- if (KXL_joydev >= 0) { -- if (read(KXL_joydev, my, JS_RETURN) == JS_RETURN) { -- return True; -- } -- } -- fprintf(stderr, "KXL error message\njoystick reading error\n"); -- return False; - } diff --git a/games/kxl/pkg-descr b/games/kxl/pkg-descr deleted file mode 100644 index a64d781..0000000 --- a/games/kxl/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -a visual, sound library for games - -Sound is not available on FreeBSD. - -WWW: http://kxl.hn.org/ diff --git a/games/kxl/pkg-plist b/games/kxl/pkg-plist deleted file mode 100644 index cc35666..0000000 --- a/games/kxl/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -include/KXL.h -lib/libKXL-1.1.7.so -lib/libKXL.so -lib/libKXL.a -lib/libKXL.la -share/aclocal/KXL.m4 |