aboutsummaryrefslogtreecommitdiffstats
path: root/games/barrage/Makefile
blob: 0114c3624125ade2914f4bcff3ed16bba7bb8e3e (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
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
# $FreeBSD$

PORTNAME=   barrage
PORTVERSION=    1.0.5
CATEGORIES= games
MASTER_SITES=   SF/lgames/${PORTNAME}/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Destroy as many targets as possible

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

USES=       gmake gnome sdl
USE_SDL=    sdl mixer

GNU_CONFIGURE=  yes

INSTALLS_ICONS= yes

PORTDOCS=   AUTHORS BUGS ChangeLog README
OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e 's|/games/|/|g' ${WRKSRC}/configure

post-install:
    ${LN} -sf ${PREFIX}/share/icons/${PORTNAME}48.png \
        ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png

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

.include <bsd.port.mk>