summaryrefslogtreecommitdiff
path: root/games/bomns/Makefile
blob: 11c4edfb5ce6f93f0f8d7619b2eab7e37ea19262 (plain) (blame)
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
39
40
41
42
# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$

PORTNAME=	bomns
PORTVERSION=	0.99.3
PORTREVISION=	2
CATEGORIES=	games

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Best old-school Deathmatch game ever (only for two players)

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2

USE_GITHUB=	yes
GH_ACCOUNT=	keithfancher
GH_PROJECT=	Bomns-for-Linux
GH_TAGNAME=	113be27

USES=		cmake
USE_SDL=	mixer sdl
USE_GNOME=	gtk20
CMAKE_ARGS+=	-Wno-dev
USE_CSTD=	gnu89
INSTALLS_ICONS=	yes

CFLAGS+=	-I${LOCALBASE}/include
CONFIGURE_ENV+=	LIBS=-L${LOCALBASE}/lib

PORTDOCS=	AUTHORS ChangeLog README
OPTIONS_DEFINE=	DOCS

post-install:
	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
		${STAGEDIR}${PREFIX}/share/pixmaps/

	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>