aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bb
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-07-13 07:43:23 +0800
committersteve <steve@FreeBSD.org>1998-07-13 07:43:23 +0800
commitce6c62e9a66eb79653c6fcbecaf21a97a15b2ae5 (patch)
tree35d85787c78a254002f63434f23823e64a4757b6 /misc/bb
parent17e182d1e0eb4a88ad1f2ebfc313492c19f5d285 (diff)
downloadfreebsd-ports-gnome-ce6c62e9a66eb79653c6fcbecaf21a97a15b2ae5.tar.gz
freebsd-ports-gnome-ce6c62e9a66eb79653c6fcbecaf21a97a15b2ae5.tar.zst
freebsd-ports-gnome-ce6c62e9a66eb79653c6fcbecaf21a97a15b2ae5.zip
Initial import of bb version 1.2.
High quality audio-visual demonstration for text terminal. PR: 7097 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Diffstat (limited to 'misc/bb')
-rw-r--r--misc/bb/Makefile39
-rw-r--r--misc/bb/distinfo1
-rw-r--r--misc/bb/files/patch-aa11
-rw-r--r--misc/bb/pkg-comment1
-rw-r--r--misc/bb/pkg-descr7
-rw-r--r--misc/bb/pkg-plist10
6 files changed, 69 insertions, 0 deletions
diff --git a/misc/bb/Makefile b/misc/bb/Makefile
new file mode 100644
index 000000000000..feb885fcadbe
--- /dev/null
+++ b/misc/bb/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: bb
+# Version required: 1.2
+# Date created: 22 June 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= bb-1.2
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.ta.jcu.cz/pub/aa/bb/ \
+ ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= games
+
+MAINTAINER= andy@icc.surw.chel.su
+
+LIB_DEPENDS= aa\\.1\\.:${PORTSDIR}/graphics/aalib
+
+MAKEFILE= makefile
+GNU_CONFIGURE= yes
+
+pre-build:
+ @ cd ${WRKSRC}/mikunix; make
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/bb ${PREFIX}/bin
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/bb_snd_server ${PREFIX}/bin
+ @ ${MKDIR} ${PREFIX}/share/bb
+.for file in bb bb2 bb3
+ @ ${INSTALL_DATA} ${WRKSRC}/${file}.s3m ${PREFIX}/share/bb
+.endfor
+.if !defined(NOPORTDOCS)
+ @ ${MKDIR} ${PREFIX}/share/doc/bb
+.for file in ANNOUNCE COPYING README
+ @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/bb
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/misc/bb/distinfo b/misc/bb/distinfo
new file mode 100644
index 000000000000..8e76aa8b44ff
--- /dev/null
+++ b/misc/bb/distinfo
@@ -0,0 +1 @@
+MD5 (bb-1.2.tar.gz) = 1c5c2777900002beb247ce6ec7c5f2bc
diff --git a/misc/bb/files/patch-aa b/misc/bb/files/patch-aa
new file mode 100644
index 000000000000..dac129fe54ea
--- /dev/null
+++ b/misc/bb/files/patch-aa
@@ -0,0 +1,11 @@
+--- unix.c Tue Mar 10 22:42:39 1998
++++ /home/andy/tmp/wrk/unix.c Mon Jun 22 14:26:36 1998
+@@ -86,7 +86,7 @@
+ pid = fork();
+ if (pid == (pid_t) 0) { /* This is the child process. */
+ char str[256];
+- sprintf(str, "bb_snd_server %i %i %i bb.s3m bb2.s3m bb3.s3m", freq, stereo, _16bit);
++ sprintf(str, "bb_snd_server %i %i %i /usr/local/share/bb/bb.s3m /usr/local/share/bb/bb2.s3m /usr/local/share/bb/bb3.s3m", freq, stereo, _16bit);
+ close(mypipe[0]);
+ close(mypipe2[1]);
+ close(1);
diff --git a/misc/bb/pkg-comment b/misc/bb/pkg-comment
new file mode 100644
index 000000000000..f23e9ca6e1e1
--- /dev/null
+++ b/misc/bb/pkg-comment
@@ -0,0 +1 @@
+High quality audio-visual demonstration for text terminal.
diff --git a/misc/bb/pkg-descr b/misc/bb/pkg-descr
new file mode 100644
index 000000000000..e055b6f5a1e4
--- /dev/null
+++ b/misc/bb/pkg-descr
@@ -0,0 +1,7 @@
+BB is an high quality audio-visual demonstration for your text
+terminal. It is portable demo, so you can run it on plenty of operating
+systems and DOS.
+
+Supports: dos (VGA + MDA), stdio, curses, slang, X11, gpm, linux-console
+Sound: OSS, Sun audio, SGI, DEC Aplha, AIX, HP-UX, DOS (GUS CLASSIC, GUS
+ CLASSIC, GUS MAX, GUS ACE, GUS PNP, SB, ESS, PC-buzzer
diff --git a/misc/bb/pkg-plist b/misc/bb/pkg-plist
new file mode 100644
index 000000000000..f9d5ea2a9162
--- /dev/null
+++ b/misc/bb/pkg-plist
@@ -0,0 +1,10 @@
+bin/bb
+bin/bb_snd_server
+share/bb/bb.s3m
+share/bb/bb2.s3m
+share/bb/bb3.s3m
+share/doc/bb/ANNOUNCE
+share/doc/bb/COPYING
+share/doc/bb/README
+@dirrm share/bb
+@dirrm share/doc/bb