aboutsummaryrefslogtreecommitdiffstats
path: root/games/violetland/Makefile
blob: 6ce4d8840b508621c237cedcb75cebee23d59c75 (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
# New ports collection makefile for:    violetland
# Date created:     25 Oct 2009
# Whom:         Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   violetland
PORTVERSION=    0.3.2
CATEGORIES= games
MASTER_SITES=   GOOGLE_CODE \
        http://mirror.amdmi3.ru/distfiles/
DISTNAME=   ${PORTNAME}-v${PORTVERSION}-src

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Top-down survival shoot 'em up

USE_ZIP=    yes
USE_SDL=    sdl mixer image ttf
USE_GL=     gl glu
MAKE_JOBS_SAFE= yes
USE_CMAKE=  yes
USE_GETTEXT=    yes
CMAKE_USE_PTHREAD=yes
CMAKE_ARGS= -DDATA_INSTALL_DIR="${DATADIR}"

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

DESKTOP_ENTRIES="Violetland" \
        "Top-down survival shoot 'em up" \
        "${DATADIR}/icon-light.png" \
        "violetland" \
        "Game;ArcadeGame;" \
        false

post-patch:
    @${REINPLACE_CMD} -e '/set.libList/ s|)| ${LOCALBASE}/lib/libintl.so&|' \
        ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>