[72538] trunk/dports/lang

jann at macports.org jann at macports.org
Tue Oct 19 15:30:09 PDT 2010


Revision: 72538
          http://trac.macports.org/changeset/72538
Author:   jann at macports.org
Date:     2010-10-19 15:30:06 -0700 (Tue, 19 Oct 2010)
Log Message:
-----------
New version

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

Added: trunk/dports/lang/eiffelstudio67/Portfile
===================================================================
--- trunk/dports/lang/eiffelstudio67/Portfile	                        (rev 0)
+++ trunk/dports/lang/eiffelstudio67/Portfile	2010-10-19 22:30:06 UTC (rev 72538)
@@ -0,0 +1,91 @@
+# $Id: Portfile 72320 2010-10-10 21:25:05Z jann at macports.org $
+PortSystem        1.0
+
+name              eiffelstudio67
+set minor_version 84500
+version           6.7.${minor_version}
+set branch        [join [lrange [split ${version} .] 0 1] ""]
+categories        lang
+license           GPL
+platforms         darwin
+maintainers       jann \
+                  ethz.ch:dfurrer
+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 \
+                  http://download.origo.ethz.ch/eiffelstudio/2120/:source \
+                  ftp://beta:beta57@ftp.eiffel.com/:source \
+                  http://n.ethz.ch/student/roederja/download/:launcher \
+                  http://www.jann-roeder.net/download/:launcher
+depends_lib       port:gtk2 \
+                  lib:libXtst:xorg-libXtst
+depends_build     bin:bzip2:bzip2
+extract.suffix    .tar
+extract.cmd       tar
+extract.post_args
+extract.pre_args  -xf
+distname          PorterPackage_${branch}_${minor_version}
+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 e7a66b3a53bd69e3f38861af25606027d57e7803 \
+                  ${eiffel_launch} rmd160 f52af5b8b09ecdd21af4b1d89d2716597a9c1340
+
+use_configure     no
+
+platform i386     {
+                    if {${build_arch} == "i386"} {
+                        set env(ISE_PLATFORM) macosx-x86
+                    } elseif {${build_arch} == "x86_64"} {
+                        set env(ISE_PLATFORM) macosx-x86-64
+                    }
+                  }
+
+platform powerpc  {
+                    set env(ISE_PLATFORM) macosx-ppc
+                  }
+
+build             {
+                    set env(ISE_EIFFEL) ${worksrcpath}/Eiffel${branch}
+                    set env(GOBO) $env(ISE_EIFFEL)/library/gobo
+                    set env(PATH) $env(ISE_EIFFEL)/studio/spec/$env(ISE_PLATFORM)/bin:$env(PATH)
+                   
+                    system "cd ${worksrcpath} && ${worksrcpath}/compile_exes $env(ISE_PLATFORM)"
+                    file attributes ${worksrcpath}/Eiffel${branch}/studio/spec/$env(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/$env(ISE_PLATFORM)/lib/*.a"
+                    
+                    # Fix permissions of precompile directory
+                    set env(ISE_EIFFEL) ${destroot}${applications_dir}/Eiffel${branch}
+                    file attributes $env(ISE_EIFFEL)/precomp/spec/$env(ISE_PLATFORM) -permissions g+w
+                    file attributes $env(ISE_EIFFEL)/compatible/precomp/spec/$env(ISE_PLATFORM) -permissions g+w
+                  }
+
+post-activate     {
+                    ui_msg " ################################################################################## \n\
+                        To complete the installation you have to add the following to your .bashrc or .profile file : \n\
+                        export ISE_PLATFORM=$env(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\
+                        ################################################################################## \n"
+                  }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101019/1bdd3e52/attachment.html>


More information about the macports-changes mailing list