source: trunk/dports/lang/eiffelstudio64/Portfile @ 51178

Last change on this file since 51178 was 51178, checked in by jann@…, 10 years ago

New version

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.6 KB
Line 
1# $Id: Portfile 51178 2009-05-20 08:45:32Z jann@macports.org $
2
3PortSystem        1.0
4
5name              eiffelstudio64
6set minor_version 78765
7version           6.4.${minor_version}
8set branch        [join [lrange [split ${version} .] 0 1] ""]
9categories        lang
10platforms         darwin
11maintainers       student.ethz.ch:roederja
12description       The ISE Eiffel Compiler and IDE
13long_description  EiffelStudio is a development environment for the \
14                  Eiffel programming language developed by Eiffel Software. \
15                  EiffelStudio includes a combination of tools integrated under \
16                  a single user interface: compiler, interpreter, debugger, \
17                  browser, metrics tool, profiler, diagram tool. \
18                  The user interface rests on a number of specific UI paradigms, \
19                  in particular "pick-and-drop" for effective browsing.
20homepage          http://www.eiffel.com
21master_sites      sourceforge:eiffelstudio:source \
22                  http://download.origo.ethz.ch/eiffelstudio/1159/:source \
23                  http://n.ethz.ch/student/roederja/download/:launcher
24depends_lib       port:gtk2
25depends_build     bin:bzip2:bzip2
26extract.suffix    .tar
27extract.cmd       tar
28extract.post_args
29extract.pre_args  -xf
30distname          PorterPackage_${branch}_${minor_version}
31set eiffel_launch eiffel_launcher_20081101.tar.bz2
32distfiles         ${distname}${extract.suffix}:source \
33                  ${eiffel_launch}:launcher
34extract.only      ${distname}${extract.suffix}
35worksrcdir        PorterPackage
36
37checksums         ${distname}${extract.suffix} rmd160 50360e1df252bba8ff44a21ea8b76a4290755edf \
38                  ${eiffel_launch} rmd160 9a6ffe7f1bbc302b60b72197c84ad3a93d31cc0c
39
40use_configure     no
41
42platform i386     {
43                    set env(ISE_PLATFORM) macosx-x86
44                  }
45
46platform powerpc  {
47                    set env(ISE_PLATFORM) macosx-ppc
48                  }
49
50build             {
51                    set env(ISE_EIFFEL) ${worksrcpath}/Eiffel${branch}
52                    set env(GOBO) $env(ISE_EIFFEL)/library/gobo
53                    set env(PATH) $env(ISE_EIFFEL)/studio/spec/$env(ISE_PLATFORM)/bin:$env(PATH)
54
55                    system "cd ${worksrcpath} && ${worksrcpath}/compile_exes $env(ISE_PLATFORM)"
56                    file attributes ${worksrcpath}/Eiffel${branch}/studio/spec/$env(ISE_PLATFORM)/bin/ec -permissions 0755
57
58                    # Extract Eiffel Launcher
59                    system "tar -xjf ${distpath}/${eiffel_launch} -C ${worksrcpath}/Eiffel${branch}/"
60                  }
61
62destroot          {
63                    xinstall -m 755 -d ${destroot}/${applications_dir}
64                    file copy ${worksrcpath}/Eiffel${branch} ${destroot}/${applications_dir}/
65
66                    # Run ranlib on the libraries
67                    system "ranlib ${destroot}/${applications_dir}/Eiffel${branch}/studio/spec/$env(ISE_PLATFORM)/lib/*.a"
68                  }
69
70post-install      {
71                    ui_msg " ################################################################################## \n\
72                        To complete the installation you have to add the following to your .bashrc file : \n\
73                        export ISE_PLATFORM=$env(ISE_PLATFORM) \n\
74                        export ISE_EIFFEL=${applications_dir}/Eiffel${branch} \n\
75                        export GOBO=\$ISE_EIFFEL/library/gobo/svn \n\
76                        export PATH=\$PATH:\$ISE_EIFFEL/studio/spec/\$ISE_PLATFORM/bin:\$GOBO/../spec/\$ISE_PLATFORM/bin \n\
77                        ################################################################################## \n"
78                  }
Note: See TracBrowser for help on using the repository browser.