aboutsummaryrefslogtreecommitdiffstats
path: root/games/abuse_sdl/Makefile
blob: 3bf8fd0e1c2b6ab123d0380eec3862d7ce167021 (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
# $FreeBSD$

PORTNAME=   abuse_sdl
PORTVERSION=    0.8
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   GENTOO/distfiles \
        http://abuse.zoy.org/raw-attachment/wiki/download/
DISTNAME=   abuse-${DISTVERSION}

MAINTAINER= nemysis@gmx.ch
COMMENT=    SDL port of the Abuse game engine

LICENSE=    GPLv2

USES=   pathfix
USE_GL=     gl
USE_SDL=    mixer sdl
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-assetdir=${DATADIR} --enable-release

MAN6=       abuse.6 abuse-tool.6

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

PORTDOCS=   AUTHORS ChangeLog NEWS README TODO

DESKTOP_ENTRIES="Abuse-SDL" "${COMMENT}" "abuse" \
        "abuse" "Game;StrategyGame;" false

NO_STAGE=   yes
.include <bsd.port.options.mk>

post-install:
    ${INSTALL_DATA} ${WRKSRC}/doc/abuse.png ${PREFIX}/share/pixmaps/

.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>