summaryrefslogtreecommitdiff
path: root/games/nibbles
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2002-07-19 14:27:30 +0000
committerOllivier Robert <roberto@FreeBSD.org>2002-07-19 14:27:30 +0000
commit2b52e8bd72da8be472415ed5f4ffa023dfc42190 (patch)
treee3b2eb2343429b90e0c697b4fb6c9139cf912400 /games/nibbles
parentAdd dictfmt, a dictionary formatter for dictd. (diff)
Nibbles is a simple ncurses-based console game in which you control a snake.
Your objective is to eat as many dots as possible before you crash into yourself or the wall. PR: ports/40643 Submitted by: Michael L. Hostbaek (mich@freebsdcluster.org)
Notes
Notes: svn path=/head/; revision=63249
Diffstat (limited to 'games/nibbles')
-rw-r--r--games/nibbles/Makefile38
-rw-r--r--games/nibbles/distinfo1
-rw-r--r--games/nibbles/pkg-comment1
-rw-r--r--games/nibbles/pkg-descr8
-rw-r--r--games/nibbles/pkg-plist3
5 files changed, 51 insertions, 0 deletions
diff --git a/games/nibbles/Makefile b/games/nibbles/Makefile
new file mode 100644
index 000000000000..f3a37d151bc5
--- /dev/null
+++ b/games/nibbles/Makefile
@@ -0,0 +1,38 @@
+# ex:ts=8
+# Ports collection makefile for: nibbles
+# Date created: Tue Jul 15, 2002
+# Whom: Michael L. Hostbaek (mich@freebsdcluster.org)
+#
+# $FreeBSD$
+#
+
+PORTNAME= nibbles
+PORTVERSION= 1.1
+CATEGORIES= games
+MASTER_SITES= http://download.nmee.net/ \
+ ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= mich@freebsdcluster.org
+
+LDFLAGS+= -L${LOCALBASE}/lib -lncurses
+CFLAGS+= -Wall
+USE_GCC= yes
+
+DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}
+
+do-build:
+ (cd ${WRKSRC} && ${CC} ${CFLAGS} -c -o main.o main.c)
+ (cd ${WRKSRC} && ${CC} ${CFLAGS} -c -o misc.o misc.c)
+ (cd ${WRKSRC} && ${CC} ${CFLAGS} -c -o screen.o screen.c)
+ (cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} main.o misc.o screen.o)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/nibbles/distinfo b/games/nibbles/distinfo
new file mode 100644
index 000000000000..989ecd8ceb64
--- /dev/null
+++ b/games/nibbles/distinfo
@@ -0,0 +1 @@
+MD5 (nibbles-1.1.tar.gz) = 6d9b93bba5816d8fa580dd50481ec0da
diff --git a/games/nibbles/pkg-comment b/games/nibbles/pkg-comment
new file mode 100644
index 000000000000..9cb5a96f9106
--- /dev/null
+++ b/games/nibbles/pkg-comment
@@ -0,0 +1 @@
+Nibbles is a simple ncurses-based console game
diff --git a/games/nibbles/pkg-descr b/games/nibbles/pkg-descr
new file mode 100644
index 000000000000..a2510b36913f
--- /dev/null
+++ b/games/nibbles/pkg-descr
@@ -0,0 +1,8 @@
+Nibbles is a simple ncurses-based console game in which you control a snake.
+Your objective is to eat as many dots as possible before you crash into
+yourself or the wall.
+
+WWW: http://www.nmee.net/projects/nibbles/
+
+ - Michael L. Hostbaek
+ mich@freebsdcluster.org
diff --git a/games/nibbles/pkg-plist b/games/nibbles/pkg-plist
new file mode 100644
index 000000000000..42589e46a53c
--- /dev/null
+++ b/games/nibbles/pkg-plist
@@ -0,0 +1,3 @@
+bin/nibbles
+share/doc/nibbles/README
+@dirrm share/doc/nibbles