Ticket #47348: parrot-7.0.2.diff
File parrot-7.0.2.diff, 2.8 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name parrot 6 version 3.3.0 7 revision 6 6 version 7.0.2 8 7 categories lang devel 9 8 license Artistic-2 10 9 maintainers bfulgham coleda.com:will … … 18 17 19 18 platforms darwin 20 19 homepage http://www.parrot.org/ 21 master_sites ftp://ftp.parrot.org/pub/parrot/releases/stable/${version}/ \ 22 http://ftp.parrot.org/releases/supported/${version}/ 20 master_sites http://ftp.parrot.org/releases/supported/${version}/ 23 21 24 patchfiles patch-t-dynpmc-os.t.diff 22 checksums rmd160 2423a39f5b37394c78262872d5ae50d0c2d6cde5 \ 23 sha256 1a8e9e203ad8ac92c89422603d1603fa821e957aa3a9ae57420c737d93c55213 25 24 26 checksums sha1 9f6220f174a4ac5b5288c5a1f543b5f08eb5a4db \27 rmd160 fdb9aae9b29ff0498aa8cf1c88d844d02cfe996e28 29 25 depends_build bin:perl:perl5 30 depends_lib port:gmp port:icu31 26 27 depends_lib port:gettext \ 28 port:gmp \ 29 port:icu \ 30 port:libffi \ 31 port:pcre \ 32 port:readline \ 33 port:zlib 34 32 35 configure.cmd perl Configure.pl 33 configure.pre_args --prefix=${prefix} \ 34 --mandir=${prefix}/share/man \ 36 configure.args --mandir=${prefix}/share/man \ 35 37 --optimize 36 38 37 destroot.target install 38 destroot.args DESTDIR=${destroot} 39 configure.universal_args-delete --disable-dependency-tracking 39 40 40 41 build.type gnu 41 42 build.target … … 43 44 test.run yes 44 45 test.target test 45 46 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 47 livecheck.type regex 48 livecheck.url http://ftp.parrot.org/releases/supported/ 49 livecheck.regex {"([0-9.]+)/"}