openbsd-ports/devel/py-editdist/Makefile
2009-03-15 12:49:35 +00:00

30 lines
673 B
Makefile

# $OpenBSD: Makefile,v 1.2 2009/03/15 12:49:35 espie Exp $
COMMENT= calculate Levenshtein distance between two strings
MODPY_EGG_VERSION= 0.3
DISTNAME= py-editdist-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME}p0
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>