openbsd-ports/games/ivan/Makefile

40 lines
759 B
Makefile

# $OpenBSD: Makefile,v 1.4 2009/08/10 06:31:42 kili Exp $
.if ${MACHINE_ARCH} == "sparc64"
BROKEN= SIGBUS on sparc64 when starting
.endif
COMMENT= graphical roguelike game
DISTNAME= ivan-0.50
PKGNAME= ${DISTNAME}p1
CATEGORIES= games
HOMEPAGE= http://ivan.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ivan/}
WANTLIB= X11 Xext c m pthread pthread-stubs stdc++ usbhid xcb
LIB_DEPENDS= SDL.>=6::devel/sdl
VMEM_WARNING= Yes
USE_X11= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --localstatedir=/var/games
post-install:
${INSTALL_DATA} /dev/null \
${PREFIX}/share/ivan/ivan-highscore.scores
.include <bsd.port.mk>