aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/nltk
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-07-22 09:43:23 +0800
committerijliao <ijliao@FreeBSD.org>2004-07-22 09:43:23 +0800
commit672a4c53f544a2dd97041e5c91d574c57d21b7bd (patch)
treecce83908277b8b94c51018f4e294d375257f095b /textproc/nltk
parent6ae25cb76f535f2a129a6024cf0497c24a09632d (diff)
downloadfreebsd-ports-gnome-672a4c53f544a2dd97041e5c91d574c57d21b7bd.tar.gz
freebsd-ports-gnome-672a4c53f544a2dd97041e5c91d574c57d21b7bd.tar.zst
freebsd-ports-gnome-672a4c53f544a2dd97041e5c91d574c57d21b7bd.zip
upgrade to 1.4
PR: 69402 Submitted by: maintainer
Diffstat (limited to 'textproc/nltk')
-rw-r--r--textproc/nltk/Makefile10
-rw-r--r--textproc/nltk/distinfo4
-rw-r--r--textproc/nltk/pkg-plist141
3 files changed, 10 insertions, 145 deletions
diff --git a/textproc/nltk/Makefile b/textproc/nltk/Makefile
index de26c1c1da48..c3d039f8f861 100644
--- a/textproc/nltk/Makefile
+++ b/textproc/nltk/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= nltk
-PORTVERSION= 1.3
+PORTVERSION= 1.4
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= clsung@dragon2.net
COMMENT= Natural language toolkit written in python
-USE_PYTHON= 2.1+
+USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
@@ -25,4 +25,10 @@ USE_PYTHON_PREFIX= yes
BROKEN= "Coredump during build on alpha 4.x"
.endif
+post-install:
+ @${FIND} ${PYTHON_SITELIBDIR}/nltk ! -type d | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${PYTHON_SITELIBDIR}/nltk -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+
.include <bsd.port.post.mk>
diff --git a/textproc/nltk/distinfo b/textproc/nltk/distinfo
index 96d80d0549bd..dd0149f2b7ee 100644
--- a/textproc/nltk/distinfo
+++ b/textproc/nltk/distinfo
@@ -1,2 +1,2 @@
-MD5 (nltk-1.3.tar.gz) = 336f038ff587851e23bd01abb03b3aad
-SIZE (nltk-1.3.tar.gz) = 274824
+MD5 (nltk-1.4.tar.gz) = cf54fcf456a0dc03f8fd05f95fd9b1ae
+SIZE (nltk-1.4.tar.gz) = 323438
diff --git a/textproc/nltk/pkg-plist b/textproc/nltk/pkg-plist
deleted file mode 100644
index 1d0bf711ea00..000000000000
--- a/textproc/nltk/pkg-plist
+++ /dev/null
@@ -1,141 +0,0 @@
-%%PYTHON_SITELIBDIR%%/nltk/__init__.py
-%%PYTHON_SITELIBDIR%%/nltk/__init__.pyc
-%%PYTHON_SITELIBDIR%%/nltk/__init__.pyo
-%%PYTHON_SITELIBDIR%%/nltk/cfg.py
-%%PYTHON_SITELIBDIR%%/nltk/cfg.pyc
-%%PYTHON_SITELIBDIR%%/nltk/cfg.pyo
-%%PYTHON_SITELIBDIR%%/nltk/chktype.py
-%%PYTHON_SITELIBDIR%%/nltk/chktype.pyc
-%%PYTHON_SITELIBDIR%%/nltk/chktype.pyo
-%%PYTHON_SITELIBDIR%%/nltk/classifier/__init__.py
-%%PYTHON_SITELIBDIR%%/nltk/classifier/__init__.pyc
-%%PYTHON_SITELIBDIR%%/nltk/classifier/__init__.pyo
-%%PYTHON_SITELIBDIR%%/nltk/classifier/feature.py
-%%PYTHON_SITELIBDIR%%/nltk/classifier/feature.pyc
-%%PYTHON_SITELIBDIR%%/nltk/classifier/feature.pyo
-%%PYTHON_SITELIBDIR%%/nltk/classifier/featureselection.py
-%%PYTHON_SITELIBDIR%%/nltk/classifier/featureselection.pyc
-%%PYTHON_SITELIBDIR%%/nltk/classifier/featureselection.pyo
-%%PYTHON_SITELIBDIR%%/nltk/classifier/maxent.py
-%%PYTHON_SITELIBDIR%%/nltk/classifier/maxent.pyc
-%%PYTHON_SITELIBDIR%%/nltk/classifier/maxent.pyo
-%%PYTHON_SITELIBDIR%%/nltk/classifier/naivebayes.py
-%%PYTHON_SITELIBDIR%%/nltk/classifier/naivebayes.pyc
-%%PYTHON_SITELIBDIR%%/nltk/classifier/naivebayes.pyo
-%%PYTHON_SITELIBDIR%%/nltk/corpus.py
-%%PYTHON_SITELIBDIR%%/nltk/corpus.pyc
-%%PYTHON_SITELIBDIR%%/nltk/corpus.pyo
-%%PYTHON_SITELIBDIR%%/nltk/draw/__init__.py
-%%PYTHON_SITELIBDIR%%/nltk/draw/__init__.pyc
-%%PYTHON_SITELIBDIR%%/nltk/draw/__init__.pyo
-%%PYTHON_SITELIBDIR%%/nltk/draw/cfg.py
-%%PYTHON_SITELIBDIR%%/nltk/draw/cfg.pyc
-%%PYTHON_SITELIBDIR%%/nltk/draw/cfg.pyo
-%%PYTHON_SITELIBDIR%%/nltk/draw/chart.py
-%%PYTHON_SITELIBDIR%%/nltk/draw/chart.pyc
-%%PYTHON_SITELIBDIR%%/nltk/draw/chart.pyo
-%%PYTHON_SITELIBDIR%%/nltk/draw/corpus.py
-%%PYTHON_SITELIBDIR%%/nltk/draw/corpus.pyc
-%%PYTHON_SITELIBDIR%%/nltk/draw/corpus.pyo
-%%PYTHON_SITELIBDIR%%/nltk/draw/featurestruct.py
-%%PYTHON_SITELIBDIR%%/nltk/draw/featurestruct.pyc
-%%PYTHON_SITELIBDIR%%/nltk/draw/featurestruct.pyo
-%%PYTHON_SITELIBDIR%%/nltk/draw/fsa.py
-%%PYTHON_SITELIBDIR%%/nltk/draw/fsa.pyc
-%%PYTHON_SITELIBDIR%%/nltk/draw/fsa.pyo
-%%PYTHON_SITELIBDIR%%/nltk/draw/graph.py
-%%PYTHON_SITELIBDIR%%/nltk/draw/graph.pyc
-%%PYTHON_SITELIBDIR%%/nltk/draw/graph.pyo
-%%PYTHON_SITELIBDIR%%/nltk/draw/plot.py
-%%PYTHON_SITELIBDIR%%/nltk/draw/plot.pyc
-%%PYTHON_SITELIBDIR%%/nltk/draw/plot.pyo
-%%PYTHON_SITELIBDIR%%/nltk/draw/rdparser.py
-%%PYTHON_SITELIBDIR%%/nltk/draw/rdparser.pyc
-%%PYTHON_SITELIBDIR%%/nltk/draw/rdparser.pyo
-%%PYTHON_SITELIBDIR%%/nltk/draw/srparser.py
-%%PYTHON_SITELIBDIR%%/nltk/draw/srparser.pyc
-%%PYTHON_SITELIBDIR%%/nltk/draw/srparser.pyo
-%%PYTHON_SITELIBDIR%%/nltk/draw/tree.py
-%%PYTHON_SITELIBDIR%%/nltk/draw/tree.pyc
-%%PYTHON_SITELIBDIR%%/nltk/draw/tree.pyo
-%%PYTHON_SITELIBDIR%%/nltk/featurestruct.py
-%%PYTHON_SITELIBDIR%%/nltk/featurestruct.pyc
-%%PYTHON_SITELIBDIR%%/nltk/featurestruct.pyo
-%%PYTHON_SITELIBDIR%%/nltk/parser/__init__.py
-%%PYTHON_SITELIBDIR%%/nltk/parser/__init__.pyc
-%%PYTHON_SITELIBDIR%%/nltk/parser/__init__.pyo
-%%PYTHON_SITELIBDIR%%/nltk/parser/chart.py
-%%PYTHON_SITELIBDIR%%/nltk/parser/chart.pyc
-%%PYTHON_SITELIBDIR%%/nltk/parser/chart.pyo
-%%PYTHON_SITELIBDIR%%/nltk/parser/chunk.py
-%%PYTHON_SITELIBDIR%%/nltk/parser/chunk.pyc
-%%PYTHON_SITELIBDIR%%/nltk/parser/chunk.pyo
-%%PYTHON_SITELIBDIR%%/nltk/parser/probabilistic.py
-%%PYTHON_SITELIBDIR%%/nltk/parser/probabilistic.pyc
-%%PYTHON_SITELIBDIR%%/nltk/parser/probabilistic.pyo
-%%PYTHON_SITELIBDIR%%/nltk/probability.py
-%%PYTHON_SITELIBDIR%%/nltk/probability.pyc
-%%PYTHON_SITELIBDIR%%/nltk/probability.pyo
-%%PYTHON_SITELIBDIR%%/nltk/sense.py
-%%PYTHON_SITELIBDIR%%/nltk/sense.pyc
-%%PYTHON_SITELIBDIR%%/nltk/sense.pyo
-%%PYTHON_SITELIBDIR%%/nltk/set.py
-%%PYTHON_SITELIBDIR%%/nltk/set.pyc
-%%PYTHON_SITELIBDIR%%/nltk/set.pyo
-%%PYTHON_SITELIBDIR%%/nltk/stemmer/__init__.py
-%%PYTHON_SITELIBDIR%%/nltk/stemmer/__init__.pyc
-%%PYTHON_SITELIBDIR%%/nltk/stemmer/__init__.pyo
-%%PYTHON_SITELIBDIR%%/nltk/stemmer/porter.py
-%%PYTHON_SITELIBDIR%%/nltk/stemmer/porter.pyc
-%%PYTHON_SITELIBDIR%%/nltk/stemmer/porter.pyo
-%%PYTHON_SITELIBDIR%%/nltk/tagger.py
-%%PYTHON_SITELIBDIR%%/nltk/tagger.pyc
-%%PYTHON_SITELIBDIR%%/nltk/tagger.pyo
-%%PYTHON_SITELIBDIR%%/nltk/test/__init__.py
-%%PYTHON_SITELIBDIR%%/nltk/test/__init__.pyc
-%%PYTHON_SITELIBDIR%%/nltk/test/__init__.pyo
-%%PYTHON_SITELIBDIR%%/nltk/test/cfg.py
-%%PYTHON_SITELIBDIR%%/nltk/test/cfg.pyc
-%%PYTHON_SITELIBDIR%%/nltk/test/cfg.pyo
-%%PYTHON_SITELIBDIR%%/nltk/test/chktype.py
-%%PYTHON_SITELIBDIR%%/nltk/test/chktype.pyc
-%%PYTHON_SITELIBDIR%%/nltk/test/chktype.pyo
-%%PYTHON_SITELIBDIR%%/nltk/test/imports.py
-%%PYTHON_SITELIBDIR%%/nltk/test/imports.pyc
-%%PYTHON_SITELIBDIR%%/nltk/test/imports.pyo
-%%PYTHON_SITELIBDIR%%/nltk/test/probability.py
-%%PYTHON_SITELIBDIR%%/nltk/test/probability.pyc
-%%PYTHON_SITELIBDIR%%/nltk/test/probability.pyo
-%%PYTHON_SITELIBDIR%%/nltk/test/rechunkparser.py
-%%PYTHON_SITELIBDIR%%/nltk/test/rechunkparser.pyc
-%%PYTHON_SITELIBDIR%%/nltk/test/rechunkparser.pyo
-%%PYTHON_SITELIBDIR%%/nltk/test/set.py
-%%PYTHON_SITELIBDIR%%/nltk/test/set.pyc
-%%PYTHON_SITELIBDIR%%/nltk/test/set.pyo
-%%PYTHON_SITELIBDIR%%/nltk/test/token.py
-%%PYTHON_SITELIBDIR%%/nltk/test/token.pyc
-%%PYTHON_SITELIBDIR%%/nltk/test/token.pyo
-%%PYTHON_SITELIBDIR%%/nltk/test/tokenizer.py
-%%PYTHON_SITELIBDIR%%/nltk/test/tokenizer.pyc
-%%PYTHON_SITELIBDIR%%/nltk/test/tokenizer.pyo
-%%PYTHON_SITELIBDIR%%/nltk/test/tree.py
-%%PYTHON_SITELIBDIR%%/nltk/test/tree.pyc
-%%PYTHON_SITELIBDIR%%/nltk/test/tree.pyo
-%%PYTHON_SITELIBDIR%%/nltk/token.py
-%%PYTHON_SITELIBDIR%%/nltk/token.pyc
-%%PYTHON_SITELIBDIR%%/nltk/token.pyo
-%%PYTHON_SITELIBDIR%%/nltk/tokenizer.py
-%%PYTHON_SITELIBDIR%%/nltk/tokenizer.pyc
-%%PYTHON_SITELIBDIR%%/nltk/tokenizer.pyo
-%%PYTHON_SITELIBDIR%%/nltk/tree.py
-%%PYTHON_SITELIBDIR%%/nltk/tree.pyc
-%%PYTHON_SITELIBDIR%%/nltk/tree.pyo
-%%PYTHON_SITELIBDIR%%/nltk/util.py
-%%PYTHON_SITELIBDIR%%/nltk/util.pyc
-%%PYTHON_SITELIBDIR%%/nltk/util.pyo
-@dirrm %%PYTHON_SITELIBDIR%%/nltk/classifier
-@dirrm %%PYTHON_SITELIBDIR%%/nltk/draw
-@dirrm %%PYTHON_SITELIBDIR%%/nltk/parser
-@dirrm %%PYTHON_SITELIBDIR%%/nltk/stemmer
-@dirrm %%PYTHON_SITELIBDIR%%/nltk/test
-@dirrm %%PYTHON_SITELIBDIR%%/nltk