[32534] trunk/dports/lang/eiffelstudio-devel/Portfile

jann at macports.org jann at macports.org
Sun Jan 6 23:09:45 PST 2008


Revision: 32534
          http://trac.macosforge.org/projects/macports/changeset/32534
Author:   jann at macports.org
Date:     2008-01-06 23:09:44 -0800 (Sun, 06 Jan 2008)

Log Message:
-----------
version updated

Modified Paths:
--------------
    trunk/dports/lang/eiffelstudio-devel/Portfile

Modified: trunk/dports/lang/eiffelstudio-devel/Portfile
===================================================================
--- trunk/dports/lang/eiffelstudio-devel/Portfile	2008-01-07 07:09:18 UTC (rev 32533)
+++ trunk/dports/lang/eiffelstudio-devel/Portfile	2008-01-07 07:09:44 UTC (rev 32534)
@@ -2,8 +2,9 @@
 
 PortSystem        1.0
 name              eiffelstudio-devel
-set minor_version 71223
-version           6.1.${minor_version}
+set minor_version 71651
+version           6.2.${minor_version}
+set branch        [join [lrange [split ${version} .] 0 1] ""]
 categories        lang
 platforms         darwin
 maintainers       roederja at student.ethz.ch
@@ -26,16 +27,16 @@
 extract.cmd       tar
 extract.post_args 
 extract.pre_args  -xf
-distname          PorterPackage_61_${minor_version}
+distname          PorterPackage_${branch}_${minor_version}
 set eiffel_launch eiffel_launcher_20070710.tar.bz2
 distfiles         ${distname}${extract.suffix}:source \
                   ${eiffel_launch}:launcher
 extract.only      ${distname}${extract.suffix}
 worksrcdir        PorterPackage
 
-checksums         ${distname}${extract.suffix} md5 5387eb5877b877c26bebd5856dff4999 \
-                  ${distname}${extract.suffix} sha1 04cfe27763b3b7a4873de6611ad587fe76f03864 \
-                  ${distname}${extract.suffix} rmd160 e7b8a0d2c1936ff0747e52a0d309e5c1d0d06e7b \
+checksums         ${distname}${extract.suffix} md5 05795d2209d0cc892af474ebf0e03a25 \
+                  ${distname}${extract.suffix} sha1 beea5c4e7906b8000cfd46ebb38c9a96c6acd9b0 \
+                  ${distname}${extract.suffix} rmd160 f287ecc1a5bd163d18387db85b72fec86b6e5779 \
                   ${eiffel_launch} md5 8b762a440599be65384aeb269e2314f1 \
                   ${eiffel_launch} sha1 c2eed5a81dd06ef692b8be5fc366a0c3e608031e \
                   ${eiffel_launch} rmd160 2da5c11340ea5d89161dd2cb3453da9f4df86c21
@@ -51,32 +52,32 @@
                   }
 
 build             {
-                    set env(ISE_EIFFEL) ${worksrcpath}/Eiffel61
+                    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)
                     
                     cd $worksrcpath
                     system "./compile_exes $env(ISE_PLATFORM)"
-                    file attributes ${worksrcpath}/Eiffel61/studio/spec/$env(ISE_PLATFORM)/bin/ec -permissions 0755
+                    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}/Eiffel61/"
+                    system "tar -xjf ${distpath}/${eiffel_launch} -C ${worksrcpath}/Eiffel${branch}/"
                   }
                   
 destroot.violate_mtree  yes
 destroot          {
                     xinstall -m 755 -d ${destroot}/${prefix}
-                    file copy ${worksrcpath}/Eiffel61 ${destroot}/${prefix}/
+                    file copy ${worksrcpath}/Eiffel${branch} ${destroot}/${prefix}/
                     
                     # Run ranlib on the libraries
-                    system "ranlib ${destroot}/${prefix}/Eiffel61/studio/spec/$env(ISE_PLATFORM)/lib/*.a"
+                    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}/Eiffel61 \n\
+                        export ISE_EIFFEL=${prefix}/Eiffel${branch} \n\
                         export GOBO=\$ISE_EIFFEL/library/gobo \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/20080106/ef8e9fe3/attachment.html


More information about the macports-changes mailing list