FreeBSD Bugzilla – Attachment 173935 Details for
Bug 209742
devel/godot: Update to 2.1; add devel/godot-tools port
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Proposed Makefile for devel/godot
Makefile (text/plain), 2.72 KB, created by
Shane
on 2016-08-22 10:44:41 UTC
(
hide
)
Description:
Proposed Makefile for devel/godot
Filename:
MIME Type:
Creator:
Shane
Created:
2016-08-22 10:44:41 UTC
Size:
2.72 KB
patch
obsolete
># Created by: Shane Ambler <FreeBSD@Shaneware.biz> ># $FreeBSD$ > >PORTNAME= godot >PORTVERSION= 2.1 >DISTVERSIONSUFFIX= -stable >CATEGORIES= devel games >PKGNAMESUFFIX?= > >MAINTAINER= FreeBSD@Shaneware.biz >COMMENT?= Game runtime engine > >LICENSE= MIT CCBYv3 >LICENSE_COMB= multi >LICENSE_NAME_CCBYv3= Creative Commons Attribution 3.0 Unported license >LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.md >LICENSE_FILE_CCBYv3= ${WRKSRC}/LOGO_LICENSE.md >LICENSE_PERMS_CCBYv3= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept > >LIB_DEPENDS= libfreetype.so:print/freetype2 >RUN_DEPENDS= xdg-user-dir:devel/xdg-user-dirs \ > xdg-open:devel/xdg-utils \ > xmessage:x11/xmessage > >USE_GITHUB= yes >GH_ACCOUNT= godotengine > >USES= compiler pkgconfig scons ssl >USE_XORG= x11 xcursor xinerama xrandr >USE_GL= gl > >MAKE_ARGS+= platform=x11 >CXXFLAGS+= -DGLEW_NO_GLU -DRTAUDIO_ENABLED > >OPTIONS_GROUP= AUDIO >OPTIONS_GROUP_AUDIO= ALSA OSS PULSEAUDIO >OPTIONS_DEFAULT= OSS > >AUDIO_DESC= Audio Support >ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib >ALSA_MAKE_ARGS= alsa=yes >EXAMPLES_GH_PROJECT= godot-demo-projects:XMPL >EXAMPLES_GH_TAGNAME= dfa1274:XMPL >OSS_MAKE_ARGS= oss=yes >PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio >PULSEAUDIO_MAKE_ARGS= pulseaudio=yes > >GODOTFILE= ${PORTNAME}${PKGNAMESUFFIX} >PLIST_FILES= bin/${GODOTFILE} > >.if ${PKGNAMESUFFIX:M-tools} >MAKE_ARGS+= tools=yes target=release_debug >DESKTOP_ENTRIES= "Godot" "${COMMENT}" "${GODOTFILE}" \ > "${GODOTFILE}" "Development;IDE;" "" >PLIST_FILES+= share/pixmaps/${GODOTFILE}.png \ > share/pixmaps/${GODOTFILE}.svg >PORTEXAMPLES= 2d 3d gui misc plugins viewport >.else >MAKE_ARGS+= tools=no target=release >.endif > >.include <bsd.port.pre.mk> > >.if ${CHOSEN_COMPILER_TYPE} == clang >MAKE_ARGS+= use_llvm=yes >.else # clang >USE_GCC= yes >.if ${ARCH} == i386 >CXXFLAGS+= -march=i586 >.endif >.endif # clang > >post-patch: > @${REINPLACE_CMD} -e 's|custom_build|${OPSYS}_Ports_build|' \ > ${WRKSRC}/methods.py > @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \ > ${WRKSRC}/platform/x11/os_x11.cpp > ># the official godot binary name reflects options used to compile ># we just want a simple name matching the portname ># this gives us bin/godot for runtime and bin/godot-tools for the IDE >do-install: > @cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} godot.x11* \ > ${STAGEDIR}/${PREFIX}/bin/${GODOTFILE} > ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/${GODOTFILE} >.if ${PKGNAMESUFFIX:M-tools} > ${INSTALL_DATA} ${WRKSRC}/icon.png \ > ${STAGEDIR}${PREFIX}/share/pixmaps/${GODOTFILE}.png > ${INSTALL_DATA} ${WRKSRC}/icon.svg \ > ${STAGEDIR}${PREFIX}/share/pixmaps/${GODOTFILE}.svg >.endif > >do-install-EXAMPLES-on: > @${ECHO} 'installing examples...' >.for d in ${PORTEXAMPLES} > @(cd ${WRKSRC_XMPL} && ${COPYTREE_SHARE} ${d} \ > ${STAGEDIR}${EXAMPLESDIR}) >.endfor > >.include <bsd.port.post.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 209742
:
170627
|
170628
|
170629
|
170630
|
170631
|
170632
|
170633
|
170655
|
170656
|
170661
|
170662
|
170708
|
170709
|
170710
|
170711
|
170758
|
170759
|
170766
|
170767
|
170772
|
170773
|
170803
|
170804
|
171800
|
171811
|
171968
|
171969
|
172012
|
172034
|
172038
|
172041
|
172374
|
172548
|
172566
|
173522
|
173523
|
173524
|
173710
|
173711
|
173719
|
173905
|
173912
|
173917
|
173935
|
173937
|
173942
|
173959
|
173964
|
173966
|
173976
|
173980
|
173981
|
173982
|
173984
|
173985
|
174021
|
174023