diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-01-17 13:11:27 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-01-17 13:11:27 +0000 |
commit | 0389fa21c69ec984bd594f486d5e645b16b02a3e (patch) | |
tree | eb89d21145cf601653e21bcf58f5f94b01ec525e /games/braincurses | |
parent | New 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/braincurses')
-rw-r--r-- | games/braincurses/Makefile | 33 | ||||
-rw-r--r-- | games/braincurses/distinfo | 1 | ||||
-rw-r--r-- | games/braincurses/pkg-comment | 1 | ||||
-rw-r--r-- | games/braincurses/pkg-descr | 7 | ||||
-rw-r--r-- | games/braincurses/pkg-plist | 3 |
5 files changed, 45 insertions, 0 deletions
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 |