Lines 2-10
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= godot |
4 |
PORTNAME= godot |
5 |
PORTVERSION= 3.0.6 |
5 |
PORTVERSION= 3.1 |
6 |
PORTREVISION= 1 |
6 |
DISTVERSIONSUFFIX= -stable |
7 |
DISTVERSIONSUFFIX= -stable |
|
|
8 |
CATEGORIES= devel games |
7 |
CATEGORIES= devel games |
9 |
|
8 |
|
10 |
MAINTAINER= FreeBSD@Shaneware.biz |
9 |
MAINTAINER= FreeBSD@Shaneware.biz |
Lines 27-36
Link Here
|
27 |
xdg-open:devel/xdg-utils \ |
26 |
xdg-open:devel/xdg-utils \ |
28 |
xmessage:x11/xmessage |
27 |
xmessage:x11/xmessage |
29 |
|
28 |
|
30 |
# on 10.4 using clang34 fails - so we want to use clang60 |
|
|
31 |
# gl already needs clang60 so this shouldn't add any overhead |
32 |
USES= compiler:c++14-lang pkgconfig scons ssl |
29 |
USES= compiler:c++14-lang pkgconfig scons ssl |
33 |
USE_XORG= x11 xcursor xi xinerama xrandr |
30 |
USE_XORG= x11 xcursor xi xinerama xrandr xrender |
34 |
USE_GL= gl glew glu |
31 |
USE_GL= gl glew glu |
35 |
|
32 |
|
36 |
USE_GITHUB= yes |
33 |
USE_GITHUB= yes |
Lines 47-73
Link Here
|
47 |
CXXFLAGS_mips= -DNO_THREADS |
44 |
CXXFLAGS_mips= -DNO_THREADS |
48 |
CXXFLAGS_mips64= -DNO_THREADS |
45 |
CXXFLAGS_mips64= -DNO_THREADS |
49 |
|
46 |
|
50 |
# option MONO can be built but is not stable enough to use yet |
47 |
# option MONO doesn't build (needs 5.12+) so for now leave it out as an option |
51 |
# for now leave it out as an option |
|
|
52 |
OPTIONS_DEFINE= EXAMPLES TOOLS |
48 |
OPTIONS_DEFINE= EXAMPLES TOOLS |
53 |
OPTIONS_DEFAULT= OSS |
49 |
OPTIONS_DEFAULT= ALSA |
54 |
# Moved to devel/godot-tools |
50 |
# Moved to devel/godot-tools |
55 |
OPTIONS_EXCLUDE?= EXAMPLES TOOLS |
51 |
OPTIONS_EXCLUDE?= EXAMPLES TOOLS |
56 |
OPTIONS_GROUP= AUDIO |
52 |
OPTIONS_GROUP= AUDIO |
57 |
OPTIONS_GROUP_AUDIO= ALSA OSS PULSEAUDIO |
53 |
OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO |
58 |
|
54 |
|
59 |
AUDIO_DESC= Audio support |
55 |
AUDIO_DESC= Audio support |
60 |
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib |
56 |
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib |
61 |
ALSA_MAKE_ARGS= alsa=True |
57 |
ALSA_MAKE_ARGS= alsa=True |
62 |
EXAMPLES_GH_PROJECT= godot-demo-projects:DEMOS |
58 |
EXAMPLES_GH_PROJECT= godot-demo-projects:DEMOS |
63 |
# master at 31/1 |
59 |
# master at 23/3 |
64 |
EXAMPLES_GH_TAGNAME= d69cc10a0b8a:DEMOS |
60 |
EXAMPLES_GH_TAGNAME= 17e80079e3fc:DEMOS |
65 |
EXAMPLES_PORTEXAMPLES= * |
61 |
EXAMPLES_PORTEXAMPLES= * |
66 |
# while mono support can build it isn't stable enough to be used yet |
62 |
# mono support doesn't build at present |
67 |
MONO_LIB_DEPENDS= libmonosgen-2.0.so:lang/mono |
63 |
MONO_USES= mono:nuget |
68 |
MONO_MAKE_ARGS= module_mono_enabled=True |
64 |
NUGET_DEPENDS= DotNet.Glob=2.1.1 |
69 |
OSS_MAKE_ARGS= oss=True |
65 |
MONO_MAKE_ARGS= module_mono_enabled=True mono_glue=True NUGET_PATH=${NUGET_EXE} |
70 |
PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio |
66 |
MONO_MAKE_ENV= NUGET_PATH=${NUGET_EXE} |
|
|
67 |
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio |
71 |
PULSEAUDIO_MAKE_ARGS= pulseaudio=True |
68 |
PULSEAUDIO_MAKE_ARGS= pulseaudio=True |
72 |
TOOLS_DESC= Include development tools (IDE) |
69 |
TOOLS_DESC= Include development tools (IDE) |
73 |
TOOLS_MAKE_ARGS= target=release_debug tools=True |
70 |
TOOLS_MAKE_ARGS= target=release_debug tools=True |
Lines 91-97
Link Here
|
91 |
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \ |
88 |
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \ |
92 |
${WRKSRC}/platform/x11/os_x11.cpp |
89 |
${WRKSRC}/platform/x11/os_x11.cpp |
93 |
|
90 |
|
94 |
pre-build-MONO-on: |
91 |
pre-build-MONO-on: makenuget |
95 |
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ |
92 |
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ |
96 |
${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g} \ |
93 |
${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g} \ |
97 |
target=release_debug tools=True mono_glue=False) |
94 |
target=release_debug tools=True mono_glue=False) |