opnsense-ports/textproc/py-diff-match-patch/Makefile
Franco Fichtner b65866f2bc */*: sync with upstream
Taken from: HardenedBSD
2019-01-20 08:29:13 +01:00

26 lines
600 B
Makefile

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