openbsd-ports/games/glsfcave/Makefile

39 lines
820 B
Makefile

# $OpenBSD: Makefile,v 1.4 2009/08/10 06:31:42 kili Exp $
COMMENT= control a ribbon to avoid hitting walls
V= 1.0
DISTNAME= glsfcave-$V-mitl
PKGNAME= glsfcave-$Vp2
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
LIB_DEPENDS= glut.>=4::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>