public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-arcade/berusky/files: berusky-1.7.1-gentoo.patch
@ 2015-03-12 20:32 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; only message in thread
From: Michael Sterrett (mr_bones_) @ 2015-03-12 20:32 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    15/03/12 20:32:34

  Added:                berusky-1.7.1-gentoo.patch
  Log:
  version bump
  
  (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.1                  games-arcade/berusky/files/berusky-1.7.1-gentoo.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/berusky/files/berusky-1.7.1-gentoo.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/berusky/files/berusky-1.7.1-gentoo.patch?rev=1.1&content-type=text/plain

Index: berusky-1.7.1-gentoo.patch
===================================================================
--- Makefile.am
+++ Makefile.am
@@ -5,8 +5,7 @@
 
 SUBDIRS = po src data
 
-beruskydocdir = ${prefix}/doc/berusky
-beruskydoc_DATA = \
+EXTRA_DIST = \
 	README\
 	COPYING\
 	AUTHORS\
@@ -15,10 +14,6 @@
 	NEWS\
 	TODO
 
-EXTRA_DIST = $(beruskydoc_DATA)
-
-
-
 # Copy all the spec files. Of cource, only one is actually used.
 dist-hook:
 	for specfile in *.spec; do \
--- data/Makefile.am
+++ data/Makefile.am
@@ -3,10 +3,3 @@
 ## Created by Anjuta - will be overwritten
 ## If you don't want it to overwrite it,
 ## 	Please disable it in the Anjuta project configuration
-
-berusky_datadir = $(prefix)/@NO_PREFIX_PACKAGE_DATA_DIR@/@PACKAGE@
-
-berusky_data_DATA = \
-	berusky.ini
-
-EXTRA_DIST = $(berusky_data_DATA)
--- berusky.ini
+++ berusky.ini
@@ -1,9 +1,9 @@
 # Configuration for berusky game
 
 # Game data location
-level_data = /usr/share/berusky/Levels
-game_data = /usr/share/berusky/GameData
-graphics_data = /usr/share/berusky/Graphics
+level_data = @GENTOO_DATADIR@/Levels
+game_data = @GENTOO_DATADIR@/GameData
+graphics_data = @GENTOO_DATADIR@/Graphics
 
 # Graphics settings for game and editor
 # game runs in 640x480
@@ -17,7 +17,7 @@
 
 # Game binary & tmp dir
 # they're used by editor for "run level" command
-game_binary = /usr/bin/berusky
+game_binary = @GENTOO_BINDIR@/berusky
 tmp_data = /var/tmp
 
 # Dir for users levels (it's the default level dir for level editor)
--- src/defines.h
+++ src/defines.h
@@ -446,7 +446,7 @@
 #define INI_USER_DIRECTORY "~/.berusky"
 #define INI_USER_LEVELS    "~/.berusky/User"
 #define INI_USER_PROFILES  "~/.berusky/Profiles"
-#define INI_FILE_GLOBAL    "/var/games/berusky/"INI_FILE_NAME
+#define INI_FILE_GLOBAL    "@GENTOO_DATADIR@/"INI_FILE_NAME
 #define INI_FILE_USER      "~/.berusky/"INI_FILE_NAME
 #define INI_FILE_LOCAL     "./"INI_FILE_NAME
 #elif WINDOWS





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-12 20:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-12 20:32 [gentoo-commits] gentoo-x86 commit in games-arcade/berusky/files: berusky-1.7.1-gentoo.patch Michael Sterrett (mr_bones_)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox