aboutsummaryrefslogtreecommitdiffstats
path: root/games/icebreaker/Makefile
blob: 17159b76d7bece43333542334eefe397d65594a1 (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
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$

PORTNAME=   icebreaker
PORTVERSION=    1.9.8
PORTREVISION=   2
CATEGORIES= games
MASTER_SITES=   http://mattdm.org/icebreaker/1.9.x/ \
        SF/nemysisfreebsdp/games/${PORTNAME}/:icons
DISTFILES=  ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
        ${PORTNAME}.png:icons
EXTRACT_ONLY=   ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Game similar to Jezzball or Barrack

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/LICENSE

USES=       gmake tar:tgz
USE_SDL=    mixer sdl

PORTDOCS=   ChangeLog README README.SDL README.ifyoumakechanges \
        README.themes

OPTIONS_DEFINE= DOCS

post-install:
    ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
        ${STAGEDIR}${PREFIX}/share/pixmaps/
    ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}

    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>