[30481] trunk/dports/lang/erlang/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sun Oct 28 21:14:03 PDT 2007
Revision: 30481
http://trac.macosforge.org/projects/macports/changeset/30481
Author: bfulgham at macports.org
Date: 2007-10-28 21:14:02 -0700 (Sun, 28 Oct 2007)
Log Message:
-----------
Incorporate path corrections contributed by Geoff Cant.
Modified Paths:
--------------
trunk/dports/lang/erlang/Portfile
Modified: trunk/dports/lang/erlang/Portfile
===================================================================
--- trunk/dports/lang/erlang/Portfile 2007-10-29 01:48:27 UTC (rev 30480)
+++ trunk/dports/lang/erlang/Portfile 2007-10-29 04:14:02 UTC (rev 30481)
@@ -3,6 +3,7 @@
PortSystem 1.0
name erlang
version R11B-5
+revision 2
categories lang erlang
maintainers bfulgham at macports.org
platforms darwin
@@ -66,9 +67,9 @@
post-destroot {
cd ${destroot}${prefix}/lib/erlang
- system "tar -zxvf ${distpath}/otp_doc_html_${version}${extract.suffix}"
- system "tar -zxvf ${distpath}/otp_doc_man_${version}${extract.suffix}"
-
+ system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_html_${version}${extract.suffix}"
+ system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_man_${version}${extract.suffix}"
+
set erts_dir erts-5.5.5
reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/erl
@@ -83,18 +84,14 @@
file delete ${destroot}${prefix}/bin/erlc
file delete ${destroot}${prefix}/bin/escript
- cd ${destroot}${prefix}/bin
+ system "ln -s ../lib/erlang/bin/ear ${destroot}${prefix}/bin/ear"
+ system "ln -s ../lib/erlang/bin/ecc ${destroot}${prefix}/bin/ecc"
+ system "ln -s ../lib/erlang/bin/elink ${destroot}${prefix}/bin/elink"
+ system "ln -s ../lib/erlang/bin/erl ${destroot}${prefix}/bin/erl"
+ system "ln -s ../lib/erlang/bin/erlc ${destroot}${prefix}/bin/erlc"
+ system "ln -s ../lib/erlang/bin/escript ${destroot}${prefix}/bin/escript"
- system "ln -s ../lib/erlang/bin/ear ear"
- system "ln -s ../lib/erlang/bin/ecc ecc"
- system "ln -s ../lib/erlang/bin/elink elink"
- system "ln -s ../lib/erlang/bin/erl erl"
- system "ln -s ../lib/erlang/bin/erlc erlc"
- system "ln -s ../lib/erlang/bin/escript escript"
-
file delete ${destroot}${prefix}/lib/erlang/bin/epmd
- cd ${destroot}${prefix}/lib/erlang/bin
-
- system "ln -s ../${erts_dir}/bin/epmd epmd"
+ system "ln -s ../${erts_dir}/bin/epmd ${destroot}${prefix}/lib/erlang/bin/epmd"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071028/eeef71b9/attachment.html
More information about the macports-changes
mailing list