# Created by: nemysis@gmx.ch
# $FreeBSD: branches/RELEASE_8_4_0/games/asteroid/Makefile 314960 2013-03-22 20:06:14Z makc $

PORTNAME=	asteroid
PORTVERSION=	1.2.1
CATEGORIES=	games

MAINTAINER=	nemysis@gmx.ch
COMMENT=	Modern version of the arcade classic Asteroid

LICENSE=	GPLv3

USE_GITHUB=	yes
GH_ACCOUNT=	chazomaticus
GH_PROJECT=	asteroid
GH_TAGNAME=	master
GH_COMMIT=	6d23595

USE_GL=		glut
USE_SDL=	mixer sdl
USE_GNOME=	gtk20
USE_XORG=	xmu
INSTALLS_ICONS=	yes
USES=		cmake

PORTDOCS=	AUTHORS NEWS README.md

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
	@-update-desktop-database -q

.include <bsd.port.mk>
