[48545] trunk/dports/lang

jann at macports.org jann at macports.org
Tue Mar 24 13:30:12 PDT 2009


Revision: 48545
          http://trac.macports.org/changeset/48545
Author:   jann at macports.org
Date:     2009-03-24 13:30:11 -0700 (Tue, 24 Mar 2009)
Log Message:
-----------
Remove devel version of Eiffelstudio, add versioned port instead

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

Removed Paths:
-------------
    trunk/dports/lang/eiffelstudio-devel/

Added: trunk/dports/lang/eiffelstudio64/Portfile
===================================================================
--- trunk/dports/lang/eiffelstudio64/Portfile	                        (rev 0)
+++ trunk/dports/lang/eiffelstudio64/Portfile	2009-03-24 20:30:11 UTC (rev 48545)
@@ -0,0 +1,80 @@
+# $Id$
+
+PortSystem        1.0
+
+name              eiffelstudio64
+set minor_version 77848
+version           6.4.${minor_version}
+set branch        [join [lrange [split ${version} .] 0 1] ""]
+categories        lang
+platforms         darwin
+maintainers       roederja at student.ethz.ch
+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/:source \
+                  http://n.ethz.ch/student/roederja/download/:launcher
+depends_lib       port:gtk2
+depends_build     bin:bzip2:bzip2
+prefix            /Applications/MacPorts
+extract.suffix    .tar
+extract.cmd       tar
+extract.post_args
+extract.pre_args  -xf
+distname          PorterPackage_${branch}_${minor_version}
+set eiffel_launch eiffel_launcher_20081101.tar.bz2
+distfiles         ${distname}${extract.suffix}:source \
+                  ${eiffel_launch}:launcher
+extract.only      ${distname}${extract.suffix}
+worksrcdir        PorterPackage
+
+checksums         ${distname}${extract.suffix} rmd160 a2b0e86c7fcc97615d02147c37945e568a96e79e \
+                  ${eiffel_launch} rmd160 9a6ffe7f1bbc302b60b72197c84ad3a93d31cc0c
+
+use_configure     no
+
+platform i386     {
+                    set env(ISE_PLATFORM) macosx-x86
+                  }
+
+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.violate_mtree  yes
+destroot          {
+                    xinstall -m 755 -d ${destroot}/${prefix}
+                    file copy ${worksrcpath}/Eiffel${branch} ${destroot}/${prefix}/
+
+                    # Run ranlib on the libraries
+                    system "ranlib ${destroot}/${prefix}/Eiffel${branch}/studio/spec/$env(ISE_PLATFORM)/lib/*.a"
+                  }
+
+post-install      {
+                    ui_msg " ################################################################################## \n\
+                        To complete the installation you have to add the following to your .bashrc file : \n\
+                        export ISE_PLATFORM=$env(ISE_PLATFORM) \n\
+                        export ISE_EIFFEL=${prefix}/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"
+                  }


Property changes on: trunk/dports/lang/eiffelstudio64/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090324/f719d012/attachment-0001.html>


More information about the macports-changes mailing list