openbsd-ports/games/glsfcave/Makefile
2010-11-16 11:23:25 +00:00

40 lines
830 B
Makefile

# $OpenBSD: Makefile,v 1.6 2010/11/16 11:23:27 espie Exp $
COMMENT= control a ribbon to avoid hitting walls
V= 1.0
DISTNAME= glsfcave-$V-mitl
PKGNAME= glsfcave-$V
REVISION = 2
CATEGORIES= games
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://user.ecc.u-tokyo.ac.jp/~s081016/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 pthread-stubs xcb glut>=4
LIB_DEPENDS= graphics/freeglut
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>