aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2010-07-28 15:19:25 +0800
committerclsung <clsung@FreeBSD.org>2010-07-28 15:19:25 +0800
commitaa18bbe32deb88920f534c3c824af2e2d3b20dea (patch)
treed8801aef183996972641b0c36567e27e6c57bf3a /textproc
parent61ce66b103434c0492e3b8b95fb785f325d7a7f0 (diff)
downloadfreebsd-ports-gnome-aa18bbe32deb88920f534c3c824af2e2d3b20dea.tar.gz
freebsd-ports-gnome-aa18bbe32deb88920f534c3c824af2e2d3b20dea.tar.zst
freebsd-ports-gnome-aa18bbe32deb88920f534c3c824af2e2d3b20dea.zip
- update to 2.0b8
- add dependency on devel/py-yaml - add LICENSE stuff - change project url - notify user to deinstall the port before upgrading it in UPDATING PR: ports/148877 Submitted by: Ruslan Mahmatkhanov <cvs-src_AT_yandex dot ru>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/nltk/Makefile16
-rw-r--r--textproc/nltk/distinfo6
-rw-r--r--textproc/nltk/pkg-descr2
3 files changed, 10 insertions, 14 deletions
diff --git a/textproc/nltk/Makefile b/textproc/nltk/Makefile
index 3d5385aadbf7..fd7d2da89370 100644
--- a/textproc/nltk/Makefile
+++ b/textproc/nltk/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nltk
-PORTVERSION= 2.0b7
+PORTVERSION= 2.0b8
PORTEPOCH= 1
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
@@ -15,9 +15,13 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= clsung@FreeBSD.org
COMMENT= Natural language toolkit written in python
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
+ ${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml
RUN_DEPENDS= ${BUILD_DEPENDS}
+LICENSE= ASL
+LICENSE_FILE_ASL= ${WRKSRC}/LICENSE.txt
+
USE_PYTHON= 2.4+
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
@@ -27,13 +31,5 @@ post-install:
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/nltk -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
- @${FIND} ${PYTHON_SITELIBDIR}/nltk_contrib ! -type d | \
- ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
- @${FIND} ${PYTHON_SITELIBDIR}/nltk_contrib -type d | ${SORT} -r | \
- ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
- @${FIND} ${PYTHON_SITELIBDIR}/yaml ! -type d | \
- ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
- @${FIND} ${PYTHON_SITELIBDIR}/yaml -type d | ${SORT} -r | \
- ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>
diff --git a/textproc/nltk/distinfo b/textproc/nltk/distinfo
index b48d8aa5cf2a..cc1f02613358 100644
--- a/textproc/nltk/distinfo
+++ b/textproc/nltk/distinfo
@@ -1,3 +1,3 @@
-MD5 (nltk-2.0b7.tar.gz) = 94ffa5b266183d2802b6cab11cb4db4f
-SHA256 (nltk-2.0b7.tar.gz) = 8f4b3e7c8506f4c61c3f9188796f8f1c26435f78379bbfd1c144c082bfab0ac0
-SIZE (nltk-2.0b7.tar.gz) = 878591
+MD5 (nltk-2.0b8.tar.gz) = d9e94beced346268e4d3d1b314d6f57f
+SHA256 (nltk-2.0b8.tar.gz) = b5e9e955b3bc3943ff102d58e5513e6e8119d924feabf7d6086c6cc05733d2bc
+SIZE (nltk-2.0b8.tar.gz) = 856561
diff --git a/textproc/nltk/pkg-descr b/textproc/nltk/pkg-descr
index f2763cbd677d..6acebee7f2bd 100644
--- a/textproc/nltk/pkg-descr
+++ b/textproc/nltk/pkg-descr
@@ -11,4 +11,4 @@ information retrieval, and machine learning. NLTK has been used successfully
as a teaching tool, as an individual study tool, and as a platform for
prototyping and building research systems.
-WWW: http://nltk.sourceforge.net/
+WWW: http://www.nltk.org/