aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstefan <stefan@FreeBSD.org>2009-01-09 03:30:09 +0800
committerstefan <stefan@FreeBSD.org>2009-01-09 03:30:09 +0800
commiteaef96e9ff83fa0bd2614e808cffc2caeeef8262 (patch)
tree45b5ad690db13260edb908304c69f61460fd3ecc
parenta27eaa6c79fda52837acb06b9938ca73e58e2014 (diff)
downloadfreebsd-ports-gnome-eaef96e9ff83fa0bd2614e808cffc2caeeef8262.tar.gz
freebsd-ports-gnome-eaef96e9ff83fa0bd2614e808cffc2caeeef8262.tar.zst
freebsd-ports-gnome-eaef96e9ff83fa0bd2614e808cffc2caeeef8262.zip
Update to 0.9.5. (The former nltk-lite has become the new nltk, thus the lower
version number - bumped PORTEPOCH accordingly.) PR: 126943 Submitted by: Wen heping <wenheping@gmail.com> Approved by: maintainer timeout (>4 months)
-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