diff options
-rw-r--r-- | games/Makefile | 1 | ||||
-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 |
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 |