Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2014 13:17:29 +0900 (JST)
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        turutani@scphys.kyoto-u.ac.jp
Subject:   ports/186318: stagify games/xgalaga
Message-ID:  <201402010417.s114HT4J025213@h120.65.226.10.32118.vlan.kuins.net>
Resent-Message-ID: <201402010420.s114K078003549@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186318
>Category:       ports
>Synopsis:       stagify games/xgalaga
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 01 04:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 8.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 8.4-PRERELEASE FreeBSD 8.4-PRERELEASE #26 r249149: Fri Apr 5 22:13:25 JST 2013 turutani@h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	stagify.
	
>How-To-Repeat:
	
>Fix:

diff -urN xgalaga.orig/Makefile xgalaga/Makefile
--- xgalaga.orig/Makefile	2014-01-23 02:00:46.000000000 +0900
+++ xgalaga/Makefile	2014-02-01 11:58:07.000000000 +0900
@@ -20,17 +20,13 @@
 		--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 -urN xgalaga.orig/files/patch-aa xgalaga/files/patch-aa
--- xgalaga.orig/files/patch-aa	2014-01-23 02:40:44.000000000 +0900
+++ xgalaga/files/patch-aa	2014-02-01 11:53:44.000000000 +0900
@@ -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 -urN xgalaga.orig/pkg-plist xgalaga/pkg-plist
--- xgalaga.orig/pkg-plist	2014-01-23 00:16:56.000000000 +0900
+++ xgalaga/pkg-plist	2014-02-01 11:55:48.000000000 +0900
@@ -25,6 +25,7 @@
 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
	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402010417.s114HT4J025213>