mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Crrcsim is a model-airplane flight simulation program. Using it,
you can learn how to fly model aircraft, test new aircraft designs, and improve your skills by practicing on your computer. It rules! The flight model is very realistic. The flight model parameters are calculated based on a 3D representation of the aircraft. Stalls are properly modelled as well. Model control is possible with your own rc transmitter, or any input device such as joystick, mouse, keyboard. WWW: http://crrcsim.sourceforge.net/ PR: ports/124659 Submitted by: Dmitry Marakasov <amdmi3 at amdmi3.ru>
This commit is contained in:
parent
1b0c95cb7b
commit
2bc8484509
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215259
@ -148,6 +148,7 @@
|
||||
SUBDIR += criticalmass
|
||||
SUBDIR += crossfire-client
|
||||
SUBDIR += crossfire-server
|
||||
SUBDIR += crrcsim
|
||||
SUBDIR += cryptoslam
|
||||
SUBDIR += csmash
|
||||
SUBDIR += ctris
|
||||
|
50
games/crrcsim/Makefile
Normal file
50
games/crrcsim/Makefile
Normal file
@ -0,0 +1,50 @@
|
||||
# New ports collection makefile for: crrcsim
|
||||
# Date created: 17 Jun 2008
|
||||
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= crrcsim
|
||||
PORTVERSION= 0.9.9
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= amdmi3@amdmi3.ru
|
||||
COMMENT= Model-airplane flight simulation program
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_SDL= sdl
|
||||
USE_GL= gl glu
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS= PORTAUDIO19 "Use portaudio19 instead of portaudio18" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_PORTAUDIO19)
|
||||
LIB_DEPENDS+= portaudio.2:${PORTSDIR}/audio/portaudio2
|
||||
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib/portaudio2 -L${LOCALBASE}/lib"\
|
||||
CPPFLAGS="-I${LOCALBASE}/include/portaudio2 -I${LOCALBASE}/include"
|
||||
.else
|
||||
LIB_DEPENDS+= portaudio.0:${PORTSDIR}/audio/portaudio
|
||||
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/portaudio/ s|==|=|' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|/usr/local/share/games|${PREFIX}/share|' \
|
||||
${WRKSRC}/config.cpp
|
||||
@cd ${WRKSRC} && ${FIND} . -name Makefile.in -print0 | ${XARGS} -0 \
|
||||
${REINPLACE_CMD} -e 's|share/games|share|; \
|
||||
s|$$(datadir)/games|$$(datadir)|'
|
||||
.if defined(NOPORTDOCS)
|
||||
@${REINPLACE_CMD} -e '/SUBDIRS/ s|documentation||' \
|
||||
${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
games/crrcsim/distinfo
Normal file
3
games/crrcsim/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (crrcsim-0.9.9.tar.gz) = 5ac9bc6e186339c6e8c1cbfd30c763b5
|
||||
SHA256 (crrcsim-0.9.9.tar.gz) = bc43768aa20812d888d6bf5c6343305a62fff95acbb0c0813a6eb3aa5d46107d
|
||||
SIZE (crrcsim-0.9.9.tar.gz) = 5276552
|
11
games/crrcsim/files/patch-interface_parallel-parallel.cpp
Normal file
11
games/crrcsim/files/patch-interface_parallel-parallel.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- interface_parallel/parallel.cpp.orig 2008-04-30 00:00:35.000000000 +0400
|
||||
+++ interface_parallel/parallel.cpp 2008-06-17 03:49:23.000000000 +0400
|
||||
@@ -5,7 +5,7 @@
|
||||
#if defined(__APPLE__) || defined(MACOSX)
|
||||
#else
|
||||
# if defined(WIN32)
|
||||
-# elif defined(__powerpc__)
|
||||
+# elif defined(__powerpc__) || defined(__FreeBSD__)
|
||||
# define ioperm(a,b,c) -1
|
||||
# define inb(a) 0
|
||||
# define outb(a,b)
|
11
games/crrcsim/pkg-descr
Normal file
11
games/crrcsim/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
Crrcsim is a model-airplane flight simulation program. Using it,
|
||||
you can learn how to fly model aircraft, test new aircraft designs,
|
||||
and improve your skills by practicing on your computer.
|
||||
|
||||
It rules! The flight model is very realistic. The flight model
|
||||
parameters are calculated based on a 3D representation of the
|
||||
aircraft. Stalls are properly modelled as well. Model control is
|
||||
possible with your own rc transmitter, or any input device such as
|
||||
joystick, mouse, keyboard.
|
||||
|
||||
WWW: http://crrcsim.sourceforge.net/
|
131
games/crrcsim/pkg-plist
Normal file
131
games/crrcsim/pkg-plist
Normal file
@ -0,0 +1,131 @@
|
||||
bin/crrcsim
|
||||
%%DATADIR%%/icons/crrcsim.ico
|
||||
%%DATADIR%%/icons/crrcsim.png
|
||||
%%DATADIR%%/icons/crrcsim.xpm
|
||||
%%DATADIR%%/models/FlexiflyXLM.xml
|
||||
%%DATADIR%%/models/Skorpion.xml
|
||||
%%DATADIR%%/models/allegro.xml
|
||||
%%DATADIR%%/models/apogee.xml
|
||||
%%DATADIR%%/models/arkanj-mg11.xml
|
||||
%%DATADIR%%/models/battery/nimh12_2400.xml
|
||||
%%DATADIR%%/models/battery/nimh7_kan1050.xml
|
||||
%%DATADIR%%/models/biplane2.xml
|
||||
%%DATADIR%%/models/engine/CDROM_227x40x14Y050.xml
|
||||
%%DATADIR%%/models/engine/Mabuchi_380_FR.xml
|
||||
%%DATADIR%%/models/engine/astro_cobalt_10.xml
|
||||
%%DATADIR%%/models/engine/turbo_550_8.xml
|
||||
%%DATADIR%%/models/gap65.xml
|
||||
%%DATADIR%%/models/k2.xml
|
||||
%%DATADIR%%/models/mav.xml
|
||||
%%DATADIR%%/models/mav0.xml
|
||||
%%DATADIR%%/models/outrage.xml
|
||||
%%DATADIR%%/models/quickie01.xml
|
||||
%%DATADIR%%/models/sovereign.xml
|
||||
%%DATADIR%%/models/sport.xml
|
||||
%%DATADIR%%/models/superzagi.xml
|
||||
%%DATADIR%%/models/zagi-xs.xml
|
||||
%%DATADIR%%/models/zagi.xml
|
||||
%%DATADIR%%/models/zip60.xml
|
||||
%%DATADIR%%/models/zipper.xml
|
||||
%%DATADIR%%/objects/Skorpion.ac
|
||||
%%DATADIR%%/objects/allegro.ac
|
||||
%%DATADIR%%/objects/apogee.ac
|
||||
%%DATADIR%%/objects/arkanj-mg11.ac
|
||||
%%DATADIR%%/objects/biplane2.ac
|
||||
%%DATADIR%%/objects/flexifly_xlm.ac
|
||||
%%DATADIR%%/objects/gap65.ac
|
||||
%%DATADIR%%/objects/gap65_raven.ac
|
||||
%%DATADIR%%/objects/k2.ac
|
||||
%%DATADIR%%/objects/mav.ac
|
||||
%%DATADIR%%/objects/outrage.ac
|
||||
%%DATADIR%%/objects/quickie01.ac
|
||||
%%DATADIR%%/objects/sovereign.ac
|
||||
%%DATADIR%%/objects/sport.ac
|
||||
%%DATADIR%%/objects/zagi-xs.ac
|
||||
%%DATADIR%%/objects/zagi.ac
|
||||
%%DATADIR%%/objects/zip60.ac
|
||||
%%DATADIR%%/objects/zipper.ac
|
||||
%%DATADIR%%/scenery/cape_cod-orig.xml
|
||||
%%DATADIR%%/scenery/cape_cod.xml
|
||||
%%DATADIR%%/scenery/coast.tga
|
||||
%%DATADIR%%/scenery/coast.xml
|
||||
%%DATADIR%%/scenery/davis-orig.xml
|
||||
%%DATADIR%%/scenery/davis.xml
|
||||
%%DATADIR%%/sounds/electric.wav
|
||||
%%DATADIR%%/sounds/f3f/default/base1.wav
|
||||
%%DATADIR%%/sounds/f3f/default/base10.wav
|
||||
%%DATADIR%%/sounds/f3f/default/base2.wav
|
||||
%%DATADIR%%/sounds/f3f/default/base3.wav
|
||||
%%DATADIR%%/sounds/f3f/default/base4.wav
|
||||
%%DATADIR%%/sounds/f3f/default/base5.wav
|
||||
%%DATADIR%%/sounds/f3f/default/base6.wav
|
||||
%%DATADIR%%/sounds/f3f/default/base7.wav
|
||||
%%DATADIR%%/sounds/f3f/default/base8.wav
|
||||
%%DATADIR%%/sounds/f3f/default/base9.wav
|
||||
%%DATADIR%%/sounds/f3f/default/entry.wav
|
||||
%%DATADIR%%/sounds/f3f/default/first.wav
|
||||
%%DATADIR%%/sounds/f3f/default/penalty.wav
|
||||
%%DATADIR%%/sounds/f3f/default/start.wav
|
||||
%%DATADIR%%/sounds/f3f/sport/base0.wav
|
||||
%%DATADIR%%/sounds/f3f/sport/base1.wav
|
||||
%%DATADIR%%/sounds/f3f/sport/base10.wav
|
||||
%%DATADIR%%/sounds/f3f/sport/base2.wav
|
||||
%%DATADIR%%/sounds/f3f/sport/base3.wav
|
||||
%%DATADIR%%/sounds/f3f/sport/base4.wav
|
||||
%%DATADIR%%/sounds/f3f/sport/base5.wav
|
||||
%%DATADIR%%/sounds/f3f/sport/base6.wav
|
||||
%%DATADIR%%/sounds/f3f/sport/base7.wav
|
||||
%%DATADIR%%/sounds/f3f/sport/base8.wav
|
||||
%%DATADIR%%/sounds/f3f/sport/base9.wav
|
||||
%%DATADIR%%/sounds/f3f/sport/entry.wav
|
||||
%%DATADIR%%/sounds/f3f/sport/first.wav
|
||||
%%DATADIR%%/sounds/f3f/sport/penalty.wav
|
||||
%%DATADIR%%/sounds/f3f/sport/start.wav
|
||||
%%DATADIR%%/sounds/fan.wav
|
||||
%%DATADIR%%/sounds/glider.wav
|
||||
%%DATADIR%%/textures/beachsand.rgb
|
||||
%%DATADIR%%/textures/clouds.bw
|
||||
%%DATADIR%%/textures/clouds.rgb
|
||||
%%DATADIR%%/textures/decid.rgb
|
||||
%%DATADIR%%/textures/dirt.rgb
|
||||
%%DATADIR%%/textures/eastern_view.rgb
|
||||
%%DATADIR%%/textures/flexifly_xlm.rgb
|
||||
%%DATADIR%%/textures/freqboard.rgb
|
||||
%%DATADIR%%/textures/gap65.rgb
|
||||
%%DATADIR%%/textures/gap65_raven.rgb
|
||||
%%DATADIR%%/textures/grass.rgb
|
||||
%%DATADIR%%/textures/grass_1.rgb
|
||||
%%DATADIR%%/textures/grass_side.rgb
|
||||
%%DATADIR%%/textures/grass_top.rgb
|
||||
%%DATADIR%%/textures/hilledge.rgb
|
||||
%%DATADIR%%/textures/log.rgb
|
||||
%%DATADIR%%/textures/netrees.rgb
|
||||
%%DATADIR%%/textures/outhouse.rgb
|
||||
%%DATADIR%%/textures/pinetrees.rgb
|
||||
%%DATADIR%%/textures/sand.rgb
|
||||
%%DATADIR%%/textures/scrub.rgb
|
||||
%%DATADIR%%/textures/scrubedge.rgb
|
||||
%%DATADIR%%/textures/skybox_e.rgb
|
||||
%%DATADIR%%/textures/skybox_n.rgb
|
||||
%%DATADIR%%/textures/skybox_s.rgb
|
||||
%%DATADIR%%/textures/skybox_u.rgb
|
||||
%%DATADIR%%/textures/skybox_w.rgb
|
||||
%%DATADIR%%/textures/south.rgb
|
||||
%%DATADIR%%/textures/sovereign_tex.rgb
|
||||
%%DATADIR%%/textures/sport_tex.rgb
|
||||
%%DATADIR%%/textures/terrain.bw
|
||||
%%DATADIR%%/textures/water.rgb
|
||||
%%DATADIR%%/textures/waves.rgb
|
||||
%%DATADIR%%/textures/zagi-xs-texture.rgb
|
||||
@dirrm %%DATADIR%%/textures
|
||||
@dirrm %%DATADIR%%/sounds/f3f/sport
|
||||
@dirrm %%DATADIR%%/sounds/f3f/default
|
||||
@dirrm %%DATADIR%%/sounds/f3f
|
||||
@dirrm %%DATADIR%%/sounds
|
||||
@dirrm %%DATADIR%%/scenery
|
||||
@dirrm %%DATADIR%%/objects
|
||||
@dirrm %%DATADIR%%/models/engine
|
||||
@dirrm %%DATADIR%%/models/battery
|
||||
@dirrm %%DATADIR%%/models
|
||||
@dirrm %%DATADIR%%/icons
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in New Issue
Block a user