aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2004-08-08 20:38:26 +0800
committerperky <perky@FreeBSD.org>2004-08-08 20:38:26 +0800
commit9b343b5d79a7ab209c6d1ee508a2f516213a003b (patch)
tree6f30759df95ab7d72d801bad2e9c76143271f69c
parent98986aa3cea539c73a30d7c35f9e6157dc11f557 (diff)
downloadfreebsd-ports-gnome-9b343b5d79a7ab209c6d1ee508a2f516213a003b.tar.gz
freebsd-ports-gnome-9b343b5d79a7ab209c6d1ee508a2f516213a003b.tar.zst
freebsd-ports-gnome-9b343b5d79a7ab209c6d1ee508a2f516213a003b.zip
Update to 2.0
PR: 69959 Submitted by: Cheng-Lung Sung <clsung@freebsd.csie.nctu.edu.tw>
-rw-r--r--textproc/py-wordnet/Makefile6
-rw-r--r--textproc/py-wordnet/distinfo4
-rw-r--r--textproc/py-wordnet/pkg-plist3
3 files changed, 8 insertions, 5 deletions
diff --git a/textproc/py-wordnet/Makefile b/textproc/py-wordnet/Makefile
index 2df3947fad5c..54b4a11c0b0b 100644
--- a/textproc/py-wordnet/Makefile
+++ b/textproc/py-wordnet/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= wordnet
-PORTVERSION= 1.4
-PORTREVISION= 2
+PORTVERSION= 2.0.1
+PORTREVISION= 0
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pywordnet
@@ -25,7 +25,7 @@ WORDNETBASE?= ${LOCALBASE}/share/WordNet-${WORDNET_VERSION}
WORDNET_VERSION?= 2.0
post-patch:
- @${SED} -e 's|/usr/local/wordnet1.6|${WORDNETBASE}|g' \
+ @${SED} -e 's|/usr/local/wordnet${WORDNET_VERSION}|${WORDNETBASE}|g' \
-e 's|os.path.join(WNHOME.*))|WNHOME)|g' ${WRKSRC}/wordnet.py \
> ${WRKSRC}/wordnet.py.tmp && ${CAT} ${WRKSRC}/wordnet.py.tmp \
> ${WRKSRC}/wordnet.py
diff --git a/textproc/py-wordnet/distinfo b/textproc/py-wordnet/distinfo
index 290ae1aeb163..bd2adbe2f7a0 100644
--- a/textproc/py-wordnet/distinfo
+++ b/textproc/py-wordnet/distinfo
@@ -1,2 +1,2 @@
-MD5 (pywordnet-1.4.tar.gz) = 791c796699d4c2cd6bd37ec32a232561
-SIZE (pywordnet-1.4.tar.gz) = 21961
+MD5 (pywordnet-2.0.1.tar.gz) = 0e6a86f03715a534ed36279d8f797ca5
+SIZE (pywordnet-2.0.1.tar.gz) = 38052
diff --git a/textproc/py-wordnet/pkg-plist b/textproc/py-wordnet/pkg-plist
index aa76b01b95a2..75c690a10df8 100644
--- a/textproc/py-wordnet/pkg-plist
+++ b/textproc/py-wordnet/pkg-plist
@@ -1,3 +1,6 @@
+lib/%%PYTHON_VERSION%%/site-packages/concordance.py
+lib/%%PYTHON_VERSION%%/site-packages/concordance.pyc
+lib/%%PYTHON_VERSION%%/site-packages/concordance.pyo
lib/%%PYTHON_VERSION%%/site-packages/wordnet.py
lib/%%PYTHON_VERSION%%/site-packages/wordnet.pyc
lib/%%PYTHON_VERSION%%/site-packages/wordnet.pyo