diff options
author | chinsan <chinsan@FreeBSD.org> | 2011-02-23 17:35:51 +0800 |
---|---|---|
committer | chinsan <chinsan@FreeBSD.org> | 2011-02-23 17:35:51 +0800 |
commit | a7402a185f7b6c790fbe6c344cd2253bd4791011 (patch) | |
tree | 713ed41c570223a20c6cda820a32fc975d44c02f /games/gnake | |
parent | cbdd1c0126bc7bafbe4edc954f6dde4c4f96d553 (diff) | |
download | freebsd-ports-gnome-a7402a185f7b6c790fbe6c344cd2253bd4791011.tar.gz freebsd-ports-gnome-a7402a185f7b6c790fbe6c344cd2253bd4791011.tar.zst freebsd-ports-gnome-a7402a185f7b6c790fbe6c344cd2253bd4791011.zip |
Add Gnake, a Nibbles clone for GNU/Linux and *BSD.
It's played on a terminal (controlled by the curses library) with the keyboard.
WWW: http://lightless.org/gnake/
Diffstat (limited to 'games/gnake')
-rw-r--r-- | games/gnake/Makefile | 38 | ||||
-rw-r--r-- | games/gnake/distinfo | 2 | ||||
-rw-r--r-- | games/gnake/pkg-descr | 8 |
3 files changed, 48 insertions, 0 deletions
diff --git a/games/gnake/Makefile b/games/gnake/Makefile new file mode 100644 index 000000000000..546a1dc82134 --- /dev/null +++ b/games/gnake/Makefile @@ -0,0 +1,38 @@ +# Ports collection makefile for: gnake +# Date created: 2011/02/20 +# Whom: chinsan +# +# $FreeBSD$ +# + +PORTNAME= gnake +PORTVERSION= 0.94b +CATEGORIES= games +MASTER_SITES= LOCAL/chinsan \ + http://lightless.org/files/ +DISTNAME= Gnake.${PORTVERSION} + +MAINTAINER= chinsan@FreeBSD.org +COMMENT= A Nibbles clone for GNU/Linux and *BSD + +LICENSE= GPLv2 +LDFLAGS+= -L${LOCALBASE}/lib -lncurses +CFLAGS+= -Wall + +WRKSRC= ${WRKDIR}/${PORTNAME} +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME} +PORTDOCS= README +PLIST_FILES= bin/${PORTNAME} + +do-build: + ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} \ + ${WRKSRC}/gnake.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${INSTALL} -d ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/games/gnake/distinfo b/games/gnake/distinfo new file mode 100644 index 000000000000..72c975bff060 --- /dev/null +++ b/games/gnake/distinfo @@ -0,0 +1,2 @@ +SHA256 (Gnake.0.94b.tar.gz) = 0a969e09f2dd60cdad56174728f13e4bf6056173f2d566312e06935e13b3d827 +SIZE (Gnake.0.94b.tar.gz) = 6656 diff --git a/games/gnake/pkg-descr b/games/gnake/pkg-descr new file mode 100644 index 000000000000..5cb17dd9f20c --- /dev/null +++ b/games/gnake/pkg-descr @@ -0,0 +1,8 @@ +Gnake is a Nibbles clone for GNU/Linux and *BSD. +It's played on a terminal (controlled by the curses library) with the +keyboard: the game is really simple and that's why I like playing it even in +the oh-my-god-my-graphics-card-costs-more-than-the-rest-of-the-computer era. + +For the list of available options, type ``gnake -h''. + +WWW: http://lightless.org/gnake/ |