aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-02-02 03:56:55 +0800
committerpawel <pawel@FreeBSD.org>2014-02-02 03:56:55 +0800
commitcd4b7df69cb8da4486e15d0f117ea83457577eb6 (patch)
tree4823b7d99cf5cd545217c044a50104f039d58606
parent7c0f41e2d7bda0fa17b0358af18453da472e67b1 (diff)
downloadfreebsd-ports-gnome-cd4b7df69cb8da4486e15d0f117ea83457577eb6.tar.gz
freebsd-ports-gnome-cd4b7df69cb8da4486e15d0f117ea83457577eb6.tar.zst
freebsd-ports-gnome-cd4b7df69cb8da4486e15d0f117ea83457577eb6.zip
Stage support
PR: ports/186318 Submitted by: maintainer
-rw-r--r--games/xgalaga/Makefile6
-rw-r--r--games/xgalaga/files/patch-aa13
-rw-r--r--games/xgalaga/pkg-plist1
3 files changed, 14 insertions, 6 deletions
diff --git a/games/xgalaga/Makefile b/games/xgalaga/Makefile
index f8ab4791678a..99dcc970a0c4 100644
--- a/games/xgalaga/Makefile
+++ b/games/xgalaga/Makefile
@@ -20,17 +20,13 @@ CONFIGURE_ARGS= --prefix=${LOCALBASE}/lib/X11/xgalaga \
--mandir=${LOCALBASE}/man \
--exec_prefix=${LOCALBASE}/bin
-MAN6= xgalaga.6x
-MANCOMPRESSED= yes
-
OPTIONS_DEFINE= SOUND
OPTIONS_DEFAULT= SOUND
OPTIONS_SUB= yes
SOUND_CONFIGURE_OFF= --without-sound
-NO_STAGE= yes
post-install:
- @${STRIP_CMD} ${PREFIX}/bin/xgalaga
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xgalaga
.include <bsd.port.mk>
diff --git a/games/xgalaga/files/patch-aa b/games/xgalaga/files/patch-aa
index a66e9ae2487b..319d89a59ba6 100644
--- a/games/xgalaga/files/patch-aa
+++ b/games/xgalaga/files/patch-aa
@@ -1,5 +1,5 @@
--- Makefile.in.orig 2008-03-06 06:58:16.000000000 +0900
-+++ Makefile.in 2012-04-23 23:27:39.000000000 +0900
++++ Makefile.in 2014-02-01 11:53:20.000000000 +0900
@@ -15,9 +15,9 @@
bindir = $(exec_prefix)
libdir = $(prefix)/lib
@@ -13,6 +13,17 @@
distversion = 2.1.1.0
@SET_MAKE@
+@@ -65,8 +65,8 @@
+ for i in levels/*.xgl; do $(INSTALL) $$i $(DESTDIR)$(prefix)/$$i ; done
+ for i in sounds/*.raw; do $(INSTALL) $$i $(DESTDIR)$(prefix)/$$i ; done
+ $(INSTALL) CREDITS $(DESTDIR)$(creditsfile)
+- $(INSTALL) xgalaga.6x.gz $(mandir)/man6/xgalaga.6x.gz
+- chmod 644 $(mandir)/man6/xgalaga.6x.gz
++ $(INSTALL) xgalaga.6x.gz $(DESTDIR)$(mandir)/man6/xgalaga.6x.gz
++# chmod 644 $(mandir)/man6/xgalaga.6x.gz
+ # touch $(prefix)/scores
+ # chmod 666 $(prefix)/scores
+ # chown ${GAMEOWN}:${GAMEGRP} $(prefix)/scores
@@ -74,14 +74,14 @@
# chmod ${GAMEMODE} $(bindir)/$(TARGET)
# chmod ${GAMEDATAMODE} $(prefix)/scores
diff --git a/games/xgalaga/pkg-plist b/games/xgalaga/pkg-plist
index 3a8c78b4c854..fbc05b052ce7 100644
--- a/games/xgalaga/pkg-plist
+++ b/games/xgalaga/pkg-plist
@@ -25,6 +25,7 @@ lib/X11/xgalaga/levels/level13.xgl
lib/X11/xgalaga/levels/level14.xgl
lib/X11/xgalaga/levels/level15.xgl
lib/X11/xgalaga/CREDITS
+man/man6/xgalaga.6x.gz
@dirrm lib/X11/xgalaga/levels
@dirrm lib/X11/xgalaga/sounds
@dirrm lib/X11/xgalaga