Date: Wed, 28 Apr 1999 16:48:33 +0400 (MSD) From: Andrey Zakhvatov <andy@icc.surw.chel.su> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/11363: New port: miscom-1.0 Message-ID: <199904281248.QAA12587@icc.surw.chel.su>
next in thread | raw e-mail | index | archive | help
>Number: 11363 >Category: ports >Synopsis: New port: miscom-1.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 28 05:50:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Andrey Zakhvatov >Release: FreeBSD 3.1-RELEASE i386 >Organization: South Ural Railway ICC >Environment: >Description: This is a port of miscom-1.0, Atari's "Missile Command" clone. 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. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # miscom-1.0 # miscom-1.0/Makefile # miscom-1.0/files # miscom-1.0/files/md5 # miscom-1.0/patches # miscom-1.0/patches/patch-aa # miscom-1.0/patches/patch-ab # miscom-1.0/patches/patch-af # miscom-1.0/patches/patch-ac # miscom-1.0/patches/patch-ad # miscom-1.0/patches/patch-ae # miscom-1.0/patches/patch-ag # miscom-1.0/pkg # miscom-1.0/pkg/COMMENT # miscom-1.0/pkg/DESCR # miscom-1.0/pkg/PLIST # echo c - miscom-1.0 mkdir -p miscom-1.0 > /dev/null 2>&1 echo x - miscom-1.0/Makefile sed 's/^X//' >miscom-1.0/Makefile << 'END-of-miscom-1.0/Makefile' X# New ports collection makefile for: miscom X# Version required: 1.0 X# Date created: 6 August 1998 X# Whom: Andrey Zakhvatov X# X# $Id$ X# X XDISTNAME= miscom XPKGNAME= miscom-1.0 XCATEGORIES= games XMASTER_SITES= ${MASTER_SITE_SUNSITE} XMASTER_SITE_SUBDIR= games/arcade X XMAINTAINER= andy@icc.surw.chel.su X XALL_TARGET= XWRKSRC= ${WRKDIR}/miscom XMAN6= miscom.6 X Xdo-install: X @ ${INSTALL_PROGRAM} ${WRKSRC}/miscom ${PREFIX}/bin X @ ${INSTALL_MAN} ${WRKSRC}/${MAN6} ${PREFIX}/man/man6 X @ ${MKDIR} ${PREFIX}/share/miscom X @ ${INSTALL_DATA} ${WRKSRC}/sounds/* ${PREFIX}/share/miscom X Xpost-install: X.if !defined(NOPORTDOCS) X @ ${MKDIR} ${PREFIX}/share/doc/miscom X.for file in COPYING ChangeLog README TODO X @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/miscom X.endfor X.endif X X.include <bsd.port.mk> END-of-miscom-1.0/Makefile echo c - miscom-1.0/files mkdir -p miscom-1.0/files > /dev/null 2>&1 echo x - miscom-1.0/files/md5 sed 's/^X//' >miscom-1.0/files/md5 << 'END-of-miscom-1.0/files/md5' XMD5 (miscom.tar.gz) = c09a7b119ea4d742efa08a74d14d8bfb END-of-miscom-1.0/files/md5 echo c - miscom-1.0/patches mkdir -p miscom-1.0/patches > /dev/null 2>&1 echo x - miscom-1.0/patches/patch-aa sed 's/^X//' >miscom-1.0/patches/patch-aa << 'END-of-miscom-1.0/patches/patch-aa' X--- Makefile Sun Mar 16 00:37:42 1997 X+++ /home/andy/tmp/wrk/Makefile Wed Apr 28 16:32:04 1999 X@@ -1,7 +1,7 @@ X # makefile for miscom X X # needs an ANSI C compiler - gcc is fine X-CC=gcc X+#CC=gcc X X # change these if you want anything anywhere else X # X@@ -12,7 +12,7 @@ X MANDIR=/usr/man/man6 X X # sounds/* go here: X-DATADIR=/usr/games/lib/miscom X+DATADIR=${PREFIX}/share/miscom X X # about `-DMORE_SOUNDBUF': X # With the new version of the sound driver in 1.3.x/2.0.x kernels, X@@ -28,7 +28,7 @@ X X # compiler opts - shouldn't need changing. the `-I' is there just X # in case you're using an older ncurses. X-CFLAGS=-O -I/usr/include/ncurses $(SOUNDOPT) X+CFLAGS+= $(SOUNDOPT) X X # how to link your curses lib. `-lncurses' on Linux (and newer BSD?), X # `-lcurses -ltermcap' on trad. BSD, `-lcurses -ltermlib' on SysV, END-of-miscom-1.0/patches/patch-aa echo x - miscom-1.0/patches/patch-ab sed 's/^X//' >miscom-1.0/patches/patch-ab << 'END-of-miscom-1.0/patches/patch-ab' X--- draw.c Sat Mar 15 08:10:31 1997 X+++ /home/andy/tmp/wrk/draw.c Wed Apr 28 16:35:40 1999 X@@ -4,7 +4,11 @@ X #include <unistd.h> X #include <fcntl.h> X #include <errno.h> X+#ifdef __FreeBSD__ X+#include <ncurses.h> X+#else X #include <curses.h> X+#endif X X #include "global.h" X #include "unix.h" END-of-miscom-1.0/patches/patch-ab echo x - miscom-1.0/patches/patch-af sed 's/^X//' >miscom-1.0/patches/patch-af << 'END-of-miscom-1.0/patches/patch-af' X--- sound.c Sat Mar 15 17:17:45 1997 X+++ /home/andy/tmp/wrk/sound.c Thu Aug 6 17:03:30 1998 X@@ -4,7 +4,11 @@ X #include <stdlib.h> X #include <fcntl.h> X #include <unistd.h> X+#ifdef __FreeBSD__ X+#include <machine/soundcard.h> X+#else X #include <sys/soundcard.h> X+#endif X #include "sound.h" X X int sound=1; END-of-miscom-1.0/patches/patch-af echo x - miscom-1.0/patches/patch-ac sed 's/^X//' >miscom-1.0/patches/patch-ac << 'END-of-miscom-1.0/patches/patch-ac' X--- fire.c Sat Mar 15 23:42:10 1997 X+++ /home/andy/tmp/wrk/fire.c Wed Apr 28 16:36:14 1999 X@@ -4,7 +4,11 @@ X #include <unistd.h> X #include <fcntl.h> X #include <errno.h> X+#ifdef __FreeBSD__ X+#include <ncurses.h> X+#else X #include <curses.h> X+#endif X X #include "global.h" X #include "settings.h" END-of-miscom-1.0/patches/patch-ac echo x - miscom-1.0/patches/patch-ad sed 's/^X//' >miscom-1.0/patches/patch-ad << 'END-of-miscom-1.0/patches/patch-ad' X--- level.c Thu Jan 22 19:30:13 1998 X+++ /home/andy/tmp/wrk/level.c Wed Apr 28 16:37:41 1999 X@@ -1,6 +1,10 @@ X #include <stdio.h> X #include <unistd.h> X+#ifdef __FreeBSD__ X+#include <ncurses.h> X+#else X #include <curses.h> X+#endif X #include "global.h" X #include "settings.h" X #include "draw.h" END-of-miscom-1.0/patches/patch-ad echo x - miscom-1.0/patches/patch-ae sed 's/^X//' >miscom-1.0/patches/patch-ae << 'END-of-miscom-1.0/patches/patch-ae' X--- main.c Thu Jan 22 19:30:32 1998 X+++ /home/andy/tmp/wrk/main.c Wed Apr 28 16:34:52 1999 X@@ -24,7 +24,11 @@ X #include <fcntl.h> X #include <time.h> X #include <signal.h> X+#ifdef __FreeBSD__ X+#include <ncurses.h> X+#else X #include <curses.h> X+#endif X #include "global.h" X #include "settings.h" X #include "draw.h" END-of-miscom-1.0/patches/patch-ae echo x - miscom-1.0/patches/patch-ag sed 's/^X//' >miscom-1.0/patches/patch-ag << 'END-of-miscom-1.0/patches/patch-ag' X--- unix.c Sat Mar 15 20:00:27 1997 X+++ /home/andy/tmp/wrk/unix.c Wed Apr 28 16:36:56 1999 X@@ -1,5 +1,9 @@ X #include <stdio.h> X+#ifdef __FreeBSD__ X+#include <ncurses.h> X+#else X #include <curses.h> X+#endif X #include <sys/types.h> X #include <unistd.h> X #include <fcntl.h> END-of-miscom-1.0/patches/patch-ag echo c - miscom-1.0/pkg mkdir -p miscom-1.0/pkg > /dev/null 2>&1 echo x - miscom-1.0/pkg/COMMENT sed 's/^X//' >miscom-1.0/pkg/COMMENT << 'END-of-miscom-1.0/pkg/COMMENT' XAtari's "Missile Command" clone. END-of-miscom-1.0/pkg/COMMENT echo x - miscom-1.0/pkg/DESCR sed 's/^X//' >miscom-1.0/pkg/DESCR << 'END-of-miscom-1.0/pkg/DESCR' XIn miscom you must defend cities from missile attack. You do this by Xlaunching missiles of your own (in a point-and-blast fashion) to Xdestroy the enemy missiles before they land. X XMiscom is a curses-based game, so it should work on any terminal. X(You'll need 9600 baud or better for it to be playable.) It supports Xcolour and sound. END-of-miscom-1.0/pkg/DESCR echo x - miscom-1.0/pkg/PLIST sed 's/^X//' >miscom-1.0/pkg/PLIST << 'END-of-miscom-1.0/pkg/PLIST' Xbin/miscom Xshare/doc/miscom/COPYING Xshare/doc/miscom/ChangeLog Xshare/doc/miscom/README Xshare/doc/miscom/TODO Xshare/miscom/citybang.raw Xshare/miscom/explode.raw Xshare/miscom/gameover.raw Xshare/miscom/launch.raw Xshare/miscom/levelend.raw Xshare/miscom/levelst.raw X@dirrm share/doc/miscom X@dirrm share/miscom END-of-miscom-1.0/pkg/PLIST exit >How-To-Repeat: >Fix: Please, check and commit this port. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904281248.QAA12587>