From 589e46e4a17c5aad73fac31b0922a87261d58e61 Mon Sep 17 00:00:00 2001 From: ben Date: Sat, 26 Jun 2004 03:54:37 +0000 Subject: Initial import of ivan-0.430, a graphical roguelike featuring deep gameplay. --- games/ivan/DESCR | 4 ++++ games/ivan/Makefile | 21 +++++++++++++++++++++ games/ivan/PLIST | 27 +++++++++++++++++++++++++++ games/ivan/distinfo | 6 ++++++ games/ivan/patches/patch-aa | 34 ++++++++++++++++++++++++++++++++++ games/ivan/patches/patch-ab | 22 ++++++++++++++++++++++ 6 files changed, 114 insertions(+) create mode 100644 games/ivan/DESCR create mode 100644 games/ivan/Makefile create mode 100644 games/ivan/PLIST create mode 100644 games/ivan/distinfo create mode 100644 games/ivan/patches/patch-aa create mode 100644 games/ivan/patches/patch-ab (limited to 'games/ivan') diff --git a/games/ivan/DESCR b/games/ivan/DESCR new file mode 100644 index 00000000000..16dfb47c4ab --- /dev/null +++ b/games/ivan/DESCR @@ -0,0 +1,4 @@ +Iter Vehemens ad Necem (IVAN) is a graphical roguelike game, which +currently runs in Windows, DOS and Linux. It features advanced bodypart +and material handling, multi-colored lighting and, above all, deep +gameplay. diff --git a/games/ivan/Makefile b/games/ivan/Makefile new file mode 100644 index 00000000000..cab7395b8f2 --- /dev/null +++ b/games/ivan/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/06/26 03:54:37 ben Exp $ +# + +DISTNAME= ivan-0.430 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ivan/} + +MAINTAINER= ben@NetBSD.org +HOMEPAGE= http://ivan.sourceforge.net/ +COMMENT= Graphical roguelike featuring deep gameplay + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= YES +GNU_CONFIGURE= YES + +CONFIGURE_ARGS+= --localstatedir=${PREFIX}/share + +.include "../../devel/SDL/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/games/ivan/PLIST b/games/ivan/PLIST new file mode 100644 index 00000000000..d697e731214 --- /dev/null +++ b/games/ivan/PLIST @@ -0,0 +1,27 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/26 03:54:37 ben Exp $ +bin/ivan +share/ivan/Bones +share/ivan/Graphics/Char.pcx +share/ivan/Graphics/Cursor.pcx +share/ivan/Graphics/Effect.pcx +share/ivan/Graphics/FOW.pcx +share/ivan/Graphics/Font.pcx +share/ivan/Graphics/GLTerra.pcx +share/ivan/Graphics/Humanoid.pcx +share/ivan/Graphics/Icon.bmp +share/ivan/Graphics/Item.pcx +share/ivan/Graphics/Menu.pcx +share/ivan/Graphics/OLTerra.pcx +share/ivan/Graphics/Symbol.pcx +share/ivan/Graphics/WTerra.pcx +share/ivan/Script/char.dat +share/ivan/Script/define.dat +share/ivan/Script/dungeon.dat +share/ivan/Script/glterra.dat +share/ivan/Script/item.dat +share/ivan/Script/material.dat +share/ivan/Script/olterra.dat +share/ivan/ivan-highscore.scores +@dirrm share/ivan/Graphics +@dirrm share/ivan/Script +@dirrm share/ivan diff --git a/games/ivan/distinfo b/games/ivan/distinfo new file mode 100644 index 00000000000..8d63a3b1bd7 --- /dev/null +++ b/games/ivan/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/06/26 03:54:37 ben Exp $ + +SHA1 (ivan-0.430.tar.gz) = a64d0dbd8711c89feff62796183df856febdc6e9 +Size (ivan-0.430.tar.gz) = 638755 bytes +SHA1 (patch-aa) = 74b1df465bc9143209e9b1fcede6c120b8d07368 +SHA1 (patch-ab) = 740c78263c370045f479c5d5c35e100991130806 diff --git a/games/ivan/patches/patch-aa b/games/ivan/patches/patch-aa new file mode 100644 index 00000000000..e524b413e13 --- /dev/null +++ b/games/ivan/patches/patch-aa @@ -0,0 +1,34 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/06/26 03:54:38 ben Exp $ + +--- Main/Source/game.cpp.orig Tue Aug 5 11:31:09 2003 ++++ Main/Source/game.cpp +@@ -82,7 +82,7 @@ bool game::Loading = false; + bool game::InGetCommand = false; + character* game::Petrus = 0; + +-festring game::AutoSaveFileName = game::GetSaveDir() + "AutoSave"; ++festring game::AutoSaveFileName = game::GetSaveDir() + "/AutoSave"; + const char* const game::Alignment[] = { "L++", "L+", "L", "L-", "N+", "N=", "N-", "C+", "C", "C-", "C--" }; + god** game::God; + +@@ -595,9 +595,9 @@ festring game::SaveName(const festring& + festring SaveName = GetSaveDir(); + + if(!Base.GetSize()) +- SaveName << PLAYER->GetAssignedName(); ++ SaveName << "/" << PLAYER->GetAssignedName(); + else +- SaveName << Base; ++ SaveName << "/" << Base; + + for(ushort c = 0; c < SaveName.GetSize(); ++c) + if(SaveName[c] == ' ') +@@ -1911,7 +1911,7 @@ festring game::GetSaveDir() + { + #ifdef LINUX + festring Dir; +- Dir << getenv("HOME") << "/IvanSave/"; ++ Dir << getenv("HOME") << "/IvanSave"; + return Dir; + #endif + diff --git a/games/ivan/patches/patch-ab b/games/ivan/patches/patch-ab new file mode 100644 index 00000000000..60e960ca41e --- /dev/null +++ b/games/ivan/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/06/26 03:54:38 ben Exp $ + +--- FeLib/Source/feio.cpp.orig Sun Aug 3 14:56:18 2003 ++++ FeLib/Source/feio.cpp +@@ -416,7 +416,7 @@ festring iosystem::ContinueMenu(ushort T + int Check = 0; + festring Buffer; + felist List(CONST_S("Choose a file and be sorry:"), TopicColor); +- hFile = _findfirst(festring(DirectoryName + "*.sav").CStr(), &Found); ++ hFile = _findfirst(festring(DirectoryName + "/*.sav").CStr(), &Found); + + if(hFile == -1L) + { +@@ -483,7 +483,7 @@ festring iosystem::ContinueMenu(ushort T + int Check = 0; + festring Buffer; + felist List(CONST_S("Choose a file and be sorry:"), TopicColor); +- Check = findfirst(festring(DirectoryName + "*.sav").CStr(), &Found, FA_HIDDEN | FA_ARCH); ++ Check = findfirst(festring(DirectoryName + "/*.sav").CStr(), &Found, FA_HIDDEN | FA_ARCH); + + if(Check) + { -- cgit v1.2.3