aboutsummaryrefslogtreecommitdiff
path: root/textproc/nltk
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2009-01-08 19:30:09 +0000
committerStefan Walter <stefan@FreeBSD.org>2009-01-08 19:30:09 +0000
commit108ce68d60267175e77802f6a499753ef5da89fa (patch)
tree2b888a670f796797398be33a83b08633c38af354 /textproc/nltk
parent729a6b4a4d7595dd507659b3b5c7c3bc4eb76427 (diff)
downloadports-108ce68d60267175e77802f6a499753ef5da89fa.tar.gz
ports-108ce68d60267175e77802f6a499753ef5da89fa.zip
Notes
Diffstat (limited to 'textproc/nltk')
-rw-r--r--textproc/nltk/Makefile17
-rw-r--r--textproc/nltk/distinfo6
2 files changed, 17 insertions, 6 deletions
diff --git a/textproc/nltk/Makefile b/textproc/nltk/Makefile
index 4c30ee245ceb..bad0ac25e67c 100644
--- a/textproc/nltk/Makefile
+++ b/textproc/nltk/Makefile
@@ -1,4 +1,3 @@
-# ex:ts=8
# Ports collection makefile for: nltk
# Date created: Oct 30, 2003
# Whom: clsung
@@ -7,7 +6,8 @@
#
PORTNAME= nltk
-PORTVERSION= 1.4.4
+PORTVERSION= 0.9.5
+PORTEPOCH= 1
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,7 +15,10 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= clsung@FreeBSD.org
COMMENT= Natural language toolkit written in python
-USE_PYTHON= 2.3+
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_PYTHON= 2.4+
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
@@ -24,5 +27,13 @@ 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 b67ad45f5fc6..4dba59c4a378 100644
--- a/textproc/nltk/distinfo
+++ b/textproc/nltk/distinfo
@@ -1,3 +1,3 @@
-MD5 (nltk-1.4.4.tar.gz) = fb402d42d71844fe4483affa100814e5
-SHA256 (nltk-1.4.4.tar.gz) = 053fa3bacd4782528551b3ce4e9f65237babba90213a989b184c0d19e02ebd0b
-SIZE (nltk-1.4.4.tar.gz) = 326455
+MD5 (nltk-0.9.5.tar.gz) = e4eada7c3a4f68119ad910d86cfff6a2
+SHA256 (nltk-0.9.5.tar.gz) = 2dc56cccff566177d7f1e86df055852ebfa821b46f94920b81e0a80c0626bd02
+SIZE (nltk-0.9.5.tar.gz) = 1177059