aboutsummaryrefslogtreecommitdiffstats
path: root/games/xkoules/Makefile
blob: 34ec6ee4e1c59b3b9a2862d5b675cfc609d7bfcf (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
# Created by: Andrey Zakhvatov
# $FreeBSD$

PORTNAME=   xkoules
PORTVERSION=    1.4
PORTREVISION=   4
CATEGORIES= games
MASTER_SITES=   http://www.ucw.cz/~hubicka/koules/packages/ \
        GENTOO/distfiles \
        SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/:icons
DISTFILES=  ${PORTNAME:S/x//}${PORTVERSION}-src${EXTRACT_SUFX} \
        ${PORTNAME:S/x//}.png:icons
EXTRACT_ONLY=   ${PORTNAME:S/x//}${PORTVERSION}-src${EXTRACT_SUFX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Fast action arcade-style game for X Window

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

WRKSRC=     ${WRKDIR}/${PORTNAME:S/x//}${PORTVERSION}

USES=       imake
USE_XORG=   x11 xext
MAKE_JOBS_UNSAFE=   yes

PORTDOCS=   ANNOUNCE ChangeLog Koules.FAQ README
OPTIONS_DEFINE= DOCS

DESKTOP_ENTRIES="XKoules" "" "${PORTNAME}" \
        "${PORTNAME} -M" "Game;ArcadeGame;" ""

post-extract:
    @${CP} ${WRKSRC}/xkoules.6 ${WRKSRC}/xkoules.man

post-install:
    ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME:S/x//}.png \
        ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png

    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>