aboutsummaryrefslogtreecommitdiffstats
path: root/games/bomns/Makefile
blob: 37cec268db5cd32d4cc988b8ece2276fae8f3eb3 (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
# 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:print/freetype2

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

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

PORTDOCS=   AUTHORS ChangeLog README

OPTIONS_DEFINE= DOCS

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

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>