diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2013-10-28 20:31:53 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2013-10-28 20:31:53 +0800 |
commit | 607a44015c0ec76cabfcd64e4ce15867dca6f175 (patch) | |
tree | 5323cde1af6c92bf952942442966e6a7ab27744d | |
parent | 2c9fa69daad526041facca4d07453177f689aa34 (diff) | |
download | freebsd-ports-gnome-607a44015c0ec76cabfcd64e4ce15867dca6f175.tar.gz freebsd-ports-gnome-607a44015c0ec76cabfcd64e4ce15867dca6f175.tar.zst freebsd-ports-gnome-607a44015c0ec76cabfcd64e4ce15867dca6f175.zip |
Support staging.
-rw-r--r-- | games/bloboats/Makefile | 3 | ||||
-rw-r--r-- | games/bloboats/files/patch-Makefile | 25 |
2 files changed, 25 insertions, 3 deletions
diff --git a/games/bloboats/Makefile b/games/bloboats/Makefile index e2319aed2b42..700df10cd231 100644 --- a/games/bloboats/Makefile +++ b/games/bloboats/Makefile @@ -15,7 +15,6 @@ USES= gmake USE_SDL= mixer image net sdl USE_GL= yes -MAKE_ENV+= DATADIR="${DATADIR}" +MAKE_ENV+= DATADIR="${DATADIR}" STAGEDIR=${STAGEDIR} -NO_STAGE= yes .include <bsd.port.mk> diff --git a/games/bloboats/files/patch-Makefile b/games/bloboats/files/patch-Makefile index 9c224e4639f8..03c4c7af052a 100644 --- a/games/bloboats/files/patch-Makefile +++ b/games/bloboats/files/patch-Makefile @@ -1,5 +1,5 @@ --- ./Makefile.orig 2010-11-23 20:27:16.000000000 +0100 -+++ ./Makefile 2010-11-24 10:56:25.000000000 +0100 ++++ ./Makefile 2013-10-28 13:29:56.337790819 +0100 @@ -7,16 +7,13 @@ ### Installation directory (Installation prefix) # If you don't have root privileges, set this to /home/tentacleman/bloboats/ @@ -34,3 +34,26 @@ ### SDL-Config in your system +@@ -154,14 +151,14 @@ + echo "#define DEBUG $(DEBUG)" >> src/compiling_settings.h + + install: +- mkdir -p $(BINARYDIR)/ +- mkdir -p $(CONFIGDIR)/ +- cp bloboats.dirs $(CONFIGDIR)/ +- mkdir -p $(DATADIR)/ +- cp -R data/* $(DATADIR)/ +- cp bin/$(BINARY) $(BINARYDIR)/ +- chmod -R 744 $(DATADIR) +- chmod 755 `find $(DATADIR) -type d` ++ mkdir -p $(STAGEDIR)$(BINARYDIR)/ ++ mkdir -p $(STAGEDIR)$(CONFIGDIR)/ ++ cp bloboats.dirs $(STAGEDIR)$(CONFIGDIR)/ ++ mkdir -p $(STAGEDIR)$(DATADIR)/ ++ cp -R data/* $(STAGEDIR)$(DATADIR)/ ++ cp bin/$(BINARY) $(STAGEDIR)$(BINARYDIR)/ ++ chmod -R 744 $(STAGEDIR)$(DATADIR) ++ chmod 755 `find $(STAGEDIR)$(DATADIR) -type d` + + uninstall: + rm -f $(CONFIGDIR)/bloboats.dirs |