aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-12-25 22:55:33 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-12-25 22:55:33 +0800
commit7246dc0436f2b7f76b19e5b767c3f1b74272ac8b (patch)
tree98a56a1265de7ad59e628e9613e4bf5b507f47c1 /games
parent9b47a3197d6bdd3f2cff7e0e91b58be0b5fccd5b (diff)
downloadfreebsd-ports-gnome-7246dc0436f2b7f76b19e5b767c3f1b74272ac8b.tar.gz
freebsd-ports-gnome-7246dc0436f2b7f76b19e5b767c3f1b74272ac8b.tar.zst
freebsd-ports-gnome-7246dc0436f2b7f76b19e5b767c3f1b74272ac8b.zip
- Fix broken upstream staging support
Diffstat (limited to 'games')
-rw-r--r--games/instead/Makefile2
-rw-r--r--games/instead/files/patch-desktop-Makefile11
-rw-r--r--games/instead/files/patch-src-instead-Makefile11
-rw-r--r--games/instead/files/patch-src-sdl-instead-Makefile11
4 files changed, 34 insertions, 1 deletions
diff --git a/games/instead/Makefile b/games/instead/Makefile
index fb5367011e1c..7490bfcbe7d7 100644
--- a/games/instead/Makefile
+++ b/games/instead/Makefile
@@ -3,7 +3,7 @@
PORTNAME= instead
PORTVERSION= 1.9.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/instead/instead/${PORTVERSION}/ \
http://mirror.amdmi3.ru/distfiles/
diff --git a/games/instead/files/patch-desktop-Makefile b/games/instead/files/patch-desktop-Makefile
new file mode 100644
index 000000000000..293b2547a10e
--- /dev/null
+++ b/games/instead/files/patch-desktop-Makefile
@@ -0,0 +1,11 @@
+--- desktop/Makefile.orig 2013-06-23 15:26:58.000000000 +0400
++++ desktop/Makefile 2013-12-25 18:47:41.313221986 +0400
+@@ -7,7 +7,7 @@
+ all: instead.desktop
+
+ instead.desktop: instead.desktop.in
+- cat instead.desktop.in | sed -e "s|@BIN|$(BIN)|g" > instead.desktop
++ cat instead.desktop.in | sed -e "s|@BIN|$(BIN:${DESTDIR}%=%)|g" > instead.desktop
+
+ install:
+ $(INSTALLD) $(DESTDIR)$(PREFIX)/share/applications
diff --git a/games/instead/files/patch-src-instead-Makefile b/games/instead/files/patch-src-instead-Makefile
new file mode 100644
index 000000000000..e86fa0fa9fd6
--- /dev/null
+++ b/games/instead/files/patch-src-instead-Makefile
@@ -0,0 +1,11 @@
+--- src/instead/Makefile.orig 2013-06-23 15:26:48.000000000 +0400
++++ src/instead/Makefile 2013-12-25 18:45:45.639220432 +0400
+@@ -4,7 +4,7 @@
+
+ all: instead
+ instead: instead.c rline.c
+- $(CC) $(CFLAGS) -DSTEAD_PATH=\"${STEADPATH}/\" instead.c $(LUA_CFLAGS) rline.c $(LUA_LFLAGS) -lncurses -lreadline -o instead
++ $(CC) $(CFLAGS) -DSTEAD_PATH=\"${STEADPATH:${DESTDIR}%=%}/\" instead.c $(LUA_CFLAGS) rline.c $(LUA_LFLAGS) -lncurses -lreadline -o instead
+ clean:
+ $(RM) -rf *.o instead
+ install:
diff --git a/games/instead/files/patch-src-sdl-instead-Makefile b/games/instead/files/patch-src-sdl-instead-Makefile
new file mode 100644
index 000000000000..8d208f40872c
--- /dev/null
+++ b/games/instead/files/patch-src-sdl-instead-Makefile
@@ -0,0 +1,11 @@
+--- src/sdl-instead/Makefile.orig 2013-06-23 15:26:49.000000000 +0400
++++ src/sdl-instead/Makefile 2013-12-25 18:46:16.823227850 +0400
+@@ -1,7 +1,7 @@
+ include ../../Rules.make
+ include ../../config.make
+
+-CFLAGS += $(SDL_CFLAGS) $(LUA_CFLAGS) $(ZLIB_CFLAGS) $(EXTRA_CFLAGS) -DLANG_PATH=\"${LANGPATH}/\" -DSTEAD_PATH=\"${STEADPATH}/\" -DGAMES_PATH=\"${GAMESPATH}/\" -DTHEMES_PATH=\"${THEMESPATH}/\" -DVERSION=\"$(VERSION)\" -DICON_PATH=\"${ICONPATH}/\"
++CFLAGS += $(SDL_CFLAGS) $(LUA_CFLAGS) $(ZLIB_CFLAGS) $(EXTRA_CFLAGS) -DLANG_PATH=\"${LANGPATH:${DESTDIR}%=%}/\" -DSTEAD_PATH=\"${STEADPATH:${DESTDIR}%=%}/\" -DGAMES_PATH=\"${GAMESPATH:${DESTDIR}%=%}/\" -DTHEMES_PATH=\"${THEMESPATH:${DESTDIR}%=%}/\" -DVERSION=\"$(VERSION)\" -DICON_PATH=\"${ICONPATH:${DESTDIR}%=%}/\"
+
+ LDFLAGS += $(SDL_LFLAGS) $(LUA_LFLAGS) $(ZLIB_LFLAGS) $(EXTRA_LDFLAGS)
+