mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
ba8e7aed18
PR: ports/189735 Submitted by: Kuan-Chung Chiu <buganini@gmail.com>
40 lines
997 B
Makefile
40 lines
997 B
Makefile
# Created by: buganini@gmail.com
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fgrun
|
|
PORTVERSION= 3.0.0
|
|
CATEGORIES= games
|
|
MASTER_SITES= https://gitorious.org/${GO_ACCOUNT}/${GO_PROJECT}/archive/${GO_TAGNAME}.tar.gz?dummy= \
|
|
LOCAL/martymac
|
|
|
|
MAINTAINER= buganini@gmail.com
|
|
COMMENT= A graphical frontend to run FlightGear Flight Simulator
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk \
|
|
libosg.so:${PORTSDIR}/graphics/osg
|
|
BUILD_DEPENDS= simgear>=2.10.0:${PORTSDIR}/devel/simgear \
|
|
${LOCALBASE}/include/boost/version.hpp:${PORTSDIR}/devel/boost-libs
|
|
RUN_DEPENDS= simgear>=2.10.0:${PORTSDIR}/devel/simgear \
|
|
fgfs:${PORTSDIR}/games/flightgear
|
|
|
|
WRKSRC= ${WRKDIR}/${GO_ACCOUNT}-${GO_PROJECT}
|
|
|
|
CMAKE_ARGS+= -DLIB_DIR=${PREFIX}/lib
|
|
|
|
USES= cmake
|
|
USE_GL= gl
|
|
|
|
GO_ACCOUNT= fg
|
|
GO_PROJECT= fgrun
|
|
GO_TAGNAME= e13e42811239008fded7685d8f2311bb571f6a58
|
|
FETCH_ARGS?= -o ${DISTDIR}/${DISTFILES}
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
NLS_USES= gettext
|
|
NLS_CMAKE_ON= -DENABLE_NLS=yes
|
|
|
|
.include <bsd.port.mk>
|