pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/violetland



Module Name:    pkgsrc
Committed By:   kamil
Date:           Wed Jul 27 21:14:36 UTC 2016

Added Files:
        pkgsrc/games/violetland: DESCR Makefile PLIST distinfo
        pkgsrc/games/violetland/patches: patch-src_program.cpp
            patch-src_system_utility_FileUtility.cpp

Log Message:
Import violetland-0.5 as games/violetland

Violetland is an open source cross-platform game similar to Crimsonland.

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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/games/violetland/DESCR \
    pkgsrc/games/violetland/Makefile pkgsrc/games/violetland/PLIST \
    pkgsrc/games/violetland/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/violetland/patches/patch-src_program.cpp \
    pkgsrc/games/violetland/patches/patch-src_system_utility_FileUtility.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/games/violetland/DESCR
diff -u /dev/null pkgsrc/games/violetland/DESCR:1.1
--- /dev/null   Wed Jul 27 21:14:36 2016
+++ pkgsrc/games/violetland/DESCR       Wed Jul 27 21:14:36 2016
@@ -0,0 +1,5 @@
+Violetland is an open source cross-platform game similar to Crimsonland.
+
+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.
Index: pkgsrc/games/violetland/Makefile
diff -u /dev/null pkgsrc/games/violetland/Makefile:1.1
--- /dev/null   Wed Jul 27 21:14:36 2016
+++ pkgsrc/games/violetland/Makefile    Wed Jul 27 21:14:36 2016
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2016/07/27 21:14:36 kamil Exp $
+
+DISTNAME=      violetland-0.5-source-with-dependencies
+GITHUB_RELEASE=        ${PKGVERSION_NOREV}
+PKGNAME=       ${DISTNAME:S/-source-with-dependencies//}
+CATEGORIES=    games
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ooxi/}
+
+WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://violetland.github.io/
+COMMENT=       Help a girl by name of Violet to struggle with monsters
+LICENSE=       gnu-gpl-v3 AND cc-by-sa-v3.0
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/SDL_ttf/buildlink3.mk"
+.include "../../graphics/SDL_image/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/violetland/PLIST
diff -u /dev/null pkgsrc/games/violetland/PLIST:1.1
--- /dev/null   Wed Jul 27 21:14:36 2016
+++ pkgsrc/games/violetland/PLIST       Wed Jul 27 21:14:36 2016
@@ -0,0 +1,382 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/27 21:14:36 kamil Exp $
+bin/violetland
+locale/es/LC_MESSAGES/violetland.mo
+locale/fr/LC_MESSAGES/violetland.mo
+locale/gl/LC_MESSAGES/violetland.mo
+locale/ru/LC_MESSAGES/violetland.mo
+share/violetland/README.md
+share/violetland/README_RU.TXT
+share/violetland/fonts/archangelsk.ttf
+share/violetland/fonts/harabara.ttf
+share/violetland/icon-light.png
+share/violetland/images/anima/grenade/0.png
+share/violetland/images/anima/grenade/1.png
+share/violetland/images/anima/grenade/10.png
+share/violetland/images/anima/grenade/11.png
+share/violetland/images/anima/grenade/2.png
+share/violetland/images/anima/grenade/3.png
+share/violetland/images/anima/grenade/4.png
+share/violetland/images/anima/grenade/5.png
+share/violetland/images/anima/grenade/6.png
+share/violetland/images/anima/grenade/7.png
+share/violetland/images/anima/grenade/8.png
+share/violetland/images/anima/grenade/9.png
+share/violetland/images/anima/player/death/0/0.png
+share/violetland/images/anima/player/death/0/1.png
+share/violetland/images/anima/player/death/0/10.png
+share/violetland/images/anima/player/death/0/11.png
+share/violetland/images/anima/player/death/0/12.png
+share/violetland/images/anima/player/death/0/13.png
+share/violetland/images/anima/player/death/0/14.png
+share/violetland/images/anima/player/death/0/15.png
+share/violetland/images/anima/player/death/0/16.png
+share/violetland/images/anima/player/death/0/17.png
+share/violetland/images/anima/player/death/0/18.png
+share/violetland/images/anima/player/death/0/19.png
+share/violetland/images/anima/player/death/0/2.png
+share/violetland/images/anima/player/death/0/20.png
+share/violetland/images/anima/player/death/0/21.png
+share/violetland/images/anima/player/death/0/22.png
+share/violetland/images/anima/player/death/0/23.png
+share/violetland/images/anima/player/death/0/24.png
+share/violetland/images/anima/player/death/0/25.png
+share/violetland/images/anima/player/death/0/26.png
+share/violetland/images/anima/player/death/0/27.png
+share/violetland/images/anima/player/death/0/28.png
+share/violetland/images/anima/player/death/0/29.png
+share/violetland/images/anima/player/death/0/3.png
+share/violetland/images/anima/player/death/0/30.png
+share/violetland/images/anima/player/death/0/31.png
+share/violetland/images/anima/player/death/0/32.png
+share/violetland/images/anima/player/death/0/33.png
+share/violetland/images/anima/player/death/0/34.png
+share/violetland/images/anima/player/death/0/35.png
+share/violetland/images/anima/player/death/0/36.png
+share/violetland/images/anima/player/death/0/37.png
+share/violetland/images/anima/player/death/0/38.png
+share/violetland/images/anima/player/death/0/39.png
+share/violetland/images/anima/player/death/0/4.png
+share/violetland/images/anima/player/death/0/40.png
+share/violetland/images/anima/player/death/0/41.png
+share/violetland/images/anima/player/death/0/42.png
+share/violetland/images/anima/player/death/0/43.png
+share/violetland/images/anima/player/death/0/44.png
+share/violetland/images/anima/player/death/0/45.png
+share/violetland/images/anima/player/death/0/46.png
+share/violetland/images/anima/player/death/0/47.png
+share/violetland/images/anima/player/death/0/48.png
+share/violetland/images/anima/player/death/0/49.png
+share/violetland/images/anima/player/death/0/5.png
+share/violetland/images/anima/player/death/0/50.png
+share/violetland/images/anima/player/death/0/51.png
+share/violetland/images/anima/player/death/0/52.png
+share/violetland/images/anima/player/death/0/53.png
+share/violetland/images/anima/player/death/0/54.png
+share/violetland/images/anima/player/death/0/55.png
+share/violetland/images/anima/player/death/0/6.png
+share/violetland/images/anima/player/death/0/7.png
+share/violetland/images/anima/player/death/0/8.png
+share/violetland/images/anima/player/death/0/9.png
+share/violetland/images/anima/player/death/1/0.png
+share/violetland/images/anima/player/death/1/1.png
+share/violetland/images/anima/player/death/1/10.png
+share/violetland/images/anima/player/death/1/11.png
+share/violetland/images/anima/player/death/1/12.png
+share/violetland/images/anima/player/death/1/13.png
+share/violetland/images/anima/player/death/1/14.png
+share/violetland/images/anima/player/death/1/15.png
+share/violetland/images/anima/player/death/1/16.png
+share/violetland/images/anima/player/death/1/17.png
+share/violetland/images/anima/player/death/1/18.png
+share/violetland/images/anima/player/death/1/19.png
+share/violetland/images/anima/player/death/1/2.png
+share/violetland/images/anima/player/death/1/20.png
+share/violetland/images/anima/player/death/1/21.png
+share/violetland/images/anima/player/death/1/22.png
+share/violetland/images/anima/player/death/1/23.png
+share/violetland/images/anima/player/death/1/24.png
+share/violetland/images/anima/player/death/1/25.png
+share/violetland/images/anima/player/death/1/26.png
+share/violetland/images/anima/player/death/1/27.png
+share/violetland/images/anima/player/death/1/28.png
+share/violetland/images/anima/player/death/1/29.png
+share/violetland/images/anima/player/death/1/3.png
+share/violetland/images/anima/player/death/1/30.png
+share/violetland/images/anima/player/death/1/31.png
+share/violetland/images/anima/player/death/1/32.png
+share/violetland/images/anima/player/death/1/33.png
+share/violetland/images/anima/player/death/1/34.png
+share/violetland/images/anima/player/death/1/35.png
+share/violetland/images/anima/player/death/1/36.png
+share/violetland/images/anima/player/death/1/37.png
+share/violetland/images/anima/player/death/1/38.png
+share/violetland/images/anima/player/death/1/39.png
+share/violetland/images/anima/player/death/1/4.png
+share/violetland/images/anima/player/death/1/40.png
+share/violetland/images/anima/player/death/1/41.png
+share/violetland/images/anima/player/death/1/5.png
+share/violetland/images/anima/player/death/1/6.png
+share/violetland/images/anima/player/death/1/7.png
+share/violetland/images/anima/player/death/1/8.png
+share/violetland/images/anima/player/death/1/9.png
+share/violetland/images/anima/player/walk/0.png
+share/violetland/images/anima/player/walk/1.png
+share/violetland/images/anima/player/walk/10.png
+share/violetland/images/anima/player/walk/11.png
+share/violetland/images/anima/player/walk/12.png
+share/violetland/images/anima/player/walk/13.png
+share/violetland/images/anima/player/walk/14.png
+share/violetland/images/anima/player/walk/15.png
+share/violetland/images/anima/player/walk/16.png
+share/violetland/images/anima/player/walk/17.png
+share/violetland/images/anima/player/walk/18.png
+share/violetland/images/anima/player/walk/19.png
+share/violetland/images/anima/player/walk/2.png
+share/violetland/images/anima/player/walk/20.png
+share/violetland/images/anima/player/walk/21.png
+share/violetland/images/anima/player/walk/22.png
+share/violetland/images/anima/player/walk/23.png
+share/violetland/images/anima/player/walk/24.png
+share/violetland/images/anima/player/walk/3.png
+share/violetland/images/anima/player/walk/4.png
+share/violetland/images/anima/player/walk/5.png
+share/violetland/images/anima/player/walk/6.png
+share/violetland/images/anima/player/walk/7.png
+share/violetland/images/anima/player/walk/8.png
+share/violetland/images/anima/player/walk/9.png
+share/violetland/images/anima/shells/9mm/0.png
+share/violetland/images/anima/shells/9mm/1.png
+share/violetland/images/anima/shells/9mm/10.png
+share/violetland/images/anima/shells/9mm/11.png
+share/violetland/images/anima/shells/9mm/12.png
+share/violetland/images/anima/shells/9mm/13.png
+share/violetland/images/anima/shells/9mm/14.png
+share/violetland/images/anima/shells/9mm/15.png
+share/violetland/images/anima/shells/9mm/16.png
+share/violetland/images/anima/shells/9mm/17.png
+share/violetland/images/anima/shells/9mm/18.png
+share/violetland/images/anima/shells/9mm/19.png
+share/violetland/images/anima/shells/9mm/2.png
+share/violetland/images/anima/shells/9mm/20.png
+share/violetland/images/anima/shells/9mm/21.png
+share/violetland/images/anima/shells/9mm/22.png
+share/violetland/images/anima/shells/9mm/23.png
+share/violetland/images/anima/shells/9mm/24.png
+share/violetland/images/anima/shells/9mm/3.png
+share/violetland/images/anima/shells/9mm/4.png
+share/violetland/images/anima/shells/9mm/5.png
+share/violetland/images/anima/shells/9mm/6.png
+share/violetland/images/anima/shells/9mm/7.png
+share/violetland/images/anima/shells/9mm/8.png
+share/violetland/images/anima/shells/9mm/9.png
+share/violetland/images/blood_0.png
+share/violetland/images/blood_1.png
+share/violetland/images/blood_2.png
+share/violetland/images/bon_nuke.png
+share/violetland/images/crystal.png
+share/violetland/images/expl_0.png
+share/violetland/images/expl_1.png
+share/violetland/images/freeze.png
+share/violetland/images/grenade.png
+share/violetland/images/health.png
+share/violetland/images/levelup.png
+share/violetland/images/medikit.png
+share/violetland/images/penbullets.png
+share/violetland/images/pill.png
+share/violetland/images/splash_0.png
+share/violetland/images/splash_1.png
+share/violetland/images/teleport.png
+share/violetland/images/terrain/0/0.png
+share/violetland/images/terrain/0/1.png
+share/violetland/images/terrain/1/0.png
+share/violetland/images/terrain/1/1.png
+share/violetland/images/terrain/2/0.png
+share/violetland/images/terrain/2/1.png
+share/violetland/images/terrain/2/2.png
+share/violetland/images/terrain/3/0.png
+share/violetland/images/terrain/3/1.png
+share/violetland/images/terrain/base_0.png
+share/violetland/images/terrain/base_1.png
+share/violetland/images/terrain/base_2.png
+share/violetland/images/terrain/base_3.png
+share/violetland/monsters/runner/death/0.png
+share/violetland/monsters/runner/death/1.png
+share/violetland/monsters/runner/death/10.png
+share/violetland/monsters/runner/death/11.png
+share/violetland/monsters/runner/death/12.png
+share/violetland/monsters/runner/death/13.png
+share/violetland/monsters/runner/death/14.png
+share/violetland/monsters/runner/death/15.png
+share/violetland/monsters/runner/death/16.png
+share/violetland/monsters/runner/death/17.png
+share/violetland/monsters/runner/death/18.png
+share/violetland/monsters/runner/death/19.png
+share/violetland/monsters/runner/death/2.png
+share/violetland/monsters/runner/death/20.png
+share/violetland/monsters/runner/death/21.png
+share/violetland/monsters/runner/death/22.png
+share/violetland/monsters/runner/death/23.png
+share/violetland/monsters/runner/death/3.png
+share/violetland/monsters/runner/death/4.png
+share/violetland/monsters/runner/death/5.png
+share/violetland/monsters/runner/death/6.png
+share/violetland/monsters/runner/death/7.png
+share/violetland/monsters/runner/death/8.png
+share/violetland/monsters/runner/death/9.png
+share/violetland/monsters/runner/sounds/hit/hit.ogg
+share/violetland/monsters/runner/stats
+share/violetland/monsters/runner/walk/0.png
+share/violetland/monsters/runner/walk/1.png
+share/violetland/monsters/runner/walk/10.png
+share/violetland/monsters/runner/walk/11.png
+share/violetland/monsters/runner/walk/12.png
+share/violetland/monsters/runner/walk/13.png
+share/violetland/monsters/runner/walk/14.png
+share/violetland/monsters/runner/walk/15.png
+share/violetland/monsters/runner/walk/16.png
+share/violetland/monsters/runner/walk/17.png
+share/violetland/monsters/runner/walk/18.png
+share/violetland/monsters/runner/walk/19.png
+share/violetland/monsters/runner/walk/2.png
+share/violetland/monsters/runner/walk/20.png
+share/violetland/monsters/runner/walk/21.png
+share/violetland/monsters/runner/walk/22.png
+share/violetland/monsters/runner/walk/23.png
+share/violetland/monsters/runner/walk/3.png
+share/violetland/monsters/runner/walk/4.png
+share/violetland/monsters/runner/walk/5.png
+share/violetland/monsters/runner/walk/6.png
+share/violetland/monsters/runner/walk/7.png
+share/violetland/monsters/runner/walk/8.png
+share/violetland/monsters/runner/walk/9.png
+share/violetland/monsters/spider/death/0.png
+share/violetland/monsters/spider/death/1.png
+share/violetland/monsters/spider/death/10.png
+share/violetland/monsters/spider/death/11.png
+share/violetland/monsters/spider/death/12.png
+share/violetland/monsters/spider/death/13.png
+share/violetland/monsters/spider/death/14.png
+share/violetland/monsters/spider/death/15.png
+share/violetland/monsters/spider/death/16.png
+share/violetland/monsters/spider/death/17.png
+share/violetland/monsters/spider/death/18.png
+share/violetland/monsters/spider/death/19.png
+share/violetland/monsters/spider/death/2.png
+share/violetland/monsters/spider/death/20.png
+share/violetland/monsters/spider/death/21.png
+share/violetland/monsters/spider/death/22.png
+share/violetland/monsters/spider/death/23.png
+share/violetland/monsters/spider/death/3.png
+share/violetland/monsters/spider/death/4.png
+share/violetland/monsters/spider/death/5.png
+share/violetland/monsters/spider/death/6.png
+share/violetland/monsters/spider/death/7.png
+share/violetland/monsters/spider/death/8.png
+share/violetland/monsters/spider/death/9.png
+share/violetland/monsters/spider/sounds/hit/hit_1.ogg
+share/violetland/monsters/spider/sounds/hit/hit_2.ogg
+share/violetland/monsters/spider/sounds/hit/hit_3.ogg
+share/violetland/monsters/spider/stats
+share/violetland/monsters/spider/walk/0.png
+share/violetland/monsters/spider/walk/1.png
+share/violetland/monsters/spider/walk/10.png
+share/violetland/monsters/spider/walk/11.png
+share/violetland/monsters/spider/walk/12.png
+share/violetland/monsters/spider/walk/2.png
+share/violetland/monsters/spider/walk/3.png
+share/violetland/monsters/spider/walk/4.png
+share/violetland/monsters/spider/walk/5.png
+share/violetland/monsters/spider/walk/6.png
+share/violetland/monsters/spider/walk/7.png
+share/violetland/monsters/spider/walk/8.png
+share/violetland/monsters/spider/walk/9.png
+share/violetland/monsters/zombie/death/0.png
+share/violetland/monsters/zombie/death/1.png
+share/violetland/monsters/zombie/death/10.png
+share/violetland/monsters/zombie/death/11.png
+share/violetland/monsters/zombie/death/2.png
+share/violetland/monsters/zombie/death/3.png
+share/violetland/monsters/zombie/death/4.png
+share/violetland/monsters/zombie/death/5.png
+share/violetland/monsters/zombie/death/6.png
+share/violetland/monsters/zombie/death/7.png
+share/violetland/monsters/zombie/death/8.png
+share/violetland/monsters/zombie/death/9.png
+share/violetland/monsters/zombie/sounds/hit/hit.ogg
+share/violetland/monsters/zombie/stats
+share/violetland/monsters/zombie/walk/0.png
+share/violetland/monsters/zombie/walk/1.png
+share/violetland/monsters/zombie/walk/10.png
+share/violetland/monsters/zombie/walk/11.png
+share/violetland/monsters/zombie/walk/12.png
+share/violetland/monsters/zombie/walk/13.png
+share/violetland/monsters/zombie/walk/14.png
+share/violetland/monsters/zombie/walk/15.png
+share/violetland/monsters/zombie/walk/16.png
+share/violetland/monsters/zombie/walk/17.png
+share/violetland/monsters/zombie/walk/18.png
+share/violetland/monsters/zombie/walk/19.png
+share/violetland/monsters/zombie/walk/2.png
+share/violetland/monsters/zombie/walk/20.png
+share/violetland/monsters/zombie/walk/21.png
+share/violetland/monsters/zombie/walk/22.png
+share/violetland/monsters/zombie/walk/23.png
+share/violetland/monsters/zombie/walk/3.png
+share/violetland/monsters/zombie/walk/4.png
+share/violetland/monsters/zombie/walk/5.png
+share/violetland/monsters/zombie/walk/6.png
+share/violetland/monsters/zombie/walk/7.png
+share/violetland/monsters/zombie/walk/8.png
+share/violetland/monsters/zombie/walk/9.png
+share/violetland/music/01.ogg
+share/violetland/music/02.ogg
+share/violetland/music/03.ogg
+share/violetland/music/04.ogg
+share/violetland/music/05.ogg
+share/violetland/sounds/explode-0.ogg
+share/violetland/sounds/explode-1.ogg
+share/violetland/sounds/player_hit_0.ogg
+share/violetland/sounds/player_hit_1.ogg
+share/violetland/sounds/player_hit_2.ogg
+share/violetland/sounds/player_killed.ogg
+share/violetland/weapon/AK-47/image.png
+share/violetland/weapon/AK-47/player.png
+share/violetland/weapon/AK-47/reload.ogg
+share/violetland/weapon/AK-47/shot.ogg
+share/violetland/weapon/AK-47/stats
+share/violetland/weapon/Flamethrower/bullet.png
+share/violetland/weapon/Flamethrower/image.png
+share/violetland/weapon/Flamethrower/player.png
+share/violetland/weapon/Flamethrower/reload.ogg
+share/violetland/weapon/Flamethrower/shot.ogg
+share/violetland/weapon/Flamethrower/stats
+share/violetland/weapon/Laser/image.png
+share/violetland/weapon/Laser/player.png
+share/violetland/weapon/Laser/reload.ogg
+share/violetland/weapon/Laser/shot.ogg
+share/violetland/weapon/Laser/stats
+share/violetland/weapon/M-32/image.png
+share/violetland/weapon/M-32/player.png
+share/violetland/weapon/M-32/reload.ogg
+share/violetland/weapon/M-32/shot.ogg
+share/violetland/weapon/M-32/stats
+share/violetland/weapon/PM/image.png
+share/violetland/weapon/PM/player.png
+share/violetland/weapon/PM/reload.ogg
+share/violetland/weapon/PM/shot.ogg
+share/violetland/weapon/PM/stats
+share/violetland/weapon/Remington-870/image.png
+share/violetland/weapon/Remington-870/player.png
+share/violetland/weapon/Remington-870/reload.ogg
+share/violetland/weapon/Remington-870/shot.ogg
+share/violetland/weapon/Remington-870/stats
+share/violetland/weapon/SawedOff-Shotgun/image.png
+share/violetland/weapon/SawedOff-Shotgun/player.png
+share/violetland/weapon/SawedOff-Shotgun/reload.ogg
+share/violetland/weapon/SawedOff-Shotgun/shot.ogg
+share/violetland/weapon/SawedOff-Shotgun/stats
+share/violetland/weapon/UZI/image.png
+share/violetland/weapon/UZI/player.png
+share/violetland/weapon/UZI/reload.ogg
+share/violetland/weapon/UZI/shot.ogg
+share/violetland/weapon/UZI/stats
Index: pkgsrc/games/violetland/distinfo
diff -u /dev/null pkgsrc/games/violetland/distinfo:1.1
--- /dev/null   Wed Jul 27 21:14:36 2016
+++ pkgsrc/games/violetland/distinfo    Wed Jul 27 21:14:36 2016
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2016/07/27 21:14:36 kamil Exp $
+
+SHA1 (violetland-0.5-source-with-dependencies.tar.gz) = eb42e647e6ee7473835f0a2c47abb99dd19f4ae4
+RMD160 (violetland-0.5-source-with-dependencies.tar.gz) = 25115e79a8355261ede62c78b5f9794ab2ea6d09
+SHA512 (violetland-0.5-source-with-dependencies.tar.gz) = 9b00fa600332c956c49bc5906f373c0dfff08a13320617014942ac4dbc199de8f84bef87ed218b38812ae3c53622e9148aa4463c4ea219056360bff1c73b7f88
+Size (violetland-0.5-source-with-dependencies.tar.gz) = 11495885 bytes
+SHA1 (patch-src_program.cpp) = f06e7935d2cf8cd23dd3ab9c75990f8b289476cd
+SHA1 (patch-src_system_utility_FileUtility.cpp) = d6663de57b76121dc4f84b8e7ed20e93134940b4

Index: pkgsrc/games/violetland/patches/patch-src_program.cpp
diff -u /dev/null pkgsrc/games/violetland/patches/patch-src_program.cpp:1.1
--- /dev/null   Wed Jul 27 21:14:36 2016
+++ pkgsrc/games/violetland/patches/patch-src_program.cpp       Wed Jul 27 21:14:36 2016
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_program.cpp,v 1.1 2016/07/27 21:14:36 kamil Exp $
+
+Add NetBSD support.
+
+--- src/program.cpp.orig       2016-07-27 09:04:07.000000000 +0000
++++ src/program.cpp
+@@ -244,8 +244,11 @@ void printVersion() {
+       env = "GNU/LINUX";
+ #endif //linux
+ #ifdef __FreeBSD__
+-      env = "BSD";
++      env = "FREEBSD";
+ #endif //__FreeBSD__
++#ifdef __NetBSD__
++      env = "NETBSD";
++#endif //__NetBSD__
+ #ifdef __APPLE__
+       env = "MAC";
+ #endif //__APPLE__
Index: pkgsrc/games/violetland/patches/patch-src_system_utility_FileUtility.cpp
diff -u /dev/null pkgsrc/games/violetland/patches/patch-src_system_utility_FileUtility.cpp:1.1
--- /dev/null   Wed Jul 27 21:14:36 2016
+++ pkgsrc/games/violetland/patches/patch-src_system_utility_FileUtility.cpp    Wed Jul 27 21:14:36 2016
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_system_utility_FileUtility.cpp,v 1.1 2016/07/27 21:14:36 kamil Exp $
+
+Add NetBSD support.
+
+--- src/system/utility/FileUtility.cpp.orig    2016-07-27 09:04:07.000000000 +0000
++++ src/system/utility/FileUtility.cpp
+@@ -66,7 +66,7 @@ FileUtility::FileUtility(char *argPath) 
+       m_resPath = m_appPath;
+       m_usrPath = m_resPath;
+ #endif //_WIN32
+-#if defined linux || defined __FreeBSD__ || defined __OpenBSD__
++#if defined linux || defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__
+ #ifndef INSTALL_PREFIX
+ #define INSTALL_PREFIX "/usr/local";
+ #endif //INSTALL_PREFIX
+@@ -83,7 +83,7 @@ FileUtility::FileUtility(char *argPath) 
+       mkdir(m_usrPath.string().c_str(), S_IRWXU | S_IRGRP | S_IROTH);
+       m_usrPath /= "violetland";
+       mkdir(m_usrPath.string().c_str(), S_IRWXU | S_IRGRP | S_IROTH);
+-#endif //linux || __FreeBSD__
++#endif //linux || __FreeBSD__ || __NetBSD__
+       traceResPath();
+ }
+ 



Home | Main Index | Thread Index | Old Index