PortSystem 1.0 name eiffelstudio set major_version 23.09 set minor_version 10.7341 version ${major_version}.${minor_version} categories lang license GPL-2 platforms darwin maintainers {jann @roederja} {javierv @jvelilla} openmaintainer description The ISE Eiffel Compiler and IDE long_description EiffelStudio is a development environment for the \ Eiffel programming language developed by Eiffel Software. \ EiffelStudio includes a combination of tools integrated under \ a single user interface: compiler, interpreter, debugger, \ browser, metrics tool, profiler, diagram tool. \ The user interface rests on a number of specific UI paradigms, \ in particular "pick-and-drop" for effective browsing. homepage http://www.eiffel.com master_sites https://ftp.eiffel.com/pub/beta/${major_version}/:source \ https://github.com/roederja/eiffel-launcher/releases/download/20201029/:launcher depends_lib path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \ path:lib/pkgconfig/xtst.pc:xorg-libXtst \ port:adwaita-icon-theme depends_build bin:bzip2:bzip2 \ port:pkgconfig use_tar yes set eiffel_launch eiffel_launcher_20201029.tar.bz2 set porterpackage ${name}-${major_version}.${minor_version}${extract.suffix} distfiles ${porterpackage}:source \ ${eiffel_launch}:launcher extract.only ${porterpackage} worksrcdir PorterPackage checksums ${porterpackage} \ rmd160 1ce4074a321d20ffa5ecb64623082abbd267b1be \ sha256 ca16baf1bfc14278941012d42b2b25cbc88901104d4a3416dab4dcb6171a9be6 \ size 115640320 \ ${eiffel_launch} \ rmd160 e0e0dfb909a4f6bc681fc302a2a43cac2e135903 \ sha256 0aa3072008d25d1ad73582e6598e50e79341129f2c28c6199751c6ca2f1a8514 \ size 22206 use_configure no platform darwin i386 { if {${build_arch} eq "i386"} { set ise_platform macosx-x86 } elseif {${build_arch} eq "x86_64"} { set ise_platform macosx-x86-64 } } platform darwin arm { set ise_platform macosx-armv6 } platform darwin powerpc { set ise_platform macosx-ppc } if {${os.platform} ne "darwin"} { set ise_platform undefined } build { system -W ${worksrcpath} "env CC=${configure.cc} ${worksrcpath}/compile_exes $ise_platform" # Make sure we only build one edition file delete ${worksrcpath}/bin/ecb_ent.tar.bz2 # Extract Eiffel Launcher system "tar -xjf ${distpath}/${eiffel_launch} -C ${worksrcpath}/Eiffel_${major_version}/" system -W ${worksrcpath} "${worksrcpath}/make_images $ise_platform" } destroot { xinstall -m 755 -d ${destroot}${applications_dir} system "tar -xjf ${worksrcpath}/Eiffel_${major_version}_rev_[string map { "." "" } ${minor_version}]-${ise_platform}.tar.bz2 -C ${destroot}${applications_dir}/" } notes " To complete the installation you have to install either XQuartz from www.xquartz.org or the xorg-server port. \n\ Also, you need to add the following to your .zshenv or .zprofile file : \n\ export ISE_PLATFORM=$ise_platform \n\ export ISE_EIFFEL=${applications_dir}/Eiffel_${major_version} \n\ export PATH=\$PATH:\$ISE_EIFFEL/studio/spec/\$ISE_PLATFORM/bin:\$ISE_EIFFEL/library/gobo/spec/\$ISE_PLATFORM/bin \n\ "