pkgsrc-WIP-changes archive

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

brumbrumrally: initial import



Module Name:	pkgsrc-wip
Committed By:	i3enedek <git%xn--rvztrtkrfrgp-bbb7j2b8f0b9d7a21oft.com@localhost>
Pushed By:	i3enedek
Date:		Tue Nov 15 14:30:18 2016 +0000
Changeset:	8c59151506b5639fb26b686acbaaf6cc2d38d8b8

Added Files:
	brumbrumrally/DESCR
	brumbrumrally/Makefile
	brumbrumrally/PLIST
	brumbrumrally/distinfo
	brumbrumrally/patches/patch-Makefile
	brumbrumrally/patches/patch-src_Path.cpp

Log Message:
brumbrumrally: initial import

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8c59151506b5639fb26b686acbaaf6cc2d38d8b8

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

diffstat:
 brumbrumrally/DESCR                      | 16 +++++++++++
 brumbrumrally/Makefile                   | 19 +++++++++++++
 brumbrumrally/PLIST                      | 20 +++++++++++++
 brumbrumrally/distinfo                   |  8 ++++++
 brumbrumrally/patches/patch-Makefile     | 49 ++++++++++++++++++++++++++++++++
 brumbrumrally/patches/patch-src_Path.cpp | 13 +++++++++
 6 files changed, 125 insertions(+)

diffs:
diff --git a/brumbrumrally/DESCR b/brumbrumrally/DESCR
new file mode 100644
index 0000000..5c38bb9
--- /dev/null
+++ b/brumbrumrally/DESCR
@@ -0,0 +1,16 @@
+Brum Brum Rally is a 2D racing game with a new track each time you
+play and support for up to 8 players.
+
+The cars can be controlled using keyboard, mouse or game controllers.
+The tracks are autogenerated on the fly which means you never have
+to be bored playing the same tracks over and over again.
+
+There are three game modes to choose from:
+
+- Single Race and Tournament can be played against the computer or
+  with other human players, on the same computer or over the network
+  (LAN or Internet).
+
+- The Time Trial mode on the other hand is played by one player at
+  a time. The task is to finish the race as fast as possible in order
+  to beat your own best time or end up on the overall top list.
diff --git a/brumbrumrally/Makefile b/brumbrumrally/Makefile
new file mode 100644
index 0000000..9a9b7b6
--- /dev/null
+++ b/brumbrumrally/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	brumbrumrally-0.6
+CATEGORIES=	games
+MASTER_SITES=	http://dataapa.net/brumbrumrally/files/
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://dataapa.net/brumbrumrally
+COMMENT=	Racing game with randomized tracks
+LICENSE=	gnu-gpl-v1
+
+USE_TOOLS+=	gmake pkg-config
+USE_LANGUAGES=	c++
+
+# url2pkg-marker (please do not remove this line.)
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/SDL_image/buildlink3.mk"
+.include "../../net/SDL_net/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/brumbrumrally/PLIST b/brumbrumrally/PLIST
new file mode 100644
index 0000000..ee16aae
--- /dev/null
+++ b/brumbrumrally/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD$
+bin/brumbrumrally
+share/brumbrumrally/COPYRIGHTS
+share/brumbrumrally/fonts/big.font
+share/brumbrumrally/fonts/big.png
+share/brumbrumrally/fonts/small.font
+share/brumbrumrally/fonts/small.png
+share/brumbrumrally/images/car_stat_background.png
+share/brumbrumrally/images/cars.png
+share/brumbrumrally/images/icon.png
+share/brumbrumrally/pointers/arrow.png
+share/brumbrumrally/pointers/cross.png
+share/brumbrumrally/pointers/crosshair.png
+share/brumbrumrally/pointers/dot.png
+share/brumbrumrally/pointers/hand.png
+share/brumbrumrally/pointers/standard.png
+share/brumbrumrally/tilesets/cargo.png
+share/brumbrumrally/tilesets/city.png
+share/brumbrumrally/tilesets/forest.png
+share/brumbrumrally/tilesets/space.png
diff --git a/brumbrumrally/distinfo b/brumbrumrally/distinfo
new file mode 100644
index 0000000..bf7ed5f
--- /dev/null
+++ b/brumbrumrally/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+SHA1 (brumbrumrally-0.6.tar.gz) = dccd1eda6caa7a3054f59a6e652e2b494afbc850
+RMD160 (brumbrumrally-0.6.tar.gz) = d766adce243b95e37969f8de863d060b4f114a80
+SHA512 (brumbrumrally-0.6.tar.gz) = 4a34fc66141f2d0d8aa245c532321b5c9057a46ed6e055f8be0e2165afdc50166581b01fe10d0055fc8fa235a9beb238253dc769c4359e42840b2a3a46240151
+Size (brumbrumrally-0.6.tar.gz) = 150193 bytes
+SHA1 (patch-Makefile) = 3e2df324aa269bf356e77566c8b8b6384b5bf840
+SHA1 (patch-src_Path.cpp) = 126e60e407205dc1a168a1c06f41ba88310b1542
diff --git a/brumbrumrally/patches/patch-Makefile b/brumbrumrally/patches/patch-Makefile
new file mode 100644
index 0000000..c11c27e
--- /dev/null
+++ b/brumbrumrally/patches/patch-Makefile
@@ -0,0 +1,49 @@
+$NetBSD$
+
+--- Makefile.orig	2016-03-23 12:05:46.000000000 +0000
++++ Makefile
+@@ -1,16 +1,16 @@
+ OBJS := $(patsubst %.cpp,%.o,$(wildcard src/*.cpp src/hqx/*.cpp))
+ 
+ DESTDIR = 
+-PREFIX  = /usr/local
++PREFIX  ?= /usr/local
+ DATADIR = $(PREFIX)/share
+ BINDIR  = $(PREFIX)/bin
+ ICONDIR  = $(DATADIR)/pixmaps
+ APPDIR  = $(DATADIR)/applications
+ 
+-CXX = g++
++CXX ?= g++
+ 
+-CXXFLAGS = -Wall -std=c++98 -pedantic `sdl-config --cflags` -pipe
+-all   : CXXFLAGS += -O2 -s -DNDEBUG -fno-threadsafe-statics -march=native -fomit-frame-pointer -ffast-math -fno-exceptions -fno-rtti
++CXXFLAGS = -Wall -std=c++98 -pedantic `sdl-config --cflags`
++all   : CXXFLAGS += -O2 -s -DNDEBUG -fno-threadsafe-statics -fomit-frame-pointer -ffast-math -fno-exceptions -fno-rtti
+ debug : CXXFLAGS += -O0 -g
+ 
+ LDFLAGS = `sdl-config --libs` -lSDL_image -lSDL_net
+@@ -37,7 +37,7 @@ $(EXE): $(OBJS)
+ 	@$(CXX) -MM $(CXXFLAGS) $*.cpp > $*.d
+ 	@mv -f $*.d $*.d.tmp
+ 	@sed -e 's|.*:|$*.o:|' < $*.d.tmp > $*.d
+-	@sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | fmt -1 | \
++	@sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | fmt | \
+ 	  sed -e 's/^ *//' -e 's/$$/:/' >> $*.d
+ 	@rm -f $*.d.tmp
+ 
+@@ -56,10 +56,10 @@ install-data:
+ 	cp -R data/* $(DESTDIR)$(DATADIR)/$(EXE)
+ 
+ install-desktop:
+-	install -d $(DESTDIR)$(ICONDIR)
+-	cp data/images/icon.png $(DESTDIR)$(ICONDIR)/$(EXE).png
+-	install -d $(DESTDIR)$(APPDIR)
+-	cp desktop $(DESTDIR)$(APPDIR)/$(EXE).desktop
++	#install -d $(DESTDIR)$(ICONDIR)
++	#cp data/images/icon.png $(DESTDIR)$(ICONDIR)/$(EXE).png
++	#install -d $(DESTDIR)$(APPDIR)
++	#cp desktop $(DESTDIR)$(APPDIR)/$(EXE).desktop
+ 
+ uninstall: uninstall-exec uninstall-data uninstall-desktop
+ 
diff --git a/brumbrumrally/patches/patch-src_Path.cpp b/brumbrumrally/patches/patch-src_Path.cpp
new file mode 100644
index 0000000..aa6eedb
--- /dev/null
+++ b/brumbrumrally/patches/patch-src_Path.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/Path.cpp.orig	2016-03-23 11:25:18.000000000 +0000
++++ src/Path.cpp
+@@ -237,7 +237,7 @@ Path fetchDataPath()
+ 	}
+ 	else
+ 	{
+-		pathStream << ":/usr/local/share:/usr/share";
++		pathStream << ":/usr/pkg/share:/usr/local/share:/usr/share";
+ 	}
+ 	
+ 	std::string strPath;


Home | Main Index | Thread Index | Old Index