[48645] trunk/dports/lang/parrot/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Thu Mar 26 12:57:03 PDT 2009
Revision: 48645
http://trac.macports.org/changeset/48645
Author: macsforever2000 at macports.org
Date: 2009-03-26 12:57:03 -0700 (Thu, 26 Mar 2009)
Log Message:
-----------
Updated to version 1.0.0. (#18917)
Modified Paths:
--------------
trunk/dports/lang/parrot/Portfile
Modified: trunk/dports/lang/parrot/Portfile
===================================================================
--- trunk/dports/lang/parrot/Portfile 2009-03-26 19:55:35 UTC (rev 48644)
+++ trunk/dports/lang/parrot/Portfile 2009-03-26 19:57:03 UTC (rev 48645)
@@ -3,33 +3,33 @@
PortSystem 1.0
name parrot
-version 0.5.2
+version 1.0.0
categories lang devel
maintainers bfulgham coleda.com:will
description Open source virtual machine (for Perl6 et al.)
long_description \
- Parrot is the new interpreter being designed from scratch to support \
- the upcoming Perl 6 language. It is being designed as a standalone \
- virtual machine that can be used to execute bytecode-compiled \
- dynamic languages such as Perl 6, Perl 5, Python, Tcl, etc.
+ Parrot is a virtual machine designed to efficiently compile and \
+ execute bytecode for dynamic languages. Parrot currently hosts a \
+ variety of language implementations in various stages of completion, \
+ including Tcl, Javascript, Ruby, Lua, Scheme, PHP, Python, Perl 6, \
+ and a .NET bytecode translator.
platforms darwin
-homepage http://www.parrotcode.org/
-master_sites http://www.cpan.org/authors/id/R/RG/RGRJR/
+homepage http://www.parrot.org/
+master_sites ftp://ftp.parrot.org/pub/parrot/releases/stable/${version}/
-checksums md5 0a87f7e5437315f67c0848c5cb2b6d0b
+checksums md5 649ce1fb7c0edaf89dc1cd52ff267b1a \
+ sha1 9e028f5fff38a332c13ad4389652a016d7a824f7 \
+ rmd160 46f60accd33f16cc910f4ea03840badc358d22c7
depends_build bin:perl:perl5
-depends_lib port:gmp port:icu
+depends_lib port:gmp port:icu
configure.cmd perl Configure.pl
configure.pre_args --prefix=${prefix}/lib/parrot
-# build static to avoid runtime lib issues for now
-configure.args --optimize --parrot_is_shared=0
+configure.args --optimize
-# install target is temporarily disabled as it might conflict with development
-# users of a port should have no such trouble, however.
-destroot.target reallyinstall
+destroot.target install
build.type gnu
build.target
@@ -42,12 +42,21 @@
post-destroot {
set bindir ${destroot}${prefix}/bin
set docdir ${destroot}${prefix}/share/doc/${name}
- system "cd ${bindir} && ln -sf ${prefix}/lib/parrot/bin/parrot"
+ set executables {
+ parrot parrot_config parrot_debugger
+ pbc_disassemble pbc_info pbc_merge pbc_to_exe pbc_dump
+ }
+
+ foreach exe $executables {
+ # fixup the library path
+ set old_path "${workpath}/parrot-${version}/blib/lib/libparrot.dylib"
+ set new_path "${prefix}/lib/parrot/lib/libparrot.${version}.dylib"
+ system "cd ${prefix}/lib/parrot/bin && \
+ install_name_tool -change \"$old_path\" \"$new_path\" ${exe}"
+
+ # install into the common area.
+ system "cd ${bindir} && ln -sf ${prefix}/lib/parrot/bin/${exe}"
+ }
xinstall -m 755 -d ${docdir}
}
-
-platform darwin 8 {
- configure.args-append --cc=/usr/bin/gcc-4.0 --link=/usr/bin/gcc-4.0 \
- --ld=/usr/bin/gcc-4.0 --cxx=/usr/bin/g++-4.0
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090326/e3cfbe5d/attachment-0001.html>
More information about the macports-changes
mailing list