aboutsummaryrefslogtreecommitdiffstats
path: root/games/bloboats/Makefile
blob: 8238b607ad5a744668ff5fee980df29e6e404094 (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
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$

PORTNAME=   bloboats
PORTVERSION=    1.0.2
DISTVERSIONSUFFIX=  -source
PORTREVISION=   8
CATEGORIES= games
MASTER_SITES=   http://bloboats.dy.fi/mirror/ \
        LOCAL/ehaupt

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Boat racing game in the spirit of Elasto Mania or X-Moto

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/copying.txt

USES=       dos2unix gmake
USE_SDL=    mixer image net sdl
USE_GL=     gl glu

DESKTOP_ENTRIES="Bloboats" \
        "${COMMENT}" \
        "${PORTNAME}" \
        "${PORTNAME}" \
        "Game;" \
        false

MAKE_ENV+=  DATADIR="${DATADIR}" STAGEDIR=${STAGEDIR}

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

DOS2UNIX_FILES= src/*.cpp

post-install:
    ${INSTALL_DATA} ${WRKSRC}/data/images/icon.png \
        ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png

.include <bsd.port.mk>