Ticket #26559: patch-py26-pyclutter-1.0.2.diff
File patch-py26-pyclutter-1.0.2.diff, 2.3 KB (added by dbevans (David B. Evans), 14 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name py26-pyclutter 7 version 0.9.2 8 distname pyclutter-${version} 7 set my_name pyclutter 8 version 1.0.2 9 distname ${my_name}-${version} 9 10 set branch [string range $version 0 [expr [string last "." $version] - 1]] 10 11 categories python graphics 11 12 description Python bindings for Clutter 1.0. … … 14 15 maintainers nodamage.com:nodamage 15 16 platforms darwin 16 17 homepage http://www.clutter-project.org/ 17 master_sites http://www.clutter-project.org/sources/ pyclutter/${branch}/18 master_sites http://www.clutter-project.org/sources/${my_name}/${branch}/ 18 19 19 checksums md5 c848543847191ab62361d3c705567d52\20 sha1 b67ba376bcc14b97364cf730776e9523d4d76de3\21 rmd160 bba1fe67ab4d6dae71d2e5a849e7042ebc0a9c4220 checksums md5 9bd6a73bba4a40e5dc79003ccb6bc6a7 \ 21 sha1 819d4ec117f5a41939fbb18c8e2b308099888f04 \ 22 rmd160 8b4c89cb701354b62454cf3738c5a55c51c7ca1e 22 23 23 24 depends_build \ 24 25 port:pkgconfig \ … … 46 47 configure.python ${prefix}/bin/python2.6 47 48 48 49 configure.env-append PYGOBJECT_CODEGEN=${prefix}/Library/Frameworks/Python.framework/Versions/2.6/bin/pygobject-codegen-2.0 50 51 post-destroot { 52 set docdir ${prefix}/share/doc/${name} 53 xinstall -d ${destroot}${docdir} 54 xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \ 55 ${destroot}${docdir} 56 xinstall -d ${destroot}${prefix}/share/gtk-doc/html 57 system "ln -s ${python_prefix}/share/${my_name} ${destroot}${prefix}/share/${my_name}26" 58 # devhelp requires gtk-doc directory name and .devhelp file name (less the .devhelp) to match 59 file rename ${destroot}${python_prefix}/share/gtk-doc/html/${my_name}/${my_name}.devhelp \ 60 ${destroot}${python_prefix}/share/gtk-doc/html/${my_name}/${my_name}26.devhelp 61 system "ln -s ${python_prefix}/share/gtk-doc/html/${my_name} ${destroot}${prefix}/share/gtk-doc/html/${my_name}26" 62 } 63 64 livecheck.type regex 65 livecheck.url ${master_sites} 66 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"