| 1 | # $Id: $ |
| 2 | |
| 3 | PortSystem 1.0 |
| 4 | PortGroup python24 1.0 |
| 5 | |
| 6 | name py-svn |
| 7 | version 1.5.1 |
| 8 | categories python devel |
| 9 | maintainers yunzheng.hu@gmail.com |
| 10 | platforms darwin |
| 11 | description Python Subversion Extension |
| 12 | long_description The pysvn module is a python interface to the \ |
| 13 | Subversion version control system. This API exposes \ |
| 14 | client interfaces for managing a working copy, \ |
| 15 | querying a repository, and synchronizing the two. |
| 16 | |
| 17 | homepage http://pysvn.tigris.org/ |
| 18 | |
| 19 | master_sites http://pysvn.tigris.org/files/documents/1233/36248 |
| 20 | distname pysvn-${version} |
| 21 | checksums md5 692b33cb82e2446c051df358d61b349a \ |
| 22 | sha1 1f24b5b18bf93fc978afca049a219128c372ca57 |
| 23 | |
| 24 | depends_lib port:python24 \ |
| 25 | port:subversion |
| 26 | |
| 27 | patchfiles patch-setup.py |
| 28 | |
| 29 | use_configure yes |
| 30 | configure.cmd cd Source && ${python.bin} setup.py configure |
| 31 | |
| 32 | build.cmd cd Source && make |
| 33 | build.target all |
| 34 | |
| 35 | destroot { |
| 36 | file mkdir ${destroot}${python.pkgd} |
| 37 | file copy Source/pysvn ${destroot}${python.pkgd} |
| 38 | |
| 39 | file mkdir ${destroot}${prefix}/share/doc/${name}/examples |
| 40 | eval file copy [glob ${worksrcpath}/Examples/*] \ |
| 41 | ${destroot}${prefix}/share/doc/${name}/examples |
| 42 | eval file copy [glob ${worksrcpath}/Docs/*] \ |
| 43 | ${destroot}${prefix}/share/doc/${name} |
| 44 | } |