Ticket #19156: Portfile

File Portfile, 1.0 KB (added by voldmar@…, 15 years ago)

Portfile for py25-levenshtein

Line 
1# $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp@macports.org $
2
3PortSystem 1.0
4PortGroup python25 1.0
5
6name                    py25-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    http://pylevenshtein.googlecode.com/files/
21distname                python-Levenshtein-${version}
22checksums               md5 af9b9c69c4563e211b11dc5184a93872
23use_bzip2               yes
24
25post-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}