aboutsummaryrefslogtreecommitdiffstats
path: root/games/fgkicker/Makefile
blob: 6f50052fd65d7006b949eee54c7bc2acf92bfda0 (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=    0.7
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   http://users.pandora.be/ceppe/linux/
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>