[97198] trunk/dports/lang

jann at macports.org jann at macports.org
Wed Aug 29 14:59:22 PDT 2012


Revision: 97198
          https://trac.macports.org/changeset/97198
Author:   jann at macports.org
Date:     2012-08-29 14:59:19 -0700 (Wed, 29 Aug 2012)
Log Message:
-----------
New port for eiffelstudio71

Added Paths:
-----------
    trunk/dports/lang/eiffelstudio71/
    trunk/dports/lang/eiffelstudio71/Portfile

Added: trunk/dports/lang/eiffelstudio71/Portfile
===================================================================
--- trunk/dports/lang/eiffelstudio71/Portfile	                        (rev 0)
+++ trunk/dports/lang/eiffelstudio71/Portfile	2012-08-29 21:59:19 UTC (rev 97198)
@@ -0,0 +1,82 @@
+# $Id: Portfile 93345 2012-05-20 17:23:40Z jmr at macports.org $
+PortSystem        1.0
+
+name              eiffelstudio71
+set minor_version 88986
+version           7.1.${minor_version}
+set branch        [join [lrange [split ${version} .] 0 1] ""]
+categories        lang
+license           GPL
+platforms         darwin
+maintainers       jann
+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      sourceforge:eiffelstudio:source \
+                  ftp://beta:beta57@ftp.eiffel.com/:source \
+                  http://www.jann-roeder.net/download/:launcher
+depends_lib       port:gtk2 \
+                  lib:libXtst:xorg-libXtst
+depends_build     bin:bzip2:bzip2 \
+                  port:pkgconfig
+extract.suffix    .tar
+extract.cmd       tar
+extract.post_args
+extract.pre_args  -xf
+distname          PorterPackage_${minor_version}_gpl
+set eiffel_launch eiffel_launcher_20091003.tar.bz2
+distfiles         ${distname}${extract.suffix}:source \
+                  ${eiffel_launch}:launcher
+extract.only      ${distname}${extract.suffix}
+worksrcdir        PorterPackage
+
+checksums         ${distname}${extract.suffix} rmd160 0918e79e93f5e09a6b201d89f4c3eb757985e41d \
+                  ${eiffel_launch} rmd160 f52af5b8b09ecdd21af4b1d89d2716597a9c1340
+
+use_configure     no
+
+set ise_platform ${os.platform}-${os.arch}
+platform darwin i386     {
+                    if {${build_arch} == "i386"} {
+                        set ise_platform macosx-x86
+                    } elseif {${build_arch} == "x86_64"} {
+                        set ise_platform macosx-x86-64
+                    }
+                  }
+
+platform darwin powerpc  {
+                    set ise_platform macosx-ppc
+                  }
+
+build.env-append  ISE_PLATFORM=$ise_platform
+build.env-append  ISE_EIFFEL=${worksrcpath}/Eiffel${branch}
+
+build             {                   
+                    system "cd ${worksrcpath} && ${worksrcpath}/compile_exes $ise_platform"
+                    file attributes ${worksrcpath}/Eiffel${branch}/studio/spec/$ise_platform/bin/ec -permissions 0755
+
+                    # Extract Eiffel Launcher
+                    system "tar -xjf ${distpath}/${eiffel_launch} -C ${worksrcpath}/Eiffel${branch}/"
+                  }
+
+destroot          {
+                    xinstall -m 755 -d ${destroot}${applications_dir}
+                    file copy ${worksrcpath}/Eiffel${branch} ${destroot}${applications_dir}/
+
+                    # Run ranlib on the libraries
+                    system "ranlib ${destroot}${applications_dir}/Eiffel${branch}/studio/spec/$ise_platform/lib/*.a"
+                  }
+
+notes "
+To complete the installation you have to add the following to your .bashrc or .profile file : \n\
+export ISE_PLATFORM=$ise_platform \n\
+export ISE_EIFFEL=${applications_dir}/Eiffel${branch} \n\
+export GOBO=\$ISE_EIFFEL/library/gobo/svn \n\
+export PATH=\$PATH:\$ISE_EIFFEL/studio/spec/\$ISE_PLATFORM/bin:\$GOBO/../spec/\$ISE_PLATFORM/bin \n\
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120829/86d89153/attachment.html>


More information about the macports-changes mailing list