summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-09-19 19:53:36 +0000
committerijliao <ijliao@FreeBSD.org>2002-09-19 19:53:36 +0000
commit094f0a5f32757e6f15b069611f1602a0adb91503 (patch)
treea528eeee0ca3d7b2515b306d386dde3edc65b9a9 /games
parentc0e1e18d7221a1ab7d4a7484dc800cf64f8755b6 (diff)
downloadFreeBSD-ports-094f0a5f32757e6f15b069611f1602a0adb91503.zip
FreeBSD-ports-094f0a5f32757e6f15b069611f1602a0adb91503.tar.gz
upgrade to 2.0.34
PR: 42961 Submitted by: Timothy R. Geier <tgeier@speakeasy.net>
Diffstat (limited to 'games')
-rw-r--r--games/xgalaga/Makefile29
-rw-r--r--games/xgalaga/distinfo2
-rw-r--r--games/xgalaga/files/patch-aa22
-rw-r--r--games/xgalaga/pkg-plist1
-rw-r--r--games/xgalaga/pkg-plist.nosound1
5 files changed, 27 insertions, 28 deletions
diff --git a/games/xgalaga/Makefile b/games/xgalaga/Makefile
index 981365d..cdd9c46 100644
--- a/games/xgalaga/Makefile
+++ b/games/xgalaga/Makefile
@@ -6,17 +6,19 @@
#
PORTNAME= xgalaga
-PORTVERSION= 2.0
-PORTREVISION= 1
+PORTVERSION= 2.0.34
+PORTREVISION= 0
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITES= http://www.cit.uws.edu.au/pub/unix/games/ \
+ http://ftp.yars.free.net/pub/software/unix/games/arcade/ \
+ ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games
MAINTAINER= ports@FreeBSD.org
-HAS_CONFIGURE= yes
USE_X_PREFIX= yes
USE_XPM= yes
+HAS_CONFIGURE= yes
# xgalaga has a very strange usage of these variables...
CONFIGURE_ARGS= --prefix=${X11BASE}/lib/X11/xgalaga \
--exec_prefix=${X11BASE}/bin
@@ -26,14 +28,17 @@ CONFIGURE_ARGS+= --without-sound
PLIST= ${PKGDIR}/pkg-plist.nosound
.else
pre-configure:
- @${ECHO} "*****************************************************"
- @${ECHO} "* Note that you can build a version of xgalaga that *"
- @${ECHO} "* doesn't use the sound driver by typing *"
- @${ECHO} "* \"make -DNOSOUND\" *"
- @${ECHO} "* following a \"make clean\". *"
- @${ECHO} "* Try it if you don't have a sound card and are *"
- @${ECHO} "* getting core dumps. *"
- @${ECHO} "*****************************************************"
+ @${ECHO_CMD} "*****************************************************"
+ @${ECHO_CMD} "* Note that you can build a version of xgalaga that *"
+ @${ECHO_CMD} "* doesn't use the sound driver by typing *"
+ @${ECHO_CMD} "* \"make -DNOSOUND\" *"
+ @${ECHO_CMD} "* following a \"make clean\". *"
+ @${ECHO_CMD} "* Try it if you don't have a sound card and are *"
+ @${ECHO_CMD} "* getting core dumps. *"
+ @${ECHO_CMD} "*****************************************************"
.endif
+post-install:
+ @${STRIP_CMD} ${PREFIX}/bin/xgalaga
+
.include <bsd.port.mk>
diff --git a/games/xgalaga/distinfo b/games/xgalaga/distinfo
index 2eabe4d..49abba7 100644
--- a/games/xgalaga/distinfo
+++ b/games/xgalaga/distinfo
@@ -1 +1 @@
-MD5 (xgalaga-2.0.tar.gz) = ffc1d86b0757a57d23d1cc971014cc43
+MD5 (xgalaga-2.0.34.tar.gz) = 9f7ee685e9c4741b5f0edc3f91df9510
diff --git a/games/xgalaga/files/patch-aa b/games/xgalaga/files/patch-aa
index acc6404..c7571d0 100644
--- a/games/xgalaga/files/patch-aa
+++ b/games/xgalaga/files/patch-aa
@@ -1,21 +1,13 @@
---- Makefile.in.orig Sun Apr 12 03:10:46 1998
-+++ Makefile.in Sun Jun 20 18:59:18 1999
-@@ -43,11 +43,14 @@
- $(CC) $(LDFLAGS) -o $(SOUNDSRV) $(SOUNDOBJS) $(SOUNDLIBS)
-
- install: all
-- mkinstalldirs $(bindir)
-+ ./mkinstalldirs $(bindir)
-+ ./mkinstalldirs $(prefix)
+--- Makefile.in.orig Fri Sep 20 03:24:43 2002
++++ Makefile.in Fri Sep 20 03:25:29 2002
+@@ -46,7 +46,9 @@
+ ./mkinstalldirs $(bindir)
+ ./mkinstalldirs $(prefix)
$(INSTALL) $(TARGET) $(bindir)/$(TARGET)
- $(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV)
-- mkinstalldirs $(prefix)/sounds
-- mkinstalldirs $(prefix)/levels
+ if [ "X$(SOUNDSRV)" != "X" ]; then \
+ $(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV); \
+ fi
-+ ./mkinstalldirs $(prefix)/sounds
-+ ./mkinstalldirs $(prefix)/levels
+ ./mkinstalldirs $(prefix)/sounds
+ ./mkinstalldirs $(prefix)/levels
for i in levels/*.xgl; do $(INSTALL) $$i $(prefix)/$$i ; done
- for i in sounds/*.raw; do $(INSTALL) $$i $(prefix)/$$i ; done
-
diff --git a/games/xgalaga/pkg-plist b/games/xgalaga/pkg-plist
index 5f5d255..5d1da3e 100644
--- a/games/xgalaga/pkg-plist
+++ b/games/xgalaga/pkg-plist
@@ -23,6 +23,7 @@ lib/X11/xgalaga/levels/level12.xgl
lib/X11/xgalaga/levels/level13.xgl
lib/X11/xgalaga/levels/level14.xgl
lib/X11/xgalaga/levels/level15.xgl
+lib/X11/xgalaga/scores
@dirrm lib/X11/xgalaga/levels
@dirrm lib/X11/xgalaga/sounds
@dirrm lib/X11/xgalaga
diff --git a/games/xgalaga/pkg-plist.nosound b/games/xgalaga/pkg-plist.nosound
index 8a4495d..1908de8 100644
--- a/games/xgalaga/pkg-plist.nosound
+++ b/games/xgalaga/pkg-plist.nosound
@@ -22,6 +22,7 @@ lib/X11/xgalaga/levels/level12.xgl
lib/X11/xgalaga/levels/level13.xgl
lib/X11/xgalaga/levels/level14.xgl
lib/X11/xgalaga/levels/level15.xgl
+lib/X11/xgalaga/scores
@dirrm lib/X11/xgalaga/levels
@dirrm lib/X11/xgalaga/sounds
@dirrm lib/X11/xgalaga
OpenPOWER on IntegriCloud