summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-17 13:11:27 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-17 13:11:27 +0000
commit0389fa21c69ec984bd594f486d5e645b16b02a3e (patch)
treeeb89d21145cf601653e21bcf58f5f94b01ec525e /games
parentNew port: misc/pipebench (diff)
New port: games/braincurses
BrainCurses is a clone of the Mastermind game implemented in ncurses. PR: ports/47097 Submitted by: Michael L. Hostbaek <mich@freebsdcluster.org>
Notes
Notes: svn path=/head/; revision=73347
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/braincurses/Makefile33
-rw-r--r--games/braincurses/distinfo1
-rw-r--r--games/braincurses/pkg-comment1
-rw-r--r--games/braincurses/pkg-descr7
-rw-r--r--games/braincurses/pkg-plist3
6 files changed, 46 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 1c70f1b14282..fc0afcc1537c 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -38,6 +38,7 @@
SUBDIR += bomb
SUBDIR += bomberinstinct
SUBDIR += bombermaze
+ SUBDIR += braincurses
SUBDIR += bs
SUBDIR += bsp
SUBDIR += bugsx
diff --git a/games/braincurses/Makefile b/games/braincurses/Makefile
new file mode 100644
index 000000000000..18cf583c140b
--- /dev/null
+++ b/games/braincurses/Makefile
@@ -0,0 +1,33 @@
+# ex:ts=8
+# Ports collection makefile for: braincurses
+# Date created: Wed Jan 15, 2003
+# Whom: Michael L. Hostbaek (mich@freebsdcluster.org)
+#
+# $FreeBSD$
+#
+
+PORTNAME= braincurses
+PORTVERSION= 0.2
+CATEGORIES= games
+MASTER_SITES= http://uhaweb.hartford.edu/hyland/derr/
+
+MAINTAINER= mich@freebsdcluster.org
+
+LDFLAGS+= -lncurses
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+do-build:
+ cd ${WRKSRC} && \
+ ${CXX} -c -o curses/windows.o curses/windows.cpp && \
+ ${CXX} ${CFLAGS} -c ${PORTNAME}.cpp && \
+ ${CXX} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} curses/windows.o ${PORTNAME}.o
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/braincurses/distinfo b/games/braincurses/distinfo
new file mode 100644
index 000000000000..874e98cabc64
--- /dev/null
+++ b/games/braincurses/distinfo
@@ -0,0 +1 @@
+MD5 (braincurses-0.2.tar.gz) = 0ac07278346f5832ae3edd61e0ef1eac
diff --git a/games/braincurses/pkg-comment b/games/braincurses/pkg-comment
new file mode 100644
index 000000000000..c81673f64347
--- /dev/null
+++ b/games/braincurses/pkg-comment
@@ -0,0 +1 @@
+A clone of the Mastermind game
diff --git a/games/braincurses/pkg-descr b/games/braincurses/pkg-descr
new file mode 100644
index 000000000000..ba0275438403
--- /dev/null
+++ b/games/braincurses/pkg-descr
@@ -0,0 +1,7 @@
+BrainCurses is a clone of the Mastermind game implemented in ncurses.
+
+WWW: http://freshmeat.net/projects/braincurses/
+AUTHOR: Brian Derr <bderr@myrealbox.com>
+
+ - Michael L. Hostbaek
+ mich@freebsdcluster.org
diff --git a/games/braincurses/pkg-plist b/games/braincurses/pkg-plist
new file mode 100644
index 000000000000..a89e187da6f8
--- /dev/null
+++ b/games/braincurses/pkg-plist
@@ -0,0 +1,3 @@
+bin/braincurses
+%%PORTDOCS%%share/doc/braincurses/README
+%%PORTDOCS%%@dirrm /share/doc/braincurses