mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Atari's "Missile Command" clone.
PR: 11363 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
This commit is contained in:
parent
b9113c4794
commit
54a24d3747
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18251
35
games/miscom/Makefile
Normal file
35
games/miscom/Makefile
Normal file
@ -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>
|
1
games/miscom/distinfo
Normal file
1
games/miscom/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (miscom.tar.gz) = c09a7b119ea4d742efa08a74d14d8bfb
|
29
games/miscom/files/patch-aa
Normal file
29
games/miscom/files/patch-aa
Normal file
@ -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,
|
14
games/miscom/files/patch-ab
Normal file
14
games/miscom/files/patch-ab
Normal file
@ -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"
|
14
games/miscom/files/patch-ac
Normal file
14
games/miscom/files/patch-ac
Normal file
@ -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"
|
13
games/miscom/files/patch-ad
Normal file
13
games/miscom/files/patch-ad
Normal file
@ -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"
|
14
games/miscom/files/patch-ae
Normal file
14
games/miscom/files/patch-ae
Normal file
@ -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"
|
14
games/miscom/files/patch-af
Normal file
14
games/miscom/files/patch-af
Normal file
@ -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;
|
12
games/miscom/files/patch-ag
Normal file
12
games/miscom/files/patch-ag
Normal file
@ -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>
|
1
games/miscom/pkg-comment
Normal file
1
games/miscom/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Atari's "Missile Command" clone.
|
7
games/miscom/pkg-descr
Normal file
7
games/miscom/pkg-descr
Normal file
@ -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.
|
13
games/miscom/pkg-plist
Normal file
13
games/miscom/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user