aboutsummaryrefslogtreecommitdiffstats
path: root/games/osgg/Makefile
blob: f4d4ee6cc05d68ca48df4750ab1321ac9fd12b56 (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
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=   osgg
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= games

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    OldSkool Gravity Game

LICENSE=    GPLv3+

USE_GITHUB= yes
GH_ACCOUNT= DusteDdk
GH_PROJECT= Osgg
GH_TAGNAME= 32d9e02 # 1.0 + extra FreeBSD-related fixes

USE_SDL=    sdl image ttf mixer
USE_GL=     gl
MAKE_ENV=   DATADIR="${DATADIR}/"

PLIST_FILES=    bin/${PORTNAME}
PORTDATA=   *.txt *.ogg Bandal.ttf icon.png levels

DESKTOP_ENTRIES="Osgg" \
        "" \
        "${DATADIR}/icon.png" \
        "osgg" \
        "Game;ArcadeGame;" \
        ""

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
    @cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}/

.include <bsd.port.mk>