diff options
author | Yukihiro Nakai <nakai@FreeBSD.org> | 2000-01-22 11:46:45 +0000 |
---|---|---|
committer | Yukihiro Nakai <nakai@FreeBSD.org> | 2000-01-22 11:46:45 +0000 |
commit | 044fe0d8a22849514107c0302251f03f434a9688 (patch) | |
tree | 899ac543c0d46a568279b5e0bcdf8d9c7e123a6a /games/cosmo | |
parent | Fix the ports. (diff) |
Fix and updates from KATO Tsuguru.
Submitted by: "KATO Tsuguru" <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=24924
Diffstat (limited to 'games/cosmo')
-rw-r--r-- | games/cosmo/Makefile | 14 | ||||
-rw-r--r-- | games/cosmo/files/patch-aa | 27 | ||||
-rw-r--r-- | games/cosmo/pkg-descr | 2 |
3 files changed, 29 insertions, 14 deletions
diff --git a/games/cosmo/Makefile b/games/cosmo/Makefile index 30a26b0b92cb..4e9680123928 100644 --- a/games/cosmo/Makefile +++ b/games/cosmo/Makefile @@ -1,14 +1,15 @@ -# New ports collection makefile for: cosmo -# Version required: 2.0.4 -# Date created: 28 December 1996 -# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> +# New ports collection makefile for: cosmo +# Version required: 2.0.4 +# Date created: 28 December 1996 +# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> # # $FreeBSD$ # DISTNAME= cosmo-2.0.4 CATEGORIES= games -MASTER_SITES= ftp://ftp.jinr.ru/pub/PD/cosmo/ +MASTER_SITES= http://taraco.u-aizu.ac.jp/~eiju/cosmo/ \ + ftp://ftp.jinr.ru/pub/PD/cosmo/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} moon.tif.gz MAINTAINER= nakai@FreeBSD.org @@ -24,7 +25,6 @@ NO_INSTALL_MANPAGES= yes post-install: ${INSTALL_DATA} ${WRKSRC}/cosmorc ${PREFIX}/lib/X11/cosmo - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/moon.tif.gz \ - ${PREFIX}/lib/X11/cosmo + ${INSTALL_DATA} ${_DISTDIR}/moon.tif.gz ${PREFIX}/lib/X11/cosmo .include <bsd.port.mk> diff --git a/games/cosmo/files/patch-aa b/games/cosmo/files/patch-aa index b606a790e551..8ed299f51f38 100644 --- a/games/cosmo/files/patch-aa +++ b/games/cosmo/files/patch-aa @@ -1,17 +1,30 @@ --- Imakefile.orig Sat May 11 16:06:00 1996 -+++ Imakefile Fri May 2 12:38:28 1997 -@@ -1,11 +1,12 @@ ++++ Imakefile Sat Jan 15 04:54:08 2000 +@@ -1,14 +1,14 @@ -BINDIR = /usr/local/games -+PREFIX?= /usr/X11R6 -+BINDIR = ${PREFIX}/bin ++XCOMM BINDIR = /usr/local/games PAD = # -DUSE_PAD CHMOD = /bin/chmod MKDIR = /bin/mkdir - CC = gcc +-CC = gcc ++XCOMM CC = gcc REGULATE_TIMER = -DREG_TIMER -DATADIR = $(BINDIR)/cosmodir -+DATADIR = ${PREFIX}/lib/X11/cosmo ++DATADIR = $(LIBDIR)/cosmo DATAFILE = $(DATADIR)/best.dat PROTO_DEFINES = -DRANK_FILE=\"$(DATAFILE)\" $(PAD) $(REGULATE_TIMER) $(SIGNAL) - CDEBUGFLAGS = -O2 # -g +-CDEBUGFLAGS = -O2 # -g ++XCOMM CDEBUGFLAGS = -O2 # -g + LOCAL_LIBRARIES = $(XLIB) + TAR = /bin/tar + +@@ -27,7 +27,7 @@ + + install:: + @if [ -d $(DATADIR) ]; then echo cosmodir exists, not created.;\ +- else $(MKDIR) $(DATADIR); fi ++ else $(MKDIRHIER) $(DATADIR); fi + $(CHMOD) 711 $(DATADIR) + @if [ -f $(DATAFILE) ]; then echo ranking file exists, not created.;\ + else echo > $(DATAFILE); fi diff --git a/games/cosmo/pkg-descr b/games/cosmo/pkg-descr index 06cd19d35406..4d7ed7ba5fa5 100644 --- a/games/cosmo/pkg-descr +++ b/games/cosmo/pkg-descr @@ -17,3 +17,5 @@ KEYBOARD: n Select no p Pause game q Quit game + +WWW: http://taraco.u-aizu.ac.jp/~eiju/cosmo/cosmo.html |