forked from Lainports/opnsense-ports
29 lines
612 B
Makefile
29 lines
612 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pyahocorasick
|
|
DISTVERSION= 1.1.8
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= freebsd_ports@k-worx.org
|
|
COMMENT= Python and C implementation of the Aho-Corasick algorithm
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils concurrent autoplist
|
|
|
|
PORTDOCS= README.rst
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} unittests.py
|
|
|
|
.include <bsd.port.mk>
|