freebsd-ports/games/fgrun/Makefile
2010-02-05 11:46:55 +00:00

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: fgrun
# Date created: 18 Oct 2008
# Whom: buganini@gmail.com
#
# $FreeBSD$
#
PORTNAME= fgrun
PORTVERSION= 1.5.1
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= buganini@gmail.com
COMMENT= A graphical frontend to run FlightGear Flight Simulator
BUILD_DEPENDS= fltk-threads>=1.1.9:${PORTSDIR}/x11-toolkits/fltk-threads \
SimGear>=1.9.1:${PORTSDIR}/devel/simgear \
plib>=1.8.5:${PORTSDIR}/x11-toolkits/plib
RUN_DEPENDS= fltk-threads>=1.1.9:${PORTSDIR}/x11-toolkits/fltk-threads \
osg>=2.6.1:${PORTSDIR}/graphics/osg \
SimGear>=1.9.1:${PORTSDIR}/devel/simgear \
fgfs:${PORTSDIR}/games/flightgear \
plib>=1.8.5:${PORTSDIR}/x11-toolkits/plib
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GL= gl
.if defined(WITHOUT_NLS)
PLIST_SUB+= NLS="@comment "
CONFIGURE_ARGS= --disable-nls
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
.if defined(WITH_OSG_DEVEL)
LIB_DEPENDS+= osg.59:${PORTSDIR}/graphics/osg-devel
.else
LIB_DEPENDS+= osg.55:${PORTSDIR}/graphics/osg
.endif
post-patch:
.if defined(WITHOUT_NLS)
@${REINPLACE_CMD} 's|SUBDIRS = src po msvc|SUBDIRS = src|' \
${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>