1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Create python3 version of textproc/py-snowballstemmer

- Use options helpers

PR: 217467
Submitted by: Danilo Baio <dbaio@bsd.com.br>
This commit is contained in:
Kris Moore 2017-03-08 12:48:41 +00:00
parent 8940670003
commit ddabfeff33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=435683
3 changed files with 13 additions and 6 deletions

View File

@ -1373,6 +1373,7 @@
SUBDIR += py3-libxml2
SUBDIR += py3-pager
SUBDIR += py3-pystemmer
SUBDIR += py3-snowballstemmer
SUBDIR += py3-sphinx_rtd_theme
SUBDIR += pychm
SUBDIR += qprint

View File

@ -12,17 +12,13 @@ COMMENT= Snowball stemming library collection for Python
LICENSE= BSD2CLAUSE
USES= python
USES?= python
USE_PYTHON= distutils autoplist
OPTIONS_DEFINE= PYSTEMMER
OPTIONS_DEFAULT=PYSTEMMER
PYSTEMMER_DESC= Use PyStemmer to accelerate
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPYSTEMMER}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pystemmer>0:textproc/py-pystemmer
.endif
PYSTEMMER_RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}pystemmer>0:textproc/py-pystemmer
.include <bsd.port.mk>

View File

@ -0,0 +1,10 @@
# Created by: Danilo G. Baio <dbaio@bsd.com.br>
# $FreeBSD$
MASTERDIR= ${.CURDIR}/../py-snowballstemmer
USES= python:3.3+
PYSTEMMER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pystemmer>0:textproc/py3-pystemmer
.include "${MASTERDIR}/Makefile"