1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/games/glsfcave/Makefile
Martin Wilke 20f659d957 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>
2008-03-26 16:53:46 +00:00

43 lines
891 B
Makefile

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