1 | # $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python25 1.0 |
---|
5 | |
---|
6 | name py25-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 http://pylevenshtein.googlecode.com/files/ |
---|
21 | distname python-Levenshtein-${version} |
---|
22 | checksums md5 af9b9c69c4563e211b11dc5184a93872 |
---|
23 | use_bzip2 yes |
---|
24 | |
---|
25 | post-destroot { |
---|
26 | xinstall -m 644 -W ${worksrcpath} COPYING NEWS README \ |
---|
27 | ${destroot}${prefix}/share/doc/${name} |
---|
28 | xinstall -m 644 ${worksrcpath}/StringMatcher.py \ |
---|
29 | ${destroot}${prefix}/share/doc/${name}/examples |
---|
30 | } |
---|