28198f320a
> py-editdist is a Python module to calculate the Levenshtein edit > distance between two strings.
29 lines
650 B
Makefile
29 lines
650 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2009/01/26 23:43:20 djm Exp $
|
|
|
|
COMMENT= calculate Levenshtein distance between two strings
|
|
|
|
MODPY_EGG_VERSION= 0.3
|
|
DISTNAME= py-editdist-${MODPY_EGG_VERSION}
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://www.mindrot.org/projects/py-editdist/
|
|
|
|
MAINTAINER= Damien Miller <djm@openbsd.org>
|
|
|
|
# ISC
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://www.mindrot.org/files/py-editdist/
|
|
|
|
MODULES= lang/python
|
|
|
|
do-regress: fake
|
|
@cd ${WRKSRC} && ${MAKE_ENV} \
|
|
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
|
|
${MODPY_BIN} ./test.py
|
|
|
|
.include <bsd.port.mk>
|