From 1bd6bcee7f7a9cda2c6cac420b81e1b12ac638fe Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Thu, 19 Sep 2002 19:53:36 +0000 Subject: upgrade to 2.0.34 PR: 42961 Submitted by: Timothy R. Geier --- games/xgalaga/Makefile | 29 +++++++++++++++++------------ games/xgalaga/distinfo | 2 +- games/xgalaga/files/patch-aa | 22 +++++++--------------- games/xgalaga/pkg-plist | 1 + games/xgalaga/pkg-plist.nosound | 1 + 5 files changed, 27 insertions(+), 28 deletions(-) diff --git a/games/xgalaga/Makefile b/games/xgalaga/Makefile index 981365d42c8c..cdd9c46a940f 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 diff --git a/games/xgalaga/distinfo b/games/xgalaga/distinfo index 2eabe4d40279..49abba723d63 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 acc64041e7e4..c7571d08e812 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 5f5d255e84ec..5d1da3e9dcb0 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 8a4495d65d74..1908de8e926d 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 -- cgit v1.2.3