Line 0
Link Here
|
|
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= pyahocorasick |
4 |
DISTVERSION= 1.1.8 |
5 |
CATEGORIES= textproc python |
6 |
MASTER_SITES= CHEESESHOP |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
|
9 |
MAINTAINER= freebsd_ports@k-worx.org |
10 |
COMMENT= Python and C implementation of the Aho-Corasick algorithm |
11 |
|
12 |
LICENSE= BSD3CLAUSE |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
15 |
USES= python |
16 |
USE_PYTHON= distutils concurrent autoplist |
17 |
|
18 |
PORTDOCS= README.rst |
19 |
|
20 |
OPTIONS_DEFINE= DOCS |
21 |
|
22 |
post-install-DOCS-on: |
23 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
24 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) |
25 |
|
26 |
do-test: |
27 |
@cd ${WRKSRC} && ${PYTHON_CMD} unittests.py |
28 |
|
29 |
.include <bsd.port.mk> |