Ticket #47348: parrot-7.0.2.diff

File parrot-7.0.2.diff, 2.8 KB (added by ryandesign (Ryan Carsten Schmidt), 9 years ago)
  • Portfile

     
    33PortSystem              1.0
    44
    55name                    parrot
    6 version                 3.3.0
    7 revision                6
     6version                 7.0.2
    87categories              lang devel
    98license                 Artistic-2
    109maintainers             bfulgham coleda.com:will
     
    1817
    1918platforms               darwin
    2019homepage                http://www.parrot.org/
    21 master_sites            ftp://ftp.parrot.org/pub/parrot/releases/stable/${version}/ \
    22                         http://ftp.parrot.org/releases/supported/${version}/
     20master_sites            http://ftp.parrot.org/releases/supported/${version}/
    2321
    24 patchfiles              patch-t-dynpmc-os.t.diff
     22checksums               rmd160  2423a39f5b37394c78262872d5ae50d0c2d6cde5 \
     23                        sha256  1a8e9e203ad8ac92c89422603d1603fa821e957aa3a9ae57420c737d93c55213
    2524
    26 checksums               sha1    9f6220f174a4ac5b5288c5a1f543b5f08eb5a4db \
    27                         rmd160  fdb9aae9b29ff0498aa8cf1c88d844d02cfe996e
    28 
    2925depends_build           bin:perl:perl5
    30 depends_lib             port:gmp port:icu
    3126
     27depends_lib             port:gettext \
     28                        port:gmp \
     29                        port:icu \
     30                        port:libffi \
     31                        port:pcre \
     32                        port:readline \
     33                        port:zlib
     34
    3235configure.cmd           perl Configure.pl
    33 configure.pre_args      --prefix=${prefix} \
    34                         --mandir=${prefix}/share/man \
     36configure.args          --mandir=${prefix}/share/man \
    3537                        --optimize
    3638
    37 destroot.target         install
    38 destroot.args           DESTDIR=${destroot}
     39configure.universal_args-delete --disable-dependency-tracking
    3940
    4041build.type              gnu
    4142build.target
     
    4344test.run                yes
    4445test.target             test
    4546
    46 post-destroot {
    47     set bindir ${destroot}${prefix}/bin
    48     set docdir ${destroot}${prefix}/share/doc/${name}
    49 
    50     set executables {
    51         ops2c parrot-nqp parrot_config parrot_nci_thunk_gen
    52         pbc_dump pbc_to_exe parrot parrot-prove parrot_debugger
    53         pbc_disassemble pbc_merge
    54     }
    55 
    56     foreach exe $executables {
    57         # fixup the library path
    58         set old_path "${workpath}/parrot-${version}/blib/lib/libparrot.dylib"
    59         set new_path "${prefix}/lib/libparrot.${version}.dylib"
    60 
    61         system "cd ${bindir} && \
    62             install_name_tool -change \"$old_path\" \"$new_path\" ${exe}"
    63     }
    64     xinstall -m 755 -d ${docdir}
    65 }
    66 
     47livecheck.type          regex
     48livecheck.url           http://ftp.parrot.org/releases/supported/
     49livecheck.regex         {"([0-9.]+)/"}