diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 1998-05-28 07:39:25 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 1998-05-28 07:39:25 +0000 |
commit | 6d45df077a8c3bf178754d69dd706285dc33b9de (patch) | |
tree | 3b3b78c51e6d568f0173ee162bcea9ef25882687 /games/xgalaga | |
parent | 65034b60906b63fa79ab78ae8b84e2556780a036 (diff) | |
download | ports-6d45df077a8c3bf178754d69dd706285dc33b9de.tar.gz ports-6d45df077a8c3bf178754d69dd706285dc33b9de.zip |
Notes
Diffstat (limited to 'games/xgalaga')
-rw-r--r-- | games/xgalaga/Makefile | 50 | ||||
-rw-r--r-- | games/xgalaga/distinfo | 2 | ||||
-rw-r--r-- | games/xgalaga/files/patch-aa | 68 | ||||
-rw-r--r-- | games/xgalaga/pkg-plist | 21 |
4 files changed, 67 insertions, 74 deletions
diff --git a/games/xgalaga/Makefile b/games/xgalaga/Makefile index 7067467c6bfd..90a8ddbfbacd 100644 --- a/games/xgalaga/Makefile +++ b/games/xgalaga/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: xgalaga -# Version required: 1.6c +# Version required: 2.0 # Date created: 27 August 1995 # Whom: asami # -# $Id: Makefile,v 1.5 1997/09/06 05:32:33 max Exp $ +# $Id: Makefile,v 1.6 1997/12/25 22:29:20 asami Exp $ # -DISTNAME= xgalaga-1.6c +DISTNAME= xgalaga-2.0 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_XCONTRIB} MASTER_SITE_SUBDIR= games @@ -15,30 +15,24 @@ MAINTAINER= ports@FreeBSD.ORG LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm -USE_IMAKE= yes -NO_INSTALL_MANPAGES= yes - -EXTRA_PATCH= patch-ab - -nosound: - @echo "Okay, making a quiet version of xgalaga...." - @cp ${FILESDIR}/${EXTRA_PATCH} ${PATCHDIR} - @${MAKE} ${.MAKEFLAGS} all - -pre-clean: - @rm -f ${PATCHDIR}/${EXTRA_PATCH} - -pre-patch: - @if [ ! -f ${PATCHDIR}/${EXTRA_PATCH} ]; then \ - echo "*****************************************************" ; \ - echo "* Note that you can build a version of xgalaga that *" ; \ - echo "* doesn't use the sound driver by typing *" ; \ - echo "* \"make nosound\" *" ; \ - echo "* following a \"make clean\". *" ; \ - echo "* Try it if you don't have a sound card and are *" ; \ - echo "* getting core dumps. *" ; \ - echo "*****************************************************" ; \ - fi +HAS_CONFIGURE= yes +USE_X11= yes +# xgalaga has a very strange usage of these variables... +CONFIGURE_ARGS= --prefix=${X11BASE}/lib/X11/xgalaga \ + --exec_prefix=${X11BASE}/bin + +.if defined(NOSOUND) +CONFIGURE_ARGS+= --without-sound +.endif + +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} "*****************************************************" .include <bsd.port.mk> - diff --git a/games/xgalaga/distinfo b/games/xgalaga/distinfo index d67206f21104..2eabe4d40279 100644 --- a/games/xgalaga/distinfo +++ b/games/xgalaga/distinfo @@ -1 +1 @@ -MD5 (xgalaga-1.6c.tar.gz) = b4e44a21b569d00f7656abbbd9e73b0b +MD5 (xgalaga-2.0.tar.gz) = ffc1d86b0757a57d23d1cc971014cc43 diff --git a/games/xgalaga/files/patch-aa b/games/xgalaga/files/patch-aa index 01cbbcb835be..cfb6a4a5abc0 100644 --- a/games/xgalaga/files/patch-aa +++ b/games/xgalaga/files/patch-aa @@ -1,43 +1,25 @@ ---- ./libsprite/Imakefile.org Mon May 15 17:52:06 1995 -+++ ./libsprite/Imakefile Wed May 24 02:30:34 1995 -@@ -1,5 +1,5 @@ - -- XPMINCLUDE = -I/usr/include/X11 -+ XPMINCLUDE = -I$(INCROOT)/X11 - - EXTRA_INCLS = $(XPMINCLUDE) - ---- Imakefile.orig Sat Nov 30 01:02:20 1996 -+++ Imakefile Sat Nov 30 01:04:33 1996 -@@ -9,7 +9,7 @@ - XCOMM your system. If not doing "make install", set this to where the - XCOMM files are now. - -- XGALAGADIR = /usr/games/xgalaga -+ XGALAGADIR = $(LIBDIR)/xgalaga - - SCOREFILE = $(XGALAGADIR)/.xgalscores - SOUNDDIR = $(XGALAGADIR)/sounds -@@ -18,8 +18,8 @@ - XCOMM with the standard X libs, you shouldn't need to change this. - XCOMM otherwise make these point at wherever you put it. - -- XPMLIB = -lXpm -- XPMINCLUDE = -I/usr/include/X11 -+ XPMLIB = -L$(USRLIBDIR) -lXpm -+ XPMINCLUDE = -I$(INCROOT)/X11 - - XSPRITELIB = -L./libsprite -lXsprite - -@@ -141,9 +141,9 @@ - #endif - - #ifdef PCSP_ONLY -- PCSPDEF = -DPCSP_ONLY=1 -+ PCSPDEF = -DPCSP_ONLY=1 - #else -- PCSPDEF = -DPCSP_ONLY=0 -+ PCSPDEF = -DPCSP_ONLY=0 - #endif - - #ifndef SOUND +--- Makefile.in.orig Sun Apr 12 10:10:46 1998 ++++ Makefile.in Thu May 28 09:41:05 1998 +@@ -43,11 +43,12 @@ + $(CC) $(LDFLAGS) -o $(SOUNDSRV) $(SOUNDOBJS) $(SOUNDLIBS) + + install: all +- mkinstalldirs $(bindir) ++ ./mkinstalldirs $(bindir) ++ ./mkinstalldirs $(prefix) + $(INSTALL) $(TARGET) $(bindir)/$(TARGET) + $(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV) +- 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 + +@@ -75,4 +76,4 @@ + cd libsprite;$(MAKE) distclean + + depend: +- makedepend $(CFLAGS) $(SRCS) +\ No newline at end of file ++ makedepend $(CFLAGS) $(SRCS) diff --git a/games/xgalaga/pkg-plist b/games/xgalaga/pkg-plist index acd1d428bf47..5f5d255e84ec 100644 --- a/games/xgalaga/pkg-plist +++ b/games/xgalaga/pkg-plist @@ -1,5 +1,4 @@ -bin/xgal -lib/X11/xgalaga/.xgalscores +bin/xgalaga lib/X11/xgalaga/xgal.sndsrv.freebsd lib/X11/xgalaga/sounds/ddloo.raw lib/X11/xgalaga/sounds/explode.raw @@ -9,3 +8,21 @@ lib/X11/xgalaga/sounds/shield.raw lib/X11/xgalaga/sounds/smart.raw lib/X11/xgalaga/sounds/torphit.raw lib/X11/xgalaga/sounds/warp.raw +lib/X11/xgalaga/levels/level1.xgl +lib/X11/xgalaga/levels/level2.xgl +lib/X11/xgalaga/levels/level3.xgl +lib/X11/xgalaga/levels/level4.xgl +lib/X11/xgalaga/levels/level5.xgl +lib/X11/xgalaga/levels/level6.xgl +lib/X11/xgalaga/levels/level7.xgl +lib/X11/xgalaga/levels/level8.xgl +lib/X11/xgalaga/levels/level9.xgl +lib/X11/xgalaga/levels/level10.xgl +lib/X11/xgalaga/levels/level11.xgl +lib/X11/xgalaga/levels/level12.xgl +lib/X11/xgalaga/levels/level13.xgl +lib/X11/xgalaga/levels/level14.xgl +lib/X11/xgalaga/levels/level15.xgl +@dirrm lib/X11/xgalaga/levels +@dirrm lib/X11/xgalaga/sounds +@dirrm lib/X11/xgalaga |