diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-10-25 20:24:03 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-10-25 20:24:03 +0000 |
commit | f87a2e031657f1eb91a8c52b52ee7f84ea05dc3c (patch) | |
tree | b653ca7f06ea49e88621f1cdcfa42de0937db27c /games/violetland | |
parent | f99b0afdeba6b7f7c1480497fd8bcc7035ce40d2 (diff) |
Notes
Diffstat (limited to 'games/violetland')
-rw-r--r-- | games/violetland/Makefile | 37 | ||||
-rw-r--r-- | games/violetland/distinfo | 3 | ||||
-rw-r--r-- | games/violetland/files/patch-src-system-FileUtility.cpp | 30 | ||||
-rw-r--r-- | games/violetland/pkg-descr | 8 | ||||
-rw-r--r-- | games/violetland/pkg-plist | 146 |
5 files changed, 224 insertions, 0 deletions
diff --git a/games/violetland/Makefile b/games/violetland/Makefile new file mode 100644 index 000000000000..cc8857c808e9 --- /dev/null +++ b/games/violetland/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: violetland +# Date created: 25 Oct 2009 +# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= violetland +PORTVERSION= 0.2.0 +CATEGORIES= games +MASTER_SITES= GOOGLE_CODE +DISTNAME= ${PORTNAME}-v${PORTVERSION}-src + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Top-down survival shoot 'em up + +USE_ZIP= yes +USE_SDL= sdl mixer image ttf +USE_GL= gl glu +MAKE_JOBS_SAFE= yes +USE_CMAKE= yes +CMAKE_USE_PTHREAD=yes + +WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION} + +DESKTOP_ENTRIES="Violetland" \ + "Top-down survival shoot 'em up" \ + "" \ + "violetland" \ + "Game;ArcadeGame;" \ + false + +post-patch: + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ + ${WRKSRC}/src/system/FileUtility.cpp + +.include <bsd.port.mk> diff --git a/games/violetland/distinfo b/games/violetland/distinfo new file mode 100644 index 000000000000..1aa87528cfda --- /dev/null +++ b/games/violetland/distinfo @@ -0,0 +1,3 @@ +MD5 (violetland-v0.2.0-src.zip) = b2e9f9f9fab09a47a41db8cd9f78ea38 +SHA256 (violetland-v0.2.0-src.zip) = dc720b7b6b145264e886ce065ed3440902778630c3f086d1d3d67019d5325cdd +SIZE (violetland-v0.2.0-src.zip) = 3001882 diff --git a/games/violetland/files/patch-src-system-FileUtility.cpp b/games/violetland/files/patch-src-system-FileUtility.cpp new file mode 100644 index 000000000000..95d9998b9138 --- /dev/null +++ b/games/violetland/files/patch-src-system-FileUtility.cpp @@ -0,0 +1,30 @@ +--- src/system/FileUtility.cpp.orig 2009-10-19 05:14:24.000000000 +0400 ++++ src/system/FileUtility.cpp 2009-10-25 22:04:22.000000000 +0300 +@@ -22,8 +22,8 @@ + if (!(ep->data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY))
+ files++;
+ #endif //_WIN32W
+-#ifdef linux
+- if (ep->d_type == 0x8)
++#ifdef __FreeBSD__
++ if (ep->d_type == DT_REG)
+ files++;
+ #endif //linux
+ (void) closedir(dp);
+@@ -49,13 +49,9 @@ + m_usrPath = m_resPath;
+ delete[] exePath;
+ #endif //_WIN32
+-#ifdef linux
+- char result[PATH_MAX];
+- readlink("/proc/self/exe", result, PATH_MAX);
+- FileUtility::truncateFullPathToDir(result);
+- m_appPath = result;
+- m_resPath = m_appPath;
+- m_resPath.append("/../share/violetland/");
++#ifdef __FreeBSD__
++ m_appPath = "%%PREFIX%%/bin";
++ m_resPath = "%%PREFIX%%/share/violetland/";
+ m_usrPath = getenv("HOME");
+ m_usrPath.append("/.config");
+ mkdir(m_usrPath.c_str(), S_IRWXU | S_IRGRP | S_IROTH);
diff --git a/games/violetland/pkg-descr b/games/violetland/pkg-descr new file mode 100644 index 000000000000..2f95ed216a61 --- /dev/null +++ b/games/violetland/pkg-descr @@ -0,0 +1,8 @@ +In this game the player should help a girl by name of Violet to +struggle with hordes of monsters. For this purpose the various +weapon, and also the special abilities of the heroine which are +opening with experience can be used. In game there are elements of +RPG in the form of strength-agility-vitality and derivatives. Also +there is an unique feature: dynamic change of day and night. + +WWW: http://code.google.com/p/violetland/ diff --git a/games/violetland/pkg-plist b/games/violetland/pkg-plist new file mode 100644 index 000000000000..22ad00b77e18 --- /dev/null +++ b/games/violetland/pkg-plist @@ -0,0 +1,146 @@ +bin/violetland +%%DATADIR%%/README_EN.TXT +%%DATADIR%%/README_RU.TXT +%%DATADIR%%/fonts/harabara.ttf +%%DATADIR%%/images/ak.png +%%DATADIR%%/images/anima/bleed/bleed-0.png +%%DATADIR%%/images/anima/bleed/bleed-1.png +%%DATADIR%%/images/anima/bleed/bleed-10.png +%%DATADIR%%/images/anima/bleed/bleed-11.png +%%DATADIR%%/images/anima/bleed/bleed-12.png +%%DATADIR%%/images/anima/bleed/bleed-2.png +%%DATADIR%%/images/anima/bleed/bleed-3.png +%%DATADIR%%/images/anima/bleed/bleed-4.png +%%DATADIR%%/images/anima/bleed/bleed-5.png +%%DATADIR%%/images/anima/bleed/bleed-6.png +%%DATADIR%%/images/anima/bleed/bleed-7.png +%%DATADIR%%/images/anima/bleed/bleed-8.png +%%DATADIR%%/images/anima/bleed/bleed-9.png +%%DATADIR%%/images/anima/monsters/0/move-0.png +%%DATADIR%%/images/anima/monsters/0/move-1.png +%%DATADIR%%/images/anima/monsters/0/move-10.png +%%DATADIR%%/images/anima/monsters/0/move-11.png +%%DATADIR%%/images/anima/monsters/0/move-12.png +%%DATADIR%%/images/anima/monsters/0/move-13.png +%%DATADIR%%/images/anima/monsters/0/move-14.png +%%DATADIR%%/images/anima/monsters/0/move-15.png +%%DATADIR%%/images/anima/monsters/0/move-16.png +%%DATADIR%%/images/anima/monsters/0/move-17.png +%%DATADIR%%/images/anima/monsters/0/move-18.png +%%DATADIR%%/images/anima/monsters/0/move-19.png +%%DATADIR%%/images/anima/monsters/0/move-2.png +%%DATADIR%%/images/anima/monsters/0/move-20.png +%%DATADIR%%/images/anima/monsters/0/move-21.png +%%DATADIR%%/images/anima/monsters/0/move-22.png +%%DATADIR%%/images/anima/monsters/0/move-23.png +%%DATADIR%%/images/anima/monsters/0/move-24.png +%%DATADIR%%/images/anima/monsters/0/move-3.png +%%DATADIR%%/images/anima/monsters/0/move-4.png +%%DATADIR%%/images/anima/monsters/0/move-5.png +%%DATADIR%%/images/anima/monsters/0/move-6.png +%%DATADIR%%/images/anima/monsters/0/move-7.png +%%DATADIR%%/images/anima/monsters/0/move-8.png +%%DATADIR%%/images/anima/monsters/0/move-9.png +%%DATADIR%%/images/anima/monsters/1/move-0.png +%%DATADIR%%/images/anima/monsters/1/move-1.png +%%DATADIR%%/images/anima/monsters/1/move-10.png +%%DATADIR%%/images/anima/monsters/1/move-11.png +%%DATADIR%%/images/anima/monsters/1/move-12.png +%%DATADIR%%/images/anima/monsters/1/move-13.png +%%DATADIR%%/images/anima/monsters/1/move-14.png +%%DATADIR%%/images/anima/monsters/1/move-15.png +%%DATADIR%%/images/anima/monsters/1/move-16.png +%%DATADIR%%/images/anima/monsters/1/move-17.png +%%DATADIR%%/images/anima/monsters/1/move-18.png +%%DATADIR%%/images/anima/monsters/1/move-19.png +%%DATADIR%%/images/anima/monsters/1/move-2.png +%%DATADIR%%/images/anima/monsters/1/move-20.png +%%DATADIR%%/images/anima/monsters/1/move-21.png +%%DATADIR%%/images/anima/monsters/1/move-22.png +%%DATADIR%%/images/anima/monsters/1/move-23.png +%%DATADIR%%/images/anima/monsters/1/move-24.png +%%DATADIR%%/images/anima/monsters/1/move-3.png +%%DATADIR%%/images/anima/monsters/1/move-4.png +%%DATADIR%%/images/anima/monsters/1/move-5.png +%%DATADIR%%/images/anima/monsters/1/move-6.png +%%DATADIR%%/images/anima/monsters/1/move-7.png +%%DATADIR%%/images/anima/monsters/1/move-8.png +%%DATADIR%%/images/anima/monsters/1/move-9.png +%%DATADIR%%/images/anima/player/legs-0.png +%%DATADIR%%/images/anima/player/legs-1.png +%%DATADIR%%/images/anima/player/legs-10.png +%%DATADIR%%/images/anima/player/legs-11.png +%%DATADIR%%/images/anima/player/legs-12.png +%%DATADIR%%/images/anima/player/legs-13.png +%%DATADIR%%/images/anima/player/legs-14.png +%%DATADIR%%/images/anima/player/legs-15.png +%%DATADIR%%/images/anima/player/legs-16.png +%%DATADIR%%/images/anima/player/legs-17.png +%%DATADIR%%/images/anima/player/legs-18.png +%%DATADIR%%/images/anima/player/legs-19.png +%%DATADIR%%/images/anima/player/legs-2.png +%%DATADIR%%/images/anima/player/legs-20.png +%%DATADIR%%/images/anima/player/legs-21.png +%%DATADIR%%/images/anima/player/legs-22.png +%%DATADIR%%/images/anima/player/legs-23.png +%%DATADIR%%/images/anima/player/legs-24.png +%%DATADIR%%/images/anima/player/legs-3.png +%%DATADIR%%/images/anima/player/legs-4.png +%%DATADIR%%/images/anima/player/legs-5.png +%%DATADIR%%/images/anima/player/legs-6.png +%%DATADIR%%/images/anima/player/legs-7.png +%%DATADIR%%/images/anima/player/legs-8.png +%%DATADIR%%/images/anima/player/legs-9.png +%%DATADIR%%/images/blood_0.png +%%DATADIR%%/images/blood_1.png +%%DATADIR%%/images/blood_2.png +%%DATADIR%%/images/medikit.png +%%DATADIR%%/images/pistol_bullet.png +%%DATADIR%%/images/player_top.png +%%DATADIR%%/images/pm.png +%%DATADIR%%/images/remington.png +%%DATADIR%%/images/terrain/0/0.png +%%DATADIR%%/images/terrain/0/1.png +%%DATADIR%%/images/terrain/1/0.png +%%DATADIR%%/images/terrain/1/1.png +%%DATADIR%%/images/terrain/2/0.png +%%DATADIR%%/images/terrain/2/1.png +%%DATADIR%%/images/terrain/2/2.png +%%DATADIR%%/images/terrain/3/0.png +%%DATADIR%%/images/terrain/3/1.png +%%DATADIR%%/images/terrain/base_0.png +%%DATADIR%%/images/terrain/base_1.png +%%DATADIR%%/images/terrain/base_2.png +%%DATADIR%%/images/terrain/base_3.png +%%DATADIR%%/images/uzi.png +%%DATADIR%%/sounds/ak-47_reload.ogg +%%DATADIR%%/sounds/ak-47_shot.ogg +%%DATADIR%%/sounds/ambient_zombie.ogg +%%DATADIR%%/sounds/player_hit_0.ogg +%%DATADIR%%/sounds/player_hit_1.ogg +%%DATADIR%%/sounds/player_hit_2.ogg +%%DATADIR%%/sounds/player_killed.ogg +%%DATADIR%%/sounds/pm_reload.ogg +%%DATADIR%%/sounds/pm_shot.ogg +%%DATADIR%%/sounds/remington_reload.ogg +%%DATADIR%%/sounds/remington_shot.ogg +%%DATADIR%%/sounds/uzi_reload.ogg +%%DATADIR%%/sounds/uzi_shot.ogg +%%DATADIR%%/sounds/zombie_hit_1.ogg +%%DATADIR%%/sounds/zombie_hit_2.ogg +%%DATADIR%%/weapons +@dirrm %%DATADIR%%/sounds +@dirrm %%DATADIR%%/images/terrain/3 +@dirrm %%DATADIR%%/images/terrain/2 +@dirrm %%DATADIR%%/images/terrain/1 +@dirrm %%DATADIR%%/images/terrain/0 +@dirrm %%DATADIR%%/images/terrain +@dirrm %%DATADIR%%/images/anima/player +@dirrm %%DATADIR%%/images/anima/monsters/1 +@dirrm %%DATADIR%%/images/anima/monsters/0 +@dirrm %%DATADIR%%/images/anima/monsters +@dirrm %%DATADIR%%/images/anima/bleed +@dirrm %%DATADIR%%/images/anima +@dirrm %%DATADIR%%/images +@dirrm %%DATADIR%%/fonts +@dirrm %%DATADIR%% |