View | Details | Raw Unified | Return to bug 167227
Collapse All | Expand All

(-)xgalaga/Makefile (-4 / +7 lines)
Lines 6-30 Link Here
6
#
6
#
7
7
8
PORTNAME=	xgalaga
8
PORTNAME=	xgalaga
9
PORTVERSION=	2.0.34
9
PORTVERSION=	2.1.1.0
10
PORTREVISION=	3
11
CATEGORIES=	games
10
CATEGORIES=	games
12
MASTER_SITES=	http://people.FreeBSD.org/~linimon/public_distfiles/
11
MASTER_SITES=	http://downloads.sourceforge.net/project/xgalaga/${PORTVERSION}/
13
12
14
MAINTAINER=	turutani@scphys.kyoto-u.ac.jp
13
MAINTAINER=	turutani@scphys.kyoto-u.ac.jp
15
COMMENT=	Galaga resurrected on X
14
COMMENT=	Galaga resurrected on X
16
15
16
USE_GMAKE=	yes
17
USE_XORG=	xpm xmu
17
USE_XORG=	xpm xmu
18
HAS_CONFIGURE=	yes
18
HAS_CONFIGURE=	yes
19
MAN6=		xgalaga.6x
20
MANCOMPRESSED=	yes
19
# xgalaga has a very strange usage of these variables...
21
# xgalaga has a very strange usage of these variables...
20
CONFIGURE_ARGS=	--prefix=${LOCALBASE}/lib/X11/xgalaga \
22
CONFIGURE_ARGS=	--prefix=${LOCALBASE}/lib/X11/xgalaga \
23
		--mandir=${LOCALBASE}/man \
21
		--exec_prefix=${LOCALBASE}/bin
24
		--exec_prefix=${LOCALBASE}/bin
22
25
23
OPTIONS=	SOUND	"Sound support"	on
26
OPTIONS=	SOUND	"Sound support"	on
24
27
25
.include <bsd.port.pre.mk>
28
.include <bsd.port.pre.mk>
26
29
27
.if !defined(WITHOUT_SOUND) && !defined(NOSOUND)
30
.if defined(WITHOUT_SOUND) || defined(NOSOUND)
28
CONFIGURE_ARGS+=	--without-sound
31
CONFIGURE_ARGS+=	--without-sound
29
PLIST_SUB=	SOUND="@comment "
32
PLIST_SUB=	SOUND="@comment "
30
.else
33
.else
(-)xgalaga/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (xgalaga-2.0.34.tar.gz) = 070ad0bd3c3b2e04723f185d26b1aea4f7564677e74e865628f1933c47f37a00
1
SHA256 (xgalaga-2.1.1.0.tar.gz) = adcfbfd04876f5197c60b37af0ad89a629e553d6e09314a4b3b5c70f6c634f9b
2
SIZE (xgalaga-2.0.34.tar.gz) = 314189
2
SIZE (xgalaga-2.1.1.0.tar.gz) = 331621
(-)xgalaga/files/patch-aa (-13 / +15 lines)
Lines 1-13 Link Here
1
--- Makefile.in.orig	Fri Sep 20 03:24:43 2002
1
--- Makefile.in.orig	2008-03-06 06:58:16.000000000 +0900
2
+++ Makefile.in	Fri Sep 20 03:25:29 2002
2
+++ Makefile.in	2012-04-23 23:27:39.000000000 +0900
3
@@ -46,7 +46,9 @@
3
@@ -15,9 +15,9 @@
4
 	./mkinstalldirs $(bindir)
4
 bindir = $(exec_prefix)
5
 	./mkinstalldirs $(prefix)
5
 libdir = $(prefix)/lib
6
 	$(INSTALL) $(TARGET) $(bindir)/$(TARGET)
6
 infodir = $(prefix)/info
7
-	$(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV)
7
-#mandir = @mandir@
8
+	if [ "X$(SOUNDSRV)" != "X" ]; then \
8
-mandir = /usr/share/man
9
+		$(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV); \
9
-creditsfile = @CREDITSFILE@
10
+	fi
10
+mandir = @mandir@
11
 	./mkinstalldirs $(prefix)/sounds
11
+#mandir = /usr/share/man
12
 	./mkinstalldirs $(prefix)/levels
12
+creditsfile = $(prefix)/CREDITS
13
 	for i in levels/*.xgl; do $(INSTALL) $$i $(prefix)/$$i ; done
13
 distversion = 2.1.1.0
14
 
15
 @SET_MAKE@
(-)xgalaga/files/patch-ac (-9 / +9 lines)
Lines 1-11 Link Here
1
--- configure.orig	Thu Apr 30 07:19:38 1998
1
--- configure.orig	2008-03-06 06:58:16.000000000 +0900
2
+++ configure	Thu May 28 10:23:39 1998
2
+++ configure	2012-04-23 14:21:29.000000000 +0900
3
@@ -1805,7 +1808,7 @@
3
@@ -4544,7 +4544,7 @@
4
   fi
5
 fi
6
 
4
 
5
 { echo "$as_me:$LINENO: host os is detected as $host_os " >&5
6
 echo "$as_me: host os is detected as $host_os " >&6;}
7
-if test -n "$sound-type"; then
7
-if test -n "$sound-type"; then
8
+if test "$sound_type" != "no" ; then
8
+if test "$sound-type" != "no" ; then
9
   case $host_alias in
9
   case $host_os in
10
     *linux*) 
10
     *linux*)
11
 	sound_type=native
11
       sound_type=native
(-)xgalaga/files/patch-ad (-15 lines)
Lines 1-15 Link Here
1
--- struct.h.orig	Sun Oct 22 00:36:24 2000
2
+++ struct.h	Sun Oct 22 00:37:03 2000
3
@@ -1,3 +1,6 @@
4
+#ifndef __struct_h__
5
+#define __struct_h__
6
+
7
 #include "Wlib.h"
8
 
9
 struct torp {
10
@@ -38,3 +41,5 @@
11
     int count;
12
     W_Image *shape;
13
 };
14
+
15
+#endif /* __struct_h__ */
(-)xgalaga/files/patch-ae (-12 / +4 lines)
Lines 1-14 Link Here
1
--- main.c.orig	Mon May 11 15:52:59 1998
1
--- main.c.orig	2008-03-06 06:58:16.000000000 +0900
2
+++ main.c	Wed Jun 27 02:53:46 2007
2
+++ main.c	2012-04-23 14:26:03.000000000 +0900
3
@@ -7,6 +7,7 @@
3
@@ -836,6 +836,7 @@
4
 
5
 #include <stdio.h>
6
 #include <stdlib.h>
7
+#include <string.h>
8
 #ifdef HAVE_SYS_TIME_H
9
 #include <sys/time.h>
10
 #endif
11
@@ -779,6 +780,7 @@
12
     if(gameOver) {
4
     if(gameOver) {
13
         while(W_EventsPending()) {
5
         while(W_EventsPending()) {
14
             W_NextEvent(&wev);
6
             W_NextEvent(&wev);
Lines 16-22 Link Here
16
         
8
         
17
 	    if(gameOver)
9
 	    if(gameOver)
18
 	      mouseControl = 1;
10
 	      mouseControl = 1;
19
@@ -826,6 +828,7 @@
11
@@ -922,6 +923,7 @@
20
 
12
 
21
     while(W_EventsPending()) {
13
     while(W_EventsPending()) {
22
         W_NextEvent(&wev);
14
         W_NextEvent(&wev);
(-)xgalaga/files/patch-data.h (-8 lines)
Lines 1-8 Link Here
1
--- data.h.orig	Mon May 11 15:37:19 1998
2
+++ data.h	Wed Jun 27 02:50:31 2007
3
@@ -1,4 +1,5 @@
4
 #include "Wlib.h"
5
+#include "struct.h"
6
 
7
 extern W_Window gal, baseWin;
8
 
(-)xgalaga/files/patch-libsprite__data.h (-10 lines)
Lines 1-10 Link Here
1
--- libsprite/data.h.orig	Sun Apr 12 15:03:22 1998
2
+++ libsprite/data.h	Wed Jun 27 02:49:24 2007
3
@@ -20,6 +20,7 @@
4
 
5
 #include "Wlib.h"
6
 #include "defs.h"
7
+#include "struct.h"
8
 
9
 extern int	nplanes;
10
 extern int	xpmORplanes ;
(-)xgalaga/files/patch-score.c (-10 lines)
Lines 1-10 Link Here
1
--- score.c.orig	Thu Apr 30 14:11:58 1998
2
+++ score.c	Wed Jun 27 02:55:23 2007
3
@@ -4,6 +4,7 @@
4
 
5
 #include <config.h>
6
 #include <stdio.h>
7
+#include <string.h>
8
 #include "Wlib.h"
9
 #include "images.h"
10
 #include "data.h"
(-)xgalaga/files/patch-titile.c (-10 lines)
Lines 1-10 Link Here
1
--- title.c.orig	Mon May 11 15:52:59 1998
2
+++ title.c	Wed Jun 27 02:54:45 2007
3
@@ -4,6 +4,7 @@
4
 #include <config.h>
5
 
6
 #include <stdio.h>
7
+#include <string.h>
8
 #include "Wlib.h"
9
 #include "defs.h"
10
 #include "images.h"
(-)xgalaga/files/patch-title.c (+10 lines)
Line 0 Link Here
1
--- title.c.orig	2008-03-06 06:58:16.000000000 +0900
2
+++ title.c	2012-04-23 14:28:39.000000000 +0900
3
@@ -5,6 +5,7 @@
4
 
5
 #include <stdio.h>
6
 #include <stdlib.h>
7
+#include <string.h>
8
 #ifdef HAVE_FCNTL_H
9
 # include <fcntl.h>
10
 #endif
(-)xgalaga/pkg-plist (-1 / +2 lines)
Lines 1-4 Link Here
1
bin/xgalaga
1
bin/xgalaga
2
bin/xgalaga-hyperspace
2
%%SOUND%%lib/X11/xgalaga/xgal.sndsrv.freebsd
3
%%SOUND%%lib/X11/xgalaga/xgal.sndsrv.freebsd
3
lib/X11/xgalaga/sounds/ddloo.raw
4
lib/X11/xgalaga/sounds/ddloo.raw
4
lib/X11/xgalaga/sounds/explode.raw
5
lib/X11/xgalaga/sounds/explode.raw
Lines 23-29 Link Here
23
lib/X11/xgalaga/levels/level13.xgl
24
lib/X11/xgalaga/levels/level13.xgl
24
lib/X11/xgalaga/levels/level14.xgl
25
lib/X11/xgalaga/levels/level14.xgl
25
lib/X11/xgalaga/levels/level15.xgl
26
lib/X11/xgalaga/levels/level15.xgl
26
lib/X11/xgalaga/scores
27
lib/X11/xgalaga/CREDITS
27
@dirrm lib/X11/xgalaga/levels
28
@dirrm lib/X11/xgalaga/levels
28
@dirrm lib/X11/xgalaga/sounds
29
@dirrm lib/X11/xgalaga/sounds
29
@dirrm lib/X11/xgalaga
30
@dirrm lib/X11/xgalaga

Return to bug 167227