Ticket #17656: Portfile.patch
File Portfile.patch, 1.7 KB (added by stromnov (Andrey Stromnov), 16 years ago) |
---|
-
Portfile
old new 5 5 6 6 name py25-cairo 7 7 set my_name pycairo 8 version 1. 6.48 version 1.8.0 9 9 categories python x11 10 10 platforms darwin 11 11 maintainers mcalhoun … … 18 18 master_sites http://cairographics.org/releases/ 19 19 distname ${my_name}-${version} 20 20 21 checksums md5 2c3aa21e6e610321498f9f81f7b625df \ 22 sha1 d3b3ecb6e999cc7b4a6ebcad00ae8d82c253c21c \ 23 rmd160 6197427df3d10b708847503f975670e3d02d57e5 21 checksums md5 847f5377c32228a656819f5bd18eb6b4 \ 22 sha1 b9b50f4202b022365f30824459c2b39fb33e891f \ 23 rmd160 0435c394cc343de21b7a0f00dab0f9f943912612 24 25 depends_build port:pkgconfig \ 26 port:py25-sphinx 24 27 25 depends_build port:pkgconfig26 28 depends_lib port:python25 \ 27 29 port:cairo \ 28 30 port:py25-numpy … … 36 38 } 37 39 } 38 40 41 post-build { 42 system "cd ${worksrcpath}/doc; sphinx-build -b text -E -d .doctrees . doc" 43 } 44 39 45 post-destroot { 40 46 set docdir ${prefix}/share/doc/${name}-${version} 41 47 xinstall -d ${destroot}${docdir} 42 xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING NEWS doc/NOTES doc/FAQ README \ 48 xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING NEWS README \ 49 ${destroot}${docdir} 50 eval xinstall -m 0644 [glob ${worksrcpath}/doc/doc/*.txt] \ 43 51 ${destroot}${docdir} 52 xinstall -d ${destroot}${docdir}/reference 53 eval xinstall -m 0644 [glob ${worksrcpath}/doc/doc/reference/*.txt] \ 54 ${destroot}${docdir}/reference 44 55 } 45 56 46 57 livecheck.check regex