svn commit: r393635 - head/textproc/py-snowballstemmer

Li-Wen Hsu lwhsu at FreeBSD.org
Thu Aug 6 07:07:34 UTC 2015


Author: lwhsu
Date: Thu Aug  6 07:07:33 2015
New Revision: 393635
URL: https://svnweb.freebsd.org/changeset/ports/393635

Log:
  - Correct license
  - Add textproc/py-pystemmer to RUN_DEPENDS for acceleration
  
  Approved by:	kmoore

Modified:
  head/textproc/py-snowballstemmer/Makefile

Modified: head/textproc/py-snowballstemmer/Makefile
==============================================================================
--- head/textproc/py-snowballstemmer/Makefile	Thu Aug  6 07:02:53 2015	(r393634)
+++ head/textproc/py-snowballstemmer/Makefile	Thu Aug  6 07:07:33 2015	(r393635)
@@ -2,16 +2,27 @@
 
 PORTNAME=	snowballstemmer
 PORTVERSION=	1.2.0
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	kmoore at FreeBSD.org
-COMMENT=	Pure Python stemming library
+COMMENT=	Snowball stemming library collection for Python
 
-LICENSE=	MIT
+LICENSE=	BSD2CLAUSE
 
 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:${PORTSDIR}/textproc/py-pystemmer
+.endif
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list