From c3c97af09b4e528cf68b5e02246cd17782ae8cca Mon Sep 17 00:00:00 2001 From: Dennis Herrmann Date: Thu, 10 Mar 2011 22:15:35 +0000 Subject: nsnake is small game written in C and using ncurses API for drawing stuff on the screen. It currently supports colors and can save highscores in a file. WWW: http://softs.malikania.fr/nsnake PR: ports/155380 Submitted by: David Demelier --- games/nsnake/Makefile | 28 ++++++++++++++++++++++++++++ games/nsnake/distinfo | 2 ++ games/nsnake/files/patch-Makefile | 11 +++++++++++ games/nsnake/pkg-descr | 6 ++++++ 4 files changed, 47 insertions(+) create mode 100644 games/nsnake/Makefile create mode 100644 games/nsnake/distinfo create mode 100644 games/nsnake/files/patch-Makefile create mode 100644 games/nsnake/pkg-descr (limited to 'games/nsnake') diff --git a/games/nsnake/Makefile b/games/nsnake/Makefile new file mode 100644 index 000000000000..5177c90cf226 --- /dev/null +++ b/games/nsnake/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: nsnake +# Date created: 08 March 2011 +# Whom: markand +# +# $FreeBSD$ +# + +PORTNAME= nsnake +PORTVERSION= 1.0.1 +CATEGORIES= games +MASTER_SITES= http://softs.malikania.fr/releases/ +EXTRACT_SUFX= .tgz + +MAINTAINER= markand@malikania.fr +COMMENT= A snake game written in C and ncurses + +MAN6= nsnake.6 +PLIST_FILES= bin/nsnake +PORTDOCS= LICENSE + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR} +.endif + +.include + diff --git a/games/nsnake/distinfo b/games/nsnake/distinfo new file mode 100644 index 000000000000..642b118bf849 --- /dev/null +++ b/games/nsnake/distinfo @@ -0,0 +1,2 @@ +SHA256 (nsnake-1.0.1.tgz) = 2fe356057fe40707766c1b1155ff82069af24f0c3162bca406e04f58ac243887 +SIZE (nsnake-1.0.1.tgz) = 5644 diff --git a/games/nsnake/files/patch-Makefile b/games/nsnake/files/patch-Makefile new file mode 100644 index 000000000000..09834dd878ea --- /dev/null +++ b/games/nsnake/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2011-03-08 18:04:22.000000000 +0100 ++++ Makefile 2011-03-08 18:04:41.000000000 +0100 +@@ -27,7 +27,7 @@ + INSTALL= install + PREFIX= /usr/local + VARBASE= /var +-MANPREFIX= /share/man ++MANPREFIX= /man + RM= rm -f + + all: ${PROG} diff --git a/games/nsnake/pkg-descr b/games/nsnake/pkg-descr new file mode 100644 index 000000000000..16b5fbabc11d --- /dev/null +++ b/games/nsnake/pkg-descr @@ -0,0 +1,6 @@ +nsnake is small game written in C and using ncurses API for drawing stuff on the +screen. + +It currently supports colors and can save highscores in a file. + +WWW: http://softs.malikania.fr/nsnake -- cgit v1.2.3