svn commit: r331848 - in head/games/bloboats: . files
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Oct 28 12:31:54 UTC 2013
Author: ehaupt
Date: Mon Oct 28 12:31:53 2013
New Revision: 331848
URL: http://svnweb.freebsd.org/changeset/ports/331848
Log:
Support staging.
Modified:
head/games/bloboats/Makefile
head/games/bloboats/files/patch-Makefile
Modified: head/games/bloboats/Makefile
==============================================================================
--- head/games/bloboats/Makefile Mon Oct 28 12:24:48 2013 (r331847)
+++ head/games/bloboats/Makefile Mon Oct 28 12:31:53 2013 (r331848)
@@ -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>
Modified: head/games/bloboats/files/patch-Makefile
==============================================================================
--- head/games/bloboats/files/patch-Makefile Mon Oct 28 12:24:48 2013 (r331847)
+++ head/games/bloboats/files/patch-Makefile Mon Oct 28 12:31:53 2013 (r331848)
@@ -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
More information about the svn-ports-all
mailing list