Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Aug 2015 07:07:34 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393635 - head/textproc/py-snowballstemmer
Message-ID:  <201508060707.t7677YoX085604@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508060707.t7677YoX085604>