1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

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 <demelier.david@gmail.com>
This commit is contained in:
Dennis Herrmann 2011-03-10 22:15:35 +00:00
parent 80e073da54
commit c3c97af09b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270627
5 changed files with 48 additions and 0 deletions

View File

@ -593,6 +593,7 @@
SUBDIR += noegnud-slashem
SUBDIR += nonsense
SUBDIR += npush
SUBDIR += nsnake
SUBDIR += nuclearchess
SUBDIR += numptyphysics
SUBDIR += numptyphysics-npcomplete

28
games/nsnake/Makefile Normal file
View File

@ -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 <bsd.port.mk>

2
games/nsnake/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (nsnake-1.0.1.tgz) = 2fe356057fe40707766c1b1155ff82069af24f0c3162bca406e04f58ac243887
SIZE (nsnake-1.0.1.tgz) = 5644

View File

@ -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}

6
games/nsnake/pkg-descr Normal file
View File

@ -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