aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2010-07-28 07:19:25 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2010-07-28 07:19:25 +0000
commit74b640096568e344b7d4e979b3f3666dee841b7a (patch)
tree10e96ea331a0c54e463821360a10f7eba7a9d4e9
parent3a55f1097f9d93d62c8077b055fd8f20d137ab28 (diff)
downloadports-74b640096568e344b7d4e979b3f3666dee841b7a.tar.gz
ports-74b640096568e344b7d4e979b3f3666dee841b7a.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>
Notes
Notes: svn path=/head/; revision=258359
-rw-r--r--UPDATING16
-rw-r--r--textproc/nltk/Makefile16
-rw-r--r--textproc/nltk/distinfo6
-rw-r--r--textproc/nltk/pkg-descr2
4 files changed, 26 insertions, 14 deletions
diff --git a/UPDATING b/UPDATING
index 4be8da1d9e31..ba6c22c21f38 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,22 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20090728:
+ AFFECTS: users of textproc/nltk
+ AUTHOR: clsung@FreeBSD.org
+
+ nltk has been upgraded to 2.0b8 which depend on devel/py-yaml now.
+ You need to deinstall nltk before upgrading, since the previous port
+ will delete files installed from py-yaml on deinstall phase.
+
+ for example:
+
+ # pkg_delete nltk-2.0b7,1
+ # portsnap fetch update
+ # cd /usr/ports/textproc/nltk/
+ # make install clean
+
+
20090727:
AFFECTS: users of security/libgcrypt
AUTHOR: wxs@FreeBSD.org
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/