aboutsummaryrefslogtreecommitdiffstats
path: root/games/kimboot/Makefile
blob: 69df4bab26c179966336e34bc4cf21c880e79411 (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
43
44
45
46
# New ports collection makefile for:    kimboot
# Date created:     26 Jan 2007
# Whom:         Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#

PORTNAME=   kimboot
PORTVERSION=    0.74
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    A sick and addictive arcade game

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game \
        ${PYTHON_SITELIBDIR}/xode/__init__.py:${PORTSDIR}/devel/py-ode

USE_BZIP2=  yes
USE_PYTHON= 2.4+
NO_BUILD=   yes

SUB_FILES=  kimboot
SUB_LIST=   PROGRAM_DIR="${PREFIX}/lib/${PORTNAME}"

DESKTOP_ENTRIES="Kimboot" \
        "A sick and addictive arcade game" \
        "${PREFIX}/lib/kimboot/data/corpse.gif" \
        "kimboot" \
        "Game;ArcadeGame;" \
        false

do-install:
    ${MKDIR} ${PREFIX}/lib/${PORTNAME}
    ${MKDIR} ${PREFIX}/lib/${PORTNAME}/data
    ${MKDIR} ${PREFIX}/lib/${PORTNAME}/menu
.for file in *.py hiscores options.xml
    ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib/${PORTNAME}
.endfor
    ${INSTALL_DATA} ${WRKSRC}/data/* ${PREFIX}/lib/${PORTNAME}/data
    ${INSTALL_DATA} ${WRKSRC}/menu/* ${PREFIX}/lib/${PORTNAME}/menu
    ${INSTALL_SCRIPT} ${WRKDIR}/kimboot ${PREFIX}/bin

.include <bsd.port.mk>