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

PORTNAME=   xvier
PORTVERSION=    1.0
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   SUNSITE/games/strategy \
        SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES=  ${PORTNAME}${EXTRACT_SUFX} \
        ${PORTNAME}.png:icons
EXTRACT_ONLY=   ${PORTNAME}${EXTRACT_SUFX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Throw stones into free columns

USES=       imake tar:Z
USE_XORG=   x11 xext
USE_CSTD=   gnu89

PORTDOCS=   README
OPTIONS_DEFINE= DOCS

PLIST_FILES=    bin/${PORTNAME} \
        libexec/${PORTNAME}_prog \
        man/man6/xvier.6.gz \
        share/pixmaps/xvier.png

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

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}_prog \
        ${STAGEDIR}${PREFIX}/libexec/
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \
        ${STAGEDIR}${MAN6PREFIX}/man/man6/${PORTNAME}.6

    ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
        ${STAGEDIR}${PREFIX}/share/pixmaps/

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

.include <bsd.port.mk>