diff options
author | taoka <taoka@FreeBSD.org> | 1999-05-01 09:59:05 +0800 |
---|---|---|
committer | taoka <taoka@FreeBSD.org> | 1999-05-01 09:59:05 +0800 |
commit | cc2d99b8cbe8668eff05b8db3ee7c354201dca10 (patch) | |
tree | a53923b8a2a023d690b42405550a20be548e1581 /games/miscom | |
parent | 9a40185d41f8f5bee1d230ee352fb58a9ac858b2 (diff) | |
download | freebsd-ports-gnome-cc2d99b8cbe8668eff05b8db3ee7c354201dca10.tar.gz freebsd-ports-gnome-cc2d99b8cbe8668eff05b8db3ee7c354201dca10.tar.zst freebsd-ports-gnome-cc2d99b8cbe8668eff05b8db3ee7c354201dca10.zip |
Atari's "Missile Command" clone.
PR: 11363
Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Diffstat (limited to 'games/miscom')
-rw-r--r-- | games/miscom/Makefile | 35 | ||||
-rw-r--r-- | games/miscom/distinfo | 1 | ||||
-rw-r--r-- | games/miscom/files/patch-aa | 29 | ||||
-rw-r--r-- | games/miscom/files/patch-ab | 14 | ||||
-rw-r--r-- | games/miscom/files/patch-ac | 14 | ||||
-rw-r--r-- | games/miscom/files/patch-ad | 13 | ||||
-rw-r--r-- | games/miscom/files/patch-ae | 14 | ||||
-rw-r--r-- | games/miscom/files/patch-af | 14 | ||||
-rw-r--r-- | games/miscom/files/patch-ag | 12 | ||||
-rw-r--r-- | games/miscom/pkg-comment | 1 | ||||
-rw-r--r-- | games/miscom/pkg-descr | 7 | ||||
-rw-r--r-- | games/miscom/pkg-plist | 13 |
12 files changed, 167 insertions, 0 deletions
diff --git a/games/miscom/Makefile b/games/miscom/Makefile new file mode 100644 index 000000000000..e29333f29b82 --- /dev/null +++ b/games/miscom/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: miscom +# Version required: 1.0 +# Date created: 6 August 1998 +# Whom: Andrey Zakhvatov +# +# $Id$ +# + +DISTNAME= miscom +PKGNAME= miscom-1.0 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= games/arcade + +MAINTAINER= andy@icc.surw.chel.su + +ALL_TARGET= +WRKSRC= ${WRKDIR}/miscom +MAN6= miscom.6 + +do-install: + @ ${INSTALL_PROGRAM} ${WRKSRC}/miscom ${PREFIX}/bin + @ ${INSTALL_MAN} ${WRKSRC}/${MAN6} ${PREFIX}/man/man6 + @ ${MKDIR} ${PREFIX}/share/miscom + @ ${INSTALL_DATA} ${WRKSRC}/sounds/* ${PREFIX}/share/miscom + +post-install: +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${PREFIX}/share/doc/miscom +.for file in COPYING ChangeLog README TODO + @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/miscom +.endfor +.endif + +.include <bsd.port.mk> diff --git a/games/miscom/distinfo b/games/miscom/distinfo new file mode 100644 index 000000000000..ccfda2f272a0 --- /dev/null +++ b/games/miscom/distinfo @@ -0,0 +1 @@ +MD5 (miscom.tar.gz) = c09a7b119ea4d742efa08a74d14d8bfb diff --git a/games/miscom/files/patch-aa b/games/miscom/files/patch-aa new file mode 100644 index 000000000000..9024818cefb1 --- /dev/null +++ b/games/miscom/files/patch-aa @@ -0,0 +1,29 @@ +--- Makefile Sun Mar 16 00:37:42 1997 ++++ /home/andy/tmp/wrk/Makefile Wed Apr 28 16:32:04 1999 +@@ -1,7 +1,7 @@ + # makefile for miscom + + # needs an ANSI C compiler - gcc is fine +-CC=gcc ++#CC=gcc + + # change these if you want anything anywhere else + # +@@ -12,7 +12,7 @@ + MANDIR=/usr/man/man6 + + # sounds/* go here: +-DATADIR=/usr/games/lib/miscom ++DATADIR=${PREFIX}/share/miscom + + # about `-DMORE_SOUNDBUF': + # With the new version of the sound driver in 1.3.x/2.0.x kernels, +@@ -28,7 +28,7 @@ + + # compiler opts - shouldn't need changing. the `-I' is there just + # in case you're using an older ncurses. +-CFLAGS=-O -I/usr/include/ncurses $(SOUNDOPT) ++CFLAGS+= $(SOUNDOPT) + + # how to link your curses lib. `-lncurses' on Linux (and newer BSD?), + # `-lcurses -ltermcap' on trad. BSD, `-lcurses -ltermlib' on SysV, diff --git a/games/miscom/files/patch-ab b/games/miscom/files/patch-ab new file mode 100644 index 000000000000..fa8ebf2f2bd7 --- /dev/null +++ b/games/miscom/files/patch-ab @@ -0,0 +1,14 @@ +--- draw.c Sat Mar 15 08:10:31 1997 ++++ /home/andy/tmp/wrk/draw.c Wed Apr 28 16:35:40 1999 +@@ -4,7 +4,11 @@ + #include <unistd.h> + #include <fcntl.h> + #include <errno.h> ++#ifdef __FreeBSD__ ++#include <ncurses.h> ++#else + #include <curses.h> ++#endif + + #include "global.h" + #include "unix.h" diff --git a/games/miscom/files/patch-ac b/games/miscom/files/patch-ac new file mode 100644 index 000000000000..0c8203709d58 --- /dev/null +++ b/games/miscom/files/patch-ac @@ -0,0 +1,14 @@ +--- fire.c Sat Mar 15 23:42:10 1997 ++++ /home/andy/tmp/wrk/fire.c Wed Apr 28 16:36:14 1999 +@@ -4,7 +4,11 @@ + #include <unistd.h> + #include <fcntl.h> + #include <errno.h> ++#ifdef __FreeBSD__ ++#include <ncurses.h> ++#else + #include <curses.h> ++#endif + + #include "global.h" + #include "settings.h" diff --git a/games/miscom/files/patch-ad b/games/miscom/files/patch-ad new file mode 100644 index 000000000000..327eba3576ca --- /dev/null +++ b/games/miscom/files/patch-ad @@ -0,0 +1,13 @@ +--- level.c Thu Jan 22 19:30:13 1998 ++++ /home/andy/tmp/wrk/level.c Wed Apr 28 16:37:41 1999 +@@ -1,6 +1,10 @@ + #include <stdio.h> + #include <unistd.h> ++#ifdef __FreeBSD__ ++#include <ncurses.h> ++#else + #include <curses.h> ++#endif + #include "global.h" + #include "settings.h" + #include "draw.h" diff --git a/games/miscom/files/patch-ae b/games/miscom/files/patch-ae new file mode 100644 index 000000000000..a2f133e300fa --- /dev/null +++ b/games/miscom/files/patch-ae @@ -0,0 +1,14 @@ +--- main.c Thu Jan 22 19:30:32 1998 ++++ /home/andy/tmp/wrk/main.c Wed Apr 28 16:34:52 1999 +@@ -24,7 +24,11 @@ + #include <fcntl.h> + #include <time.h> + #include <signal.h> ++#ifdef __FreeBSD__ ++#include <ncurses.h> ++#else + #include <curses.h> ++#endif + #include "global.h" + #include "settings.h" + #include "draw.h" diff --git a/games/miscom/files/patch-af b/games/miscom/files/patch-af new file mode 100644 index 000000000000..f1ae4754a594 --- /dev/null +++ b/games/miscom/files/patch-af @@ -0,0 +1,14 @@ +--- sound.c Sat Mar 15 17:17:45 1997 ++++ /home/andy/tmp/wrk/sound.c Thu Aug 6 17:03:30 1998 +@@ -4,7 +4,11 @@ + #include <stdlib.h> + #include <fcntl.h> + #include <unistd.h> ++#ifdef __FreeBSD__ ++#include <machine/soundcard.h> ++#else + #include <sys/soundcard.h> ++#endif + #include "sound.h" + + int sound=1; diff --git a/games/miscom/files/patch-ag b/games/miscom/files/patch-ag new file mode 100644 index 000000000000..252404c0a52c --- /dev/null +++ b/games/miscom/files/patch-ag @@ -0,0 +1,12 @@ +--- unix.c Sat Mar 15 20:00:27 1997 ++++ /home/andy/tmp/wrk/unix.c Wed Apr 28 16:36:56 1999 +@@ -1,5 +1,9 @@ + #include <stdio.h> ++#ifdef __FreeBSD__ ++#include <ncurses.h> ++#else + #include <curses.h> ++#endif + #include <sys/types.h> + #include <unistd.h> + #include <fcntl.h> diff --git a/games/miscom/pkg-comment b/games/miscom/pkg-comment new file mode 100644 index 000000000000..4923e0491735 --- /dev/null +++ b/games/miscom/pkg-comment @@ -0,0 +1 @@ +Atari's "Missile Command" clone. diff --git a/games/miscom/pkg-descr b/games/miscom/pkg-descr new file mode 100644 index 000000000000..c1b536d0d1db --- /dev/null +++ b/games/miscom/pkg-descr @@ -0,0 +1,7 @@ +In miscom you must defend cities from missile attack. You do this by +launching missiles of your own (in a point-and-blast fashion) to +destroy the enemy missiles before they land. + +Miscom is a curses-based game, so it should work on any terminal. +(You'll need 9600 baud or better for it to be playable.) It supports +colour and sound. diff --git a/games/miscom/pkg-plist b/games/miscom/pkg-plist new file mode 100644 index 000000000000..325de00885c7 --- /dev/null +++ b/games/miscom/pkg-plist @@ -0,0 +1,13 @@ +bin/miscom +share/doc/miscom/COPYING +share/doc/miscom/ChangeLog +share/doc/miscom/README +share/doc/miscom/TODO +share/miscom/citybang.raw +share/miscom/explode.raw +share/miscom/gameover.raw +share/miscom/launch.raw +share/miscom/levelend.raw +share/miscom/levelst.raw +@dirrm share/doc/miscom +@dirrm share/miscom |