aboutsummaryrefslogtreecommitdiffstats
path: root/games/nuclearchess/Makefile
blob: 3e14f0a6cb86e1d86eeafcac6c2d29b8db0a0876 (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
# Created by: Shaun Amott <shaun@inerd.com>
# $FreeBSD$

PORTNAME=   nuclearchess
PORTVERSION=    1.0.0
PORTREVISION=   8
CATEGORIES= games
MASTER_SITES=   http://www.linux-games.com/nuclearchess/ \
        SF/nemysisfreebsdp/:icons
DISTFILES=  ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
        ${PORTNAME}.png:icons
DIST_SUBDIR=    ${PORTNAME}
EXTRACT_ONLY=   ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}

MAINTAINER= nemysis@gmx.ch
COMMENT=    Chess variant designed to be short and fun for all players

LICENSE=    GPLv2

USE_SDL=    sdl image
USE_GNOME=  desktopfileutils
INSTALLS_ICONS= yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --localstatedir=${DATADIR}
MAKE_JOBS_SAFE= yes

PORTDOCS=   AUTHORS ChangeLog

DESKTOP_ENTRIES="NuclearChess" "${COMMENT}"  \
        "${PREFIX}/share/pixmaps/${PORTNAME}.png" \
        "${PORTNAME}" "Game;BoardGame;" false

.include <bsd.port.options.mk>

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

.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
    @-update-desktop-database

.include <bsd.port.mk>