GLSFcave is a port of SunFlat's SFcave for UNIX/OpenGL. SFcave is

a game where the player controls a ribbon to avoid hitting walls.

You have only one control: when you hold the mouse button, the
ribbon goes up. Otherwise the ribbon goes down.

The game uses OpenGL for drawing two-dimensional frames. This is
for portability(for MacOS X) and to offload CPU.

WWW: http://user.ecc.u-tokyo.ac.jp/~g650192/glsfcave/

PR:		ports/121847
Submitted by:	Dmitry Marakasov <amdmi3 at amdmi3.ru>
This commit is contained in:
Martin Wilke 2008-03-26 16:53:46 +00:00
parent caafd75abe
commit 20f659d957
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209886
4 changed files with 56 additions and 0 deletions

View file

@ -285,6 +285,7 @@
SUBDIR += glmaze
SUBDIR += glob2
SUBDIR += glpuzzle
SUBDIR += glsfcave
SUBDIR += gltron
SUBDIR += gma
SUBDIR += gmastermind

42
games/glsfcave/Makefile Normal file
View file

@ -0,0 +1,42 @@
# New ports collection makefile for: glsfcave
# Date created: 19 Mar 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= glsfcave
PORTVERSION= 1.0
CATEGORIES= games
MASTER_SITES= http://user.ecc.u-tokyo.ac.jp/~g650192/glsfcave/ \
http://www.amdmi3.ru/distfiles/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= amdmi3@amdmi3.ru
COMMENT= Control a ribbon to avoid hitting walls
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut
USE_BZIP2= yes
USE_GL= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= README
PLIST_FILES= bin/glsfcave
do-build:
cd ${WRKSRC} && ${CC} -o glsfcave main.c -I${LOCALBASE}/include \
-L${LOCALBASE}/lib -lglut -lGL -lGLU
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/glsfcave ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

3
games/glsfcave/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (glsfcave-1.0.tar.bz2) = ff0f7897c1c6366ed41cf59fde4efed5
SHA256 (glsfcave-1.0.tar.bz2) = 778655f28452d104fcb3b23b48938b2d1a52076be464f0c658a165f89821f6e9
SIZE (glsfcave-1.0.tar.bz2) = 4017

10
games/glsfcave/pkg-descr Normal file
View file

@ -0,0 +1,10 @@
GLSFcave is a port of SunFlat's SFcave for UNIX/OpenGL. SFcave is
a game where the player controls a ribbon to avoid hitting walls.
You have only one control: when you hold the mouse button, the
ribbon goes up. Otherwise the ribbon goes down.
The game uses OpenGL for drawing two-dimensional frames. This is
for portability(for MacOS X) and to offload CPU.
WWW: http://user.ecc.u-tokyo.ac.jp/~g650192/glsfcave/