aboutsummaryrefslogtreecommitdiffstats
path: root/games/fgkicker/Makefile
blob: 9ec127a36a6f6ed6eb5fd7ea6c76ad3d41deb72b (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
# Created by: Erik Greenwald <erik@smluc.org>
# $FreeBSD$

PORTNAME=   fgkicker
PORTVERSION=    1.0
PORTREVISION=   9
CATEGORIES= games
MASTER_SITES=   http://www.larfeliz.be/projects/files/fgkicker/

MAINTAINER= erik@bz.bzflag.bz
COMMENT=    Launcher frontend for FlightGear

BROKEN=     unfetchable

RUN_DEPENDS=    fgfs:${PORTSDIR}/games/flightgear

USE_GNOME=  gtk20
USES=       gmake pkgconfig tar:tgz

post-patch:
    @${REINPLACE_CMD} "s|-fmessage-length=0|| ; s|-O0|${CFLAGS}|" ${WRKSRC}/fgkicker.mak

do-build:
    (cd ${WRKSRC} && ${MAKE_CMD} -f ${PORTNAME}.mak ${PORTNAME})

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/airports.dat ${STAGEDIR}${DATADIR}

install-user:
    ${INSTALL_DATA} ${DATADIR}/airports.dat $$HOME

.include <bsd.port.mk>