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

PORTNAME=   icbm3d
PORTVERSION=    0.4
PORTREVISION=   4
CATEGORIES= games
MASTER_SITES=   ftp://ftp.tuxpaint.org/unix/x/icbm3d/  \
        SF/nemysisfreebsdp/games/${PORTNAME}/:icons
DISTFILES=  ${PORTNAME}.${DISTVERSION}${EXTRACT_SUFX} \
        ${PORTNAME}.png:icons
EXTRACT_ONLY=   ${PORTNAME}.${DISTVERSION}${EXTRACT_SUFX}

MAINTAINER= games@FreeBSD.org
COMMENT=    Inter-Continental Ballistic Missiles, 3D

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_XORG=   x11
MAKEFILE=   makefile
ALL_TARGET= ${PORTNAME}

PLIST_FILES=    bin/${PORTNAME} \
        share/pixmaps/${PORTNAME}.png

PORTDOCS=   README.txt
OPTIONS_DEFINE= DOCS

DESKTOP_ENTRIES="ICBM3D" "" "${PORTNAME}" \
        "${PORTNAME}" "Game;ArcadeGame;" ""

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
    ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
        ${STAGEDIR}${PREFIX}/share/pixmaps/

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

.include <bsd.port.mk>