import glsfcave
GLSFcave is a port of SunFlat's SFcave for UNIX/OpenGL. SFcave is a game where the player controls a ribbon and avoid hitting walls. You have only one control: when you hold the mouse button, the ribbon goes up. Otherwise the ribbon goes down. feedback & ok ajacoutot@
This commit is contained in:
parent
987cd4285a
commit
3108351d1e
38
games/glsfcave/Makefile
Normal file
38
games/glsfcave/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/03/19 20:22:09 simon Exp $
|
||||
|
||||
COMMENT= control a ribbon to avoid hitting walls
|
||||
|
||||
V= 1.0
|
||||
DISTNAME= glsfcave-$V-mitl
|
||||
PKGNAME= glsfcave-$V
|
||||
CATEGORIES= games
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
HOMEPAGE= http://user.ecc.u-tokyo.ac.jp/~g650192/glsfcave/
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
MAINTAINER= Simon Bertrang <simon@openbsd.org>
|
||||
|
||||
# MIT
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
|
||||
WANTLIB= GL GLU X11 Xext Xi Xmu c m
|
||||
|
||||
LIB_DEPENDS= glut::graphics/glut
|
||||
|
||||
WRKDIST= ${WRKDIR}/glsfcave
|
||||
|
||||
ALL_TARGET= glsfcave
|
||||
|
||||
CFLAGS+= -I${X11BASE}/include -I${LOCALBASE}/include
|
||||
MAKE_ENV+= LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/glsfcave ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
5
games/glsfcave/distinfo
Normal file
5
games/glsfcave/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (glsfcave-1.0-mitl.tar.bz2) = gid0TeoGR3OtL8NCpzhPYQ==
|
||||
RMD160 (glsfcave-1.0-mitl.tar.bz2) = waTdDMlnyFlja7mFpYL0o27s0ho=
|
||||
SHA1 (glsfcave-1.0-mitl.tar.bz2) = ZO3UKSvHEhOrzbXkngCNGOndIRQ=
|
||||
SHA256 (glsfcave-1.0-mitl.tar.bz2) = PR+/GtmLZ27APJ8pu7IjWy66wd/1SfDs2nuHE8FOKEY=
|
||||
SIZE (glsfcave-1.0-mitl.tar.bz2) = 4643
|
15
games/glsfcave/patches/patch-Makefile
Normal file
15
games/glsfcave/patches/patch-Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2008/03/19 20:22:09 simon Exp $
|
||||
--- Makefile.orig Fri Mar 14 13:35:20 2008
|
||||
+++ Makefile Mon Mar 17 11:32:06 2008
|
||||
@@ -1,9 +1,9 @@
|
||||
## MacOS X
|
||||
-LDFLAGS+=-framework OpenGL -framework GLUT -framework Foundation
|
||||
+#LDFLAGS+=-framework OpenGL -framework GLUT -framework Foundation
|
||||
## IRIX
|
||||
#LDFLAGS=-lglut -lGLU -lGL -lXmu -lXi -lXext -lX11 -lgen
|
||||
## FreeBSD/Linux
|
||||
-#LDFLAGS=-L/usr/X11R6/lib -lglut -lGLU -lGL -lXmu -lXi -lXext -lX11
|
||||
+LDFLAGS+=-lglut -lGLU -lGL -lXmu -lXi -lXext -lX11 -lm
|
||||
|
||||
glsfcave: main.o
|
||||
$(CC) $(CFLAGS) -o glsfcave main.o $(LDFLAGS)
|
6
games/glsfcave/pkg/DESCR
Normal file
6
games/glsfcave/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
GLSFcave is a port of SunFlat's SFcave for UNIX/OpenGL.
|
||||
SFcave is a game where the player controls a ribbon and avoid hitting
|
||||
walls.
|
||||
|
||||
You have only one control: when you hold the mouse button, the ribbon
|
||||
goes up. Otherwise the ribbon goes down.
|
2
games/glsfcave/pkg/PLIST
Normal file
2
games/glsfcave/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/03/19 20:22:09 simon Exp $
|
||||
bin/glsfcave
|
Loading…
x
Reference in New Issue
Block a user