aboutsummaryrefslogtreecommitdiffstats
path: root/games/fgkicker/Makefile
blob: 32162ce89dfeb9d2faf7305ae13d32aea4b4b834 (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
# New ports collection makefile for:    fgkicker
# Date created:     30 November 2003
# Whom:         Erik Greenwald <erik@smluc.org>
#
# $FreeBSD$
#

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

MAINTAINER= erik@smluc.org
COMMENT=    A launcher frontend for FlightGear

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

USE_X_PREFIX=   yes
USE_GNOME=  gtk20
USE_GMAKE=  yes
USE_REINPLACE=  yes

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

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

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

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

.include <bsd.port.mk>