diff options
Diffstat (limited to 'devel/kyra')
-rw-r--r-- | devel/kyra/Makefile | 50 | ||||
-rw-r--r-- | devel/kyra/distinfo | 2 | ||||
-rw-r--r-- | devel/kyra/files/patch-encoder__MakefileKyra | 11 | ||||
-rw-r--r-- | devel/kyra/files/patch-engine__MakefileKyra | 10 | ||||
-rw-r--r-- | devel/kyra/files/patch-engine_encoder.h | 11 | ||||
-rw-r--r-- | devel/kyra/files/patch-engine_imagetree.h | 11 | ||||
-rw-r--r-- | devel/kyra/files/patch-engine_namefield.h | 10 | ||||
-rw-r--r-- | devel/kyra/files/patch-grinliz_glperformance.h | 20 | ||||
-rw-r--r-- | devel/kyra/files/patch-guiExtended_progress.h | 20 | ||||
-rw-r--r-- | devel/kyra/files/patch-gui_eventmanager.h | 11 | ||||
-rw-r--r-- | devel/kyra/files/patch-guitest__guitest.cpp | 26 | ||||
-rw-r--r-- | devel/kyra/pkg-descr | 8 | ||||
-rw-r--r-- | devel/kyra/pkg-plist | 57 |
13 files changed, 0 insertions, 247 deletions
diff --git a/devel/kyra/Makefile b/devel/kyra/Makefile deleted file mode 100644 index 53d5a72f6306..000000000000 --- a/devel/kyra/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -PORTNAME= kyra -PORTVERSION= 2.1.3 -PORTREVISION= 7 -CATEGORIES= devel -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}2/${PORTVERSION} -DISTNAME= ${PORTNAME}_src_${PORTVERSION:S/./_/g} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Simple Sprite engine written in C++ -WWW= https://www.grinninglizard.com/kyra/ - -LICENSE= GPLv2 - -DEPRECATED= Abandonware, last release in 2006 and depdends on deprecated libraries -EXPIRATION_DATE=2025-06-30 - -LIB_DEPENDS= libpng.so:graphics/png \ - libtiff.so:graphics/tiff - -WRKSRC= ${WRKDIR}/${PORTNAME} - -USES= compiler gl gmake jpeg sdl zip -USE_GL= gl -USE_SDL= image sdl - -CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} -CXXFLAGS_clang= -Wno-c++11-narrowing - -MAKEFILE= MakefileKyra -MAKE_ENV= MAKE_KYRA=RELEASE KYRA_OPENGL=YES -MAKE_ARGS= CC="${CC}" CXX="${CXX}" LD="${CXX}" \ - RELEASE_CFLAGS="${CFLAGS}" RELEASE_CXXFLAGS="${CXXFLAGS}" - -do-install: -.for i in encoder spriteed - (cd ${WRKSRC}/${i} && ${INSTALL_PROGRAM} kr${i} ${STAGEDIR}${PREFIX}/bin) -.endfor - (cd ${WRKSRC}/engine && ${INSTALL_DATA} libkyra.a ${STAGEDIR}${PREFIX}/lib) - @${MKDIR} ${STAGEDIR}${PREFIX}/include/Kyra - (cd ${WRKSRC} && ${INSTALL_DATA} kyra.h ${STAGEDIR}${PREFIX}/include/Kyra) -.for i in engine gui guiExtended util - @${MKDIR} ${STAGEDIR}${PREFIX}/include/Kyra/${i} - (cd ${WRKSRC}/${i} && ${INSTALL_DATA} *.h \ - ${STAGEDIR}${PREFIX}/include/Kyra/${i}) -.endfor - @${MKDIR} ${STAGEDIR}${PREFIX}/include/Kyra/tinyxml - (cd ${WRKSRC}/../tinyxml && ${INSTALL_DATA} *.h \ - ${STAGEDIR}${PREFIX}/include/Kyra/tinyxml) - -.include <bsd.port.mk> diff --git a/devel/kyra/distinfo b/devel/kyra/distinfo deleted file mode 100644 index d7569e6db02d..000000000000 --- a/devel/kyra/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (kyra_src_2_1_3.zip) = 19a9f2bceca6ddd5945fb687590e18f29b73819901a476f85ce9c37bec4170f0 -SIZE (kyra_src_2_1_3.zip) = 3595503 diff --git a/devel/kyra/files/patch-encoder__MakefileKyra b/devel/kyra/files/patch-encoder__MakefileKyra deleted file mode 100644 index d33e4ec639a0..000000000000 --- a/devel/kyra/files/patch-encoder__MakefileKyra +++ /dev/null @@ -1,11 +0,0 @@ ---- encoder/MakefileKyra.orig 2005-09-21 18:12:50 UTC -+++ encoder/MakefileKyra -@@ -110,7 +110,7 @@ OBJS := $(addsuffix .o,$(basename ${SRCS})) - # Output - #**************************************************************************** - --${OUTPUT}: ${OBJS} ${LIBS} -+${OUTPUT}: ${OBJS} ../engine/libkyra.a - ${LD} -o $@ ${LDFLAGS} ${OBJS} ${LIBS} ${EXTRA_LIBS} - - #**************************************************************************** diff --git a/devel/kyra/files/patch-engine__MakefileKyra b/devel/kyra/files/patch-engine__MakefileKyra deleted file mode 100644 index 886a268edf05..000000000000 --- a/devel/kyra/files/patch-engine__MakefileKyra +++ /dev/null @@ -1,10 +0,0 @@ ---- engine/MakefileKyra.orig 2006-07-21 01:54:05 UTC -+++ engine/MakefileKyra -@@ -130,6 +130,7 @@ SRCS := action.cpp \ - ../util/glstring.cpp \ - ../util/glisomath.cpp \ - ../../grinliz/gldebug.cpp \ -+ ../../grinliz/gldynamic.cpp \ - ../../grinliz/glperformance.cpp \ - ../../grinliz/glgeometry.cpp \ - ../../grinliz/glprime.cpp \ diff --git a/devel/kyra/files/patch-engine_encoder.h b/devel/kyra/files/patch-engine_encoder.h deleted file mode 100644 index f9fe5d6fad80..000000000000 --- a/devel/kyra/files/patch-engine_encoder.h +++ /dev/null @@ -1,11 +0,0 @@ ---- engine/encoder.h.orig 2005-03-31 01:02:36 UTC -+++ engine/encoder.h -@@ -148,7 +148,7 @@ class KrEncoder - GLASSERT( numRGBA >= numSegment ); - // GLASSERT( numSegment >= numLine ); - } -- void KrEncoder::Save(); -+ void Save(); - - KrResourceVault* GetVault() { return &vault; } - diff --git a/devel/kyra/files/patch-engine_imagetree.h b/devel/kyra/files/patch-engine_imagetree.h deleted file mode 100644 index 494f878687f3..000000000000 --- a/devel/kyra/files/patch-engine_imagetree.h +++ /dev/null @@ -1,11 +0,0 @@ ---- engine/imagetree.h.orig 2005-03-31 01:02:38 UTC -+++ engine/imagetree.h -@@ -190,7 +190,7 @@ class KrImageTree - void Clear( KrImNode* root ); // delete the entire tree - - // Recursive hit test walk. -- bool KrImageTree::HitTestRec( KrImNode* node, int x, int y, int flags, std::vector<KrImage*>* outputArray, int windowIndex ); -+ bool HitTestRec( KrImNode* node, int x, int y, int flags, std::vector<KrImage*>* outputArray, int windowIndex ); - - KrImNode* root; // The root to position the window - KrImNode* offsetRoot; // The root as returned to the client diff --git a/devel/kyra/files/patch-engine_namefield.h b/devel/kyra/files/patch-engine_namefield.h deleted file mode 100644 index 9f27cecc6ce3..000000000000 --- a/devel/kyra/files/patch-engine_namefield.h +++ /dev/null @@ -1,10 +0,0 @@ ---- engine/namefield.h.orig 2005-02-14 08:03:33 UTC -+++ engine/namefield.h -@@ -34,6 +34,7 @@ - #include "../../grinliz/gltypes.h" - #include "../util/gllist.h" - #include "SDL_endian.h" -+#include "SDL_rwops.h" - - - diff --git a/devel/kyra/files/patch-grinliz_glperformance.h b/devel/kyra/files/patch-grinliz_glperformance.h deleted file mode 100644 index 7089639e9723..000000000000 --- a/devel/kyra/files/patch-grinliz_glperformance.h +++ /dev/null @@ -1,20 +0,0 @@ ---- ../grinliz/glperformance.h.orig 2021-10-26 01:06:25.780070000 +0200 -+++ ../grinliz/glperformance.h 2021-10-26 01:16:02.969577000 +0200 -@@ -34,6 +34,8 @@ - #include "gltypes.h" - #include "gldebug.h" - -+#include <SDL/SDL_timer.h> -+ - namespace grinliz { - - const int GL_MAX_PROFILE_DATAITEM = 64; -@@ -91,7 +93,7 @@ - #else - inline U64 FastTime() - { -- #ifdef __GNUC__ -+ #if defined(__GNUC__) && (defined(__amd64__) || defined(__i386__)) - U64 val; - __asm__ __volatile__ ("rdtsc" : "=A" (val)); - return val; diff --git a/devel/kyra/files/patch-guiExtended_progress.h b/devel/kyra/files/patch-guiExtended_progress.h deleted file mode 100644 index e4c6ca345f13..000000000000 --- a/devel/kyra/files/patch-guiExtended_progress.h +++ /dev/null @@ -1,20 +0,0 @@ ---- guiExtended/progress.h.orig 2004-11-21 19:28:32 UTC -+++ guiExtended/progress.h -@@ -43,7 +43,7 @@ class KrProgress : public KrWidget (public) - /** if width of the resource is greater then its height then makes - a horizontal, else makes a vertical progress bar - */ -- KrProgress::KrProgress (int width, -+ KrProgress (int width, - int height, - KrRGBA FillColor, - KrRGBA ChangeColor, -@@ -53,7 +53,7 @@ class KrProgress : public KrWidget (public) - /** if width of the resource is greater then its height then makes - a horizontal, else makes a vertical progress bar - */ -- KrProgress::KrProgress (int width, -+ KrProgress (int width, - int height, - const KrScheme& scheme); - diff --git a/devel/kyra/files/patch-gui_eventmanager.h b/devel/kyra/files/patch-gui_eventmanager.h deleted file mode 100644 index 1c47d5083683..000000000000 --- a/devel/kyra/files/patch-gui_eventmanager.h +++ /dev/null @@ -1,11 +0,0 @@ ---- gui/eventmanager.h.orig 2005-04-01 04:08:57 UTC -+++ gui/eventmanager.h -@@ -80,7 +80,7 @@ class KrEventManager - int keysym; - KrWidget* target; - -- bool operator==( const Accel& rhs ) { return rhs.target == target; } -+ bool operator==( const Accel& rhs ) const { return rhs.target == target; } - }; - - KrEventManager(); diff --git a/devel/kyra/files/patch-guitest__guitest.cpp b/devel/kyra/files/patch-guitest__guitest.cpp deleted file mode 100644 index de9b79c958b2..000000000000 --- a/devel/kyra/files/patch-guitest__guitest.cpp +++ /dev/null @@ -1,26 +0,0 @@ ---- guitest/guitest.cpp.orig 2005-04-07 05:53:51 UTC -+++ guitest/guitest.cpp -@@ -96,19 +96,19 @@ class MyConsole : public KrConsole - switch ( event.type ) - { - case KrWidgetEvent::ACTIVATED: -- sprintf( buf, "ACTIVATED %s source=0x%x\n", source->WidgetType(), (unsigned)source ); -+ sprintf( buf, "ACTIVATED %s source=0x%x\n", source->WidgetType(), (uintptr_t)source ); - break; - - case KrWidgetEvent::DEACTIVATED: -- sprintf( buf, "DEACTIVATED %s source=0x%x\n", source->WidgetType(), (unsigned)source ); -+ sprintf( buf, "DEACTIVATED %s source=0x%x\n", source->WidgetType(), (uintptr_t)source ); - break; - - case KrWidgetEvent::COMMAND: -- sprintf( buf, "COMMAND %s source=0x%x command=%s arg=%s\n", source->WidgetType(), (unsigned)source, event.command.command, event.command.arg ); -+ sprintf( buf, "COMMAND %s source=0x%x command=%s arg=%s\n", source->WidgetType(), (uintptr_t)source, event.command.command, event.command.arg ); - break; - - case KrWidgetEvent::SELECTION: -- sprintf( buf, "SELECTION %s source=0x%x id=%d text=%s\n", source->WidgetType(), (unsigned)source, event.selection.index, event.selection.text ? event.selection.text : "(null)" ); -+ sprintf( buf, "SELECTION %s source=0x%x id=%d text=%s\n", source->WidgetType(), (uintptr_t)source, event.selection.index, event.selection.text ? event.selection.text : "(null)" ); - break; - - default: diff --git a/devel/kyra/pkg-descr b/devel/kyra/pkg-descr deleted file mode 100644 index 5d5616b44b4a..000000000000 --- a/devel/kyra/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Kyra is a simple, fully featured Sprite engine written in C++. -The Kyra engine is suited to 2D, isometric, and quasi-3D games. -It is built on top of SDL for cross platform use. It supports -tiles, sprites, and user drawn surfaces. It has full support -for alpha blending, scaling, color transformation, pixel -perfect collision detection, OpenGL acceleration, and mouse -testing. It comes with tools to define sprites and import -images into the system. diff --git a/devel/kyra/pkg-plist b/devel/kyra/pkg-plist deleted file mode 100644 index 4a1b2aecf2f9..000000000000 --- a/devel/kyra/pkg-plist +++ /dev/null @@ -1,57 +0,0 @@ -bin/krencoder -bin/krspriteed -include/Kyra/engine/action.h -include/Kyra/engine/box.h -include/Kyra/engine/boxresource.h -include/Kyra/engine/canvas.h -include/Kyra/engine/canvasresource.h -include/Kyra/engine/color.h -include/Kyra/engine/dataresource.h -include/Kyra/engine/dirtyrectangle.h -include/Kyra/engine/encoder.h -include/Kyra/engine/engine.h -include/Kyra/engine/fontresource.h -include/Kyra/engine/image.h -include/Kyra/engine/imagecontainer.h -include/Kyra/engine/imagenode.h -include/Kyra/engine/imagetree.h -include/Kyra/engine/imnode.h -include/Kyra/engine/krmath.h -include/Kyra/engine/kyra.h -include/Kyra/engine/kyrabuild.h -include/Kyra/engine/kyraresource.h -include/Kyra/engine/namefield.h -include/Kyra/engine/ogltexture.h -include/Kyra/engine/painter.h -include/Kyra/engine/parser.h -include/Kyra/engine/pixelblock.h -include/Kyra/engine/rle.h -include/Kyra/engine/sdlutil.h -include/Kyra/engine/sprite.h -include/Kyra/engine/spriteresource.h -include/Kyra/engine/tags.h -include/Kyra/engine/textbox.h -include/Kyra/engine/tile.h -include/Kyra/engine/tileresource.h -include/Kyra/engine/vault.h -include/Kyra/gui/button.h -include/Kyra/gui/console.h -include/Kyra/gui/eventmanager.h -include/Kyra/gui/listbox.h -include/Kyra/gui/textwidget.h -include/Kyra/gui/widget.h -include/Kyra/guiExtended/KrImageListBox.h -include/Kyra/guiExtended/progress.h -include/Kyra/kyra.h -include/Kyra/tinyxml/tinyxml.h -include/Kyra/tinyxml/tinystr.h -include/Kyra/util/glbitstream.h -include/Kyra/util/glcirclelist.h -include/Kyra/util/gldebug.h -include/Kyra/util/glfixed.h -include/Kyra/util/glinsidelist.h -include/Kyra/util/glintarrayset.h -include/Kyra/util/glisomath.h -include/Kyra/util/gllist.h -include/Kyra/util/glstring.h -lib/libkyra.a |