diff options
author | roberto <roberto@FreeBSD.org> | 2002-07-19 22:27:30 +0800 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 2002-07-19 22:27:30 +0800 |
commit | 91427ea127ba2a5006ad4863d9787394d2bb1b57 (patch) | |
tree | 3e15a084b4a96b45731b757ecf6e12757adb6c3f | |
parent | 27341f003fd9075f94a849dc30ccda36fff5605c (diff) | |
download | freebsd-ports-gnome-91427ea127ba2a5006ad4863d9787394d2bb1b57.tar.gz freebsd-ports-gnome-91427ea127ba2a5006ad4863d9787394d2bb1b57.tar.zst freebsd-ports-gnome-91427ea127ba2a5006ad4863d9787394d2bb1b57.zip |
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)
-rw-r--r-- | games/nibbles/Makefile | 38 | ||||
-rw-r--r-- | games/nibbles/distinfo | 1 | ||||
-rw-r--r-- | games/nibbles/pkg-comment | 1 | ||||
-rw-r--r-- | games/nibbles/pkg-descr | 8 | ||||
-rw-r--r-- | games/nibbles/pkg-plist | 3 |
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 |