26 lines
580 B
Makefile
26 lines
580 B
Makefile
# Created by: Rene Ladan <rene@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= diff-match-patch
|
|
PORTVERSION= 20121119
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= rene@FreeBSD.org
|
|
COMMENT= Algorithms for converting plain text
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE
|
|
|
|
USES= python shebangfix
|
|
python_OLD_CMD= /usr/bin/python[0-9\.]*
|
|
SHEBANG_FILES= python*/diff_match_patch/*.py
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test: build
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|