summaryrefslogtreecommitdiffstats
path: root/games/asteroid/Makefile
blob: a2d805fe459ac1dd936ea0639ecaa7c8b4daabd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Created by: nemysis <nemysis@gmx.ch>
# $FreeBSD$

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=	${GH_COMMIT}
GH_COMMIT=	6d23595

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

PORTDOCS=	AUTHORS NEWS README.md

NO_STAGE=	yes
.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>
OpenPOWER on IntegriCloud