Rigs of Rods (also known as RoR), is a truck, car, airplane and
boat simulator. You can drive, fly or sail in total freedom in an
open environment. What makes RoR different to most simulators is
its unique soft-body physics: vehicles chassis and wheels are
simulated in real-time as flexible objects, giving the simulation
an extremely accurate behavior, while allowing the vehicles to be
simply specified by their structural composition, as a network of
interconnected nodes (forming the chassis and the wheels). Crashing
into walls or terrain can permanently deform a vehicle in a realistic
manner. In addition to its unique soft-body physics, RoR also
features an advanced flight model based on blade element theory,
allowing the accurate simulation of any airplane, base on their
physical dimensions and wing airfoils. It also features an accurate
buoyancy model based on elemental pressure gradients, enabling boats
with complex hulls to move realistically in the swell.
WWW: http://www.rigsofrods.com/
2009-04-10 00:16:47 +02:00
|
|
|
# New ports collection makefile for: rigsofrods
|
|
|
|
# Date created: 05 Mar 2009
|
|
|
|
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= rigsofrods
|
2009-08-14 01:45:26 +02:00
|
|
|
PORTVERSION= 0.36.2
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 3
|
Rigs of Rods (also known as RoR), is a truck, car, airplane and
boat simulator. You can drive, fly or sail in total freedom in an
open environment. What makes RoR different to most simulators is
its unique soft-body physics: vehicles chassis and wheels are
simulated in real-time as flexible objects, giving the simulation
an extremely accurate behavior, while allowing the vehicles to be
simply specified by their structural composition, as a network of
interconnected nodes (forming the chassis and the wheels). Crashing
into walls or terrain can permanently deform a vehicle in a realistic
manner. In addition to its unique soft-body physics, RoR also
features an advanced flight model based on blade element theory,
allowing the accurate simulation of any airplane, base on their
physical dimensions and wing airfoils. It also features an accurate
buoyancy model based on elemental pressure gradients, enabling boats
with complex hulls to move realistically in the swell.
WWW: http://www.rigsofrods.com/
2009-04-10 00:16:47 +02:00
|
|
|
CATEGORIES= games
|
2009-08-14 01:45:26 +02:00
|
|
|
MASTER_SITES= SF
|
|
|
|
DISTFILES= ${PORTNAME}-source-${PORTVERSION}${EXTRACT_SUFX} \
|
|
|
|
${PORTNAME}-contents-${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
EXTRACT_ONLY= ${PORTNAME}-source-${PORTVERSION}${EXTRACT_SUFX}
|
Rigs of Rods (also known as RoR), is a truck, car, airplane and
boat simulator. You can drive, fly or sail in total freedom in an
open environment. What makes RoR different to most simulators is
its unique soft-body physics: vehicles chassis and wheels are
simulated in real-time as flexible objects, giving the simulation
an extremely accurate behavior, while allowing the vehicles to be
simply specified by their structural composition, as a network of
interconnected nodes (forming the chassis and the wheels). Crashing
into walls or terrain can permanently deform a vehicle in a realistic
manner. In addition to its unique soft-body physics, RoR also
features an advanced flight model based on blade element theory,
allowing the accurate simulation of any airplane, base on their
physical dimensions and wing airfoils. It also features an accurate
buoyancy model based on elemental pressure gradients, enabling boats
with complex hulls to move realistically in the swell.
WWW: http://www.rigsofrods.com/
2009-04-10 00:16:47 +02:00
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= Truck, car, airplane and boat simulator with advanced physics
|
|
|
|
|
2010-01-25 20:15:18 +01:00
|
|
|
LIB_DEPENDS= zzip.13:${PORTSDIR}/devel/zziplib \
|
Rigs of Rods (also known as RoR), is a truck, car, airplane and
boat simulator. You can drive, fly or sail in total freedom in an
open environment. What makes RoR different to most simulators is
its unique soft-body physics: vehicles chassis and wheels are
simulated in real-time as flexible objects, giving the simulation
an extremely accurate behavior, while allowing the vehicles to be
simply specified by their structural composition, as a network of
interconnected nodes (forming the chassis and the wheels). Crashing
into walls or terrain can permanently deform a vehicle in a realistic
manner. In addition to its unique soft-body physics, RoR also
features an advanced flight model based on blade element theory,
allowing the accurate simulation of any airplane, base on their
physical dimensions and wing airfoils. It also features an accurate
buoyancy model based on elemental pressure gradients, enabling boats
with complex hulls to move realistically in the swell.
WWW: http://www.rigsofrods.com/
2009-04-10 00:16:47 +02:00
|
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
|
|
|
CEGUIBase.3:${PORTSDIR}/graphics/cegui \
|
2009-07-01 22:25:30 +02:00
|
|
|
freeimage.3:${PORTSDIR}/graphics/freeimage
|
Rigs of Rods (also known as RoR), is a truck, car, airplane and
boat simulator. You can drive, fly or sail in total freedom in an
open environment. What makes RoR different to most simulators is
its unique soft-body physics: vehicles chassis and wheels are
simulated in real-time as flexible objects, giving the simulation
an extremely accurate behavior, while allowing the vehicles to be
simply specified by their structural composition, as a network of
interconnected nodes (forming the chassis and the wheels). Crashing
into walls or terrain can permanently deform a vehicle in a realistic
manner. In addition to its unique soft-body physics, RoR also
features an advanced flight model based on blade element theory,
allowing the accurate simulation of any airplane, base on their
physical dimensions and wing airfoils. It also features an accurate
buoyancy model based on elemental pressure gradients, enabling boats
with complex hulls to move realistically in the swell.
WWW: http://www.rigsofrods.com/
2009-04-10 00:16:47 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libOIS.so:${PORTSDIR}/devel/ois \
|
|
|
|
unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/libOIS.so:${PORTSDIR}/devel/ois \
|
|
|
|
xset:${PORTSDIR}/x11/xset
|
|
|
|
|
2009-08-14 01:45:26 +02:00
|
|
|
USE_ZIP= yes
|
2010-01-25 20:15:18 +01:00
|
|
|
USE_OPENAL= al
|
Rigs of Rods (also known as RoR), is a truck, car, airplane and
boat simulator. You can drive, fly or sail in total freedom in an
open environment. What makes RoR different to most simulators is
its unique soft-body physics: vehicles chassis and wheels are
simulated in real-time as flexible objects, giving the simulation
an extremely accurate behavior, while allowing the vehicles to be
simply specified by their structural composition, as a network of
interconnected nodes (forming the chassis and the wheels). Crashing
into walls or terrain can permanently deform a vehicle in a realistic
manner. In addition to its unique soft-body physics, RoR also
features an advanced flight model based on blade element theory,
allowing the accurate simulation of any airplane, base on their
physical dimensions and wing airfoils. It also features an accurate
buoyancy model based on elemental pressure gradients, enabling boats
with complex hulls to move realistically in the swell.
WWW: http://www.rigsofrods.com/
2009-04-10 00:16:47 +02:00
|
|
|
USE_XORG= x11 xt xaw sm ice xext
|
2009-08-14 01:45:26 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-source-${PORTVERSION}/build
|
Rigs of Rods (also known as RoR), is a truck, car, airplane and
boat simulator. You can drive, fly or sail in total freedom in an
open environment. What makes RoR different to most simulators is
its unique soft-body physics: vehicles chassis and wheels are
simulated in real-time as flexible objects, giving the simulation
an extremely accurate behavior, while allowing the vehicles to be
simply specified by their structural composition, as a network of
interconnected nodes (forming the chassis and the wheels). Crashing
into walls or terrain can permanently deform a vehicle in a realistic
manner. In addition to its unique soft-body physics, RoR also
features an advanced flight model based on blade element theory,
allowing the accurate simulation of any airplane, base on their
physical dimensions and wing airfoils. It also features an accurate
buoyancy model based on elemental pressure gradients, enabling boats
with complex hulls to move realistically in the swell.
WWW: http://www.rigsofrods.com/
2009-04-10 00:16:47 +02:00
|
|
|
USE_WX= 2.6+
|
|
|
|
WX_UNICODE= yes
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
|
|
|
USE_CMAKE= yes
|
2009-08-14 01:45:26 +02:00
|
|
|
# CG unavailable for FreeBSD
|
Rigs of Rods (also known as RoR), is a truck, car, airplane and
boat simulator. You can drive, fly or sail in total freedom in an
open environment. What makes RoR different to most simulators is
its unique soft-body physics: vehicles chassis and wheels are
simulated in real-time as flexible objects, giving the simulation
an extremely accurate behavior, while allowing the vehicles to be
simply specified by their structural composition, as a network of
interconnected nodes (forming the chassis and the wheels). Crashing
into walls or terrain can permanently deform a vehicle in a realistic
manner. In addition to its unique soft-body physics, RoR also
features an advanced flight model based on blade element theory,
allowing the accurate simulation of any airplane, base on their
physical dimensions and wing airfoils. It also features an accurate
buoyancy model based on elemental pressure gradients, enabling boats
with complex hulls to move realistically in the swell.
WWW: http://www.rigsofrods.com/
2009-04-10 00:16:47 +02:00
|
|
|
CMAKE_ARGS= -DROR_BUILD_HYDRAX=TRUE \
|
2009-08-14 01:45:26 +02:00
|
|
|
-DROR_BUILD_PAGED=TRUE \
|
Rigs of Rods (also known as RoR), is a truck, car, airplane and
boat simulator. You can drive, fly or sail in total freedom in an
open environment. What makes RoR different to most simulators is
its unique soft-body physics: vehicles chassis and wheels are
simulated in real-time as flexible objects, giving the simulation
an extremely accurate behavior, while allowing the vehicles to be
simply specified by their structural composition, as a network of
interconnected nodes (forming the chassis and the wheels). Crashing
into walls or terrain can permanently deform a vehicle in a realistic
manner. In addition to its unique soft-body physics, RoR also
features an advanced flight model based on blade element theory,
allowing the accurate simulation of any airplane, base on their
physical dimensions and wing airfoils. It also features an accurate
buoyancy model based on elemental pressure gradients, enabling boats
with complex hulls to move realistically in the swell.
WWW: http://www.rigsofrods.com/
2009-04-10 00:16:47 +02:00
|
|
|
-DROR_BUILD_LUASCRIPT=TRUE \
|
|
|
|
-DROR_BUILD_CONFIGURATOR=TRUE \
|
|
|
|
-DOGRE_BUILD_PLUGIN_CG=FALSE \
|
|
|
|
-DLOCALBASE="${LOCALBASE}" \
|
|
|
|
-DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}"
|
|
|
|
CMAKE_USE_PTHREAD= yes
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
SUB_FILES= RoR.sh rorconfig.sh
|
|
|
|
|
|
|
|
LIB_FILES= dependencies/ogrenew/OgreMain/libOgreMain.so.1 \
|
|
|
|
dependencies/ogrenew/PlugIns/OctreeSceneManager/Plugin_OctreeSceneManager.so \
|
|
|
|
dependencies/ogrenew/PlugIns/ParticleFX/Plugin_ParticleFX.so \
|
|
|
|
dependencies/ogrenew/RenderSystems/GL/RenderSystem_GL.so \
|
|
|
|
dependencies/Caelum-2006-11-09/libcaelum.so \
|
|
|
|
dependencies/mygui/libmygui.so \
|
2009-04-11 00:26:03 +02:00
|
|
|
dependencies/hydrax/libhydrax.so \
|
Rigs of Rods (also known as RoR), is a truck, car, airplane and
boat simulator. You can drive, fly or sail in total freedom in an
open environment. What makes RoR different to most simulators is
its unique soft-body physics: vehicles chassis and wheels are
simulated in real-time as flexible objects, giving the simulation
an extremely accurate behavior, while allowing the vehicles to be
simply specified by their structural composition, as a network of
interconnected nodes (forming the chassis and the wheels). Crashing
into walls or terrain can permanently deform a vehicle in a realistic
manner. In addition to its unique soft-body physics, RoR also
features an advanced flight model based on blade element theory,
allowing the accurate simulation of any airplane, base on their
physical dimensions and wing airfoils. It also features an accurate
buoyancy model based on elemental pressure gradients, enabling boats
with complex hulls to move realistically in the swell.
WWW: http://www.rigsofrods.com/
2009-04-10 00:16:47 +02:00
|
|
|
dependencies/mysocketw/libmysocketw.so
|
|
|
|
|
2009-05-25 12:05:29 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not compile on sparc64
|
|
|
|
.endif
|
|
|
|
|
Rigs of Rods (also known as RoR), is a truck, car, airplane and
boat simulator. You can drive, fly or sail in total freedom in an
open environment. What makes RoR different to most simulators is
its unique soft-body physics: vehicles chassis and wheels are
simulated in real-time as flexible objects, giving the simulation
an extremely accurate behavior, while allowing the vehicles to be
simply specified by their structural composition, as a network of
interconnected nodes (forming the chassis and the wheels). Crashing
into walls or terrain can permanently deform a vehicle in a realistic
manner. In addition to its unique soft-body physics, RoR also
features an advanced flight model based on blade element theory,
allowing the accurate simulation of any airplane, base on their
physical dimensions and wing airfoils. It also features an accurate
buoyancy model based on elemental pressure gradients, enabling boats
with complex hulls to move realistically in the swell.
WWW: http://www.rigsofrods.com/
2009-04-10 00:16:47 +02:00
|
|
|
post-extract:
|
|
|
|
@${RM} -rf ${WRKSRC}/dependencies/ogrenew/Dependencies
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|; \
|
|
|
|
s|%%PREFIX%%|${PREFIX}|' \
|
|
|
|
${WRKSRC}/main/source/Settings.cpp \
|
|
|
|
${WRKSRC}/configurator/source/configurator.cpp
|
2009-08-14 01:45:26 +02:00
|
|
|
.if ${OSVERSION} >= 800067
|
|
|
|
# after strnlen was introduced, use it
|
|
|
|
@${REINPLACE_CMD} -e '/strnlen/ d' ${WRKSRC}/main/CMakeLists.txt \
|
|
|
|
${WRKSRC}/configurator/CMakeLists.txt
|
|
|
|
.endif
|
Rigs of Rods (also known as RoR), is a truck, car, airplane and
boat simulator. You can drive, fly or sail in total freedom in an
open environment. What makes RoR different to most simulators is
its unique soft-body physics: vehicles chassis and wheels are
simulated in real-time as flexible objects, giving the simulation
an extremely accurate behavior, while allowing the vehicles to be
simply specified by their structural composition, as a network of
interconnected nodes (forming the chassis and the wheels). Crashing
into walls or terrain can permanently deform a vehicle in a realistic
manner. In addition to its unique soft-body physics, RoR also
features an advanced flight model based on blade element theory,
allowing the accurate simulation of any airplane, base on their
physical dimensions and wing airfoils. It also features an accurate
buoyancy model based on elemental pressure gradients, enabling boats
with complex hulls to move realistically in the swell.
WWW: http://www.rigsofrods.com/
2009-04-10 00:16:47 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
# libs
|
|
|
|
${MKDIR} ${PREFIX}/lib/${PORTNAME}
|
|
|
|
.for f in ${LIB_FILES}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/lib/${PORTNAME}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
# binaries
|
|
|
|
${MKDIR} ${PREFIX}/libexec/${PORTNAME}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/main/RoR ${PREFIX}/libexec/${PORTNAME}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/configurator/rorconfig ${PREFIX}/libexec/${PORTNAME}
|
|
|
|
|
|
|
|
# data
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
${SED} -e '/Plugin_CgProgramManager/ s|^|#|' \
|
|
|
|
< ${WRKSRC}/bin/release/linux/plugins.cfg \
|
|
|
|
> ${DATADIR}/plugins.cfg
|
2009-08-14 01:45:26 +02:00
|
|
|
${UNZIP_CMD} -qq -o -d ${DATADIR} ${DISTDIR}/${PORTNAME}-contents-${PORTVERSION}.zip \
|
Rigs of Rods (also known as RoR), is a truck, car, airplane and
boat simulator. You can drive, fly or sail in total freedom in an
open environment. What makes RoR different to most simulators is
its unique soft-body physics: vehicles chassis and wheels are
simulated in real-time as flexible objects, giving the simulation
an extremely accurate behavior, while allowing the vehicles to be
simply specified by their structural composition, as a network of
interconnected nodes (forming the chassis and the wheels). Crashing
into walls or terrain can permanently deform a vehicle in a realistic
manner. In addition to its unique soft-body physics, RoR also
features an advanced flight model based on blade element theory,
allowing the accurate simulation of any airplane, base on their
physical dimensions and wing airfoils. It also features an accurate
buoyancy model based on elemental pressure gradients, enabling boats
with complex hulls to move realistically in the swell.
WWW: http://www.rigsofrods.com/
2009-04-10 00:16:47 +02:00
|
|
|
languages/\* resources/\* skeleton/\* streams/\*
|
|
|
|
|
|
|
|
# wrappers
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/RoR.sh ${PREFIX}/bin/RoR
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/rorconfig.sh ${PREFIX}/bin/rorconfig
|
|
|
|
|
|
|
|
#docs
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2009-08-14 01:45:26 +02:00
|
|
|
${UNZIP_CMD} -qq -o -d ${DOCSDIR} ${DISTDIR}/${PORTNAME}-contents-${PORTVERSION}.zip \
|
Rigs of Rods (also known as RoR), is a truck, car, airplane and
boat simulator. You can drive, fly or sail in total freedom in an
open environment. What makes RoR different to most simulators is
its unique soft-body physics: vehicles chassis and wheels are
simulated in real-time as flexible objects, giving the simulation
an extremely accurate behavior, while allowing the vehicles to be
simply specified by their structural composition, as a network of
interconnected nodes (forming the chassis and the wheels). Crashing
into walls or terrain can permanently deform a vehicle in a realistic
manner. In addition to its unique soft-body physics, RoR also
features an advanced flight model based on blade element theory,
allowing the accurate simulation of any airplane, base on their
physical dimensions and wing airfoils. It also features an accurate
buoyancy model based on elemental pressure gradients, enabling boats
with complex hulls to move realistically in the swell.
WWW: http://www.rigsofrods.com/
2009-04-10 00:16:47 +02:00
|
|
|
\*.pdf
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2009-05-25 12:05:29 +02:00
|
|
|
.include <bsd.port.post.mk>
|