1 | # $Id: Portfile 49495 2009-04-11 02:13:52Z jmr@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python26 1.0 |
---|
5 | |
---|
6 | name py26-levenshtein |
---|
7 | version 0.10.1 |
---|
8 | categories python textproc |
---|
9 | platforms darwin freebsd |
---|
10 | maintainers nomaintainer |
---|
11 | description python module for fast computation of Levensthein distances |
---|
12 | long_description The Levenshtein Python C extension module contains \ |
---|
13 | functions for fast computation of Levenshtein (edit) \ |
---|
14 | distance, and edit operations, string similarity, \ |
---|
15 | approximate median strings, and generally string \ |
---|
16 | averaging, string sequence and set similarity. It \ |
---|
17 | supports both normal and Unicode strings. |
---|
18 | |
---|
19 | homepage http://code.google.com/p/pylevenshtein/ |
---|
20 | master_sites googlecode:pylevenshtein |
---|
21 | distname python-Levenshtein-${version} |
---|
22 | checksums md5 af9b9c69c4563e211b11dc5184a93872 \ |
---|
23 | sha1 d630141e003f47a43e0f8eacdcbf593bf9d15ed6 |
---|
24 | use_bzip2 yes |
---|
25 | |
---|
26 | post-destroot { |
---|
27 | xinstall -m 644 -W ${worksrcpath} COPYING NEWS README \ |
---|
28 | ${destroot}${prefix}/share/doc/${name} |
---|
29 | xinstall -m 644 ${worksrcpath}/StringMatcher.py \ |
---|
30 | ${destroot}${prefix}/share/doc/${name}/examples |
---|
31 | } |
---|