[34256] trunk/dports/lang/eiffelstudio/Portfile
jann at macports.org
jann at macports.org
Tue Feb 19 06:38:40 PST 2008
Revision: 34256
http://trac.macosforge.org/projects/macports/changeset/34256
Author: jann at macports.org
Date: 2008-02-19 06:38:40 -0800 (Tue, 19 Feb 2008)
Log Message:
-----------
Leopard compatible launcher
Modified Paths:
--------------
trunk/dports/lang/eiffelstudio/Portfile
Modified: trunk/dports/lang/eiffelstudio/Portfile
===================================================================
--- trunk/dports/lang/eiffelstudio/Portfile 2008-02-19 14:37:12 UTC (rev 34255)
+++ trunk/dports/lang/eiffelstudio/Portfile 2008-02-19 14:38:40 UTC (rev 34256)
@@ -1,9 +1,11 @@
# $Id$
PortSystem 1.0
+
name eiffelstudio
set minor_version 71477
version 6.1.${minor_version}
+revision 1
set branch [join [lrange [split ${version} .] 0 1] ""]
categories lang
platforms darwin
@@ -22,13 +24,13 @@
http://n.ethz.ch/student/roederja/download/:launcher
depends_lib port:gtk2
depends_build bin:bzip2:bzip2
-prefix /Applications/MacPorts
+prefix /Applications/MacPorts
extract.suffix .tar
extract.cmd tar
-extract.post_args
+extract.post_args
extract.pre_args -xf
distname PorterPackage_${branch}_${minor_version}
-set eiffel_launch eiffel_launcher_20070710.tar.bz2
+set eiffel_launch eiffel_launcher_20080219.tar.bz2
distfiles ${distname}${extract.suffix}:source \
${eiffel_launch}:launcher
extract.only ${distname}${extract.suffix}
@@ -37,10 +39,10 @@
checksums ${distname}${extract.suffix} md5 1f24e73e5c8951e9cc51c728aae41fc7 \
${distname}${extract.suffix} sha1 8c1db0822e2c0e30f5c6ae8eb37469f39c4d43b2 \
${distname}${extract.suffix} rmd160 7d1f5458478f409b45900dc7c50589de76693560 \
- ${eiffel_launch} md5 8b762a440599be65384aeb269e2314f1 \
- ${eiffel_launch} sha1 c2eed5a81dd06ef692b8be5fc366a0c3e608031e \
- ${eiffel_launch} rmd160 2da5c11340ea5d89161dd2cb3453da9f4df86c21
-
+ ${eiffel_launch} md5 eb6c705e53c15883def619f0ba8181dc \
+ ${eiffel_launch} sha1 a5b8b55a7d5bdb9d8126fbe6236725cab060f561 \
+ ${eiffel_launch} rmd160 c8c8c0cfd7637bc92c0dd36ffbb5dc8477147257
+
use_configure no
platform i386 {
@@ -55,24 +57,24 @@
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}/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\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080219/3ad91f9d/attachment.html
More information about the macports-changes
mailing list