Ticket #19597: Portfile

File Portfile, 1.1 KB (added by voldmar@…, 15 years ago)
Line 
1# $Id: Portfile 49495 2009-04-11 02:13:52Z jmr@macports.org $
2
3PortSystem 1.0
4PortGroup python26 1.0
5
6name                    py26-levenshtein
7version                 0.10.1
8categories              python textproc
9platforms               darwin freebsd
10maintainers             nomaintainer
11description             python module for fast computation of Levensthein distances
12long_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
19homepage                http://code.google.com/p/pylevenshtein/
20master_sites    googlecode:pylevenshtein
21distname                python-Levenshtein-${version}
22checksums               md5 af9b9c69c4563e211b11dc5184a93872 \
23                                sha1 d630141e003f47a43e0f8eacdcbf593bf9d15ed6
24use_bzip2               yes
25
26post-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}