aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-wordnet/Makefile
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2004-08-08 12:38:26 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2004-08-08 12:38:26 +0000
commita711bee086cf31444b87e6a68ca939df2cfba3bb (patch)
tree9a8af48ba6b82dae91de2f19b97891bc54a4df28 /textproc/py-wordnet/Makefile
parent6e71444f69182b3108815e0506762d71f3a7cd2e (diff)
downloadports-a711bee086cf31444b87e6a68ca939df2cfba3bb.tar.gz
ports-a711bee086cf31444b87e6a68ca939df2cfba3bb.zip
Notes
Diffstat (limited to 'textproc/py-wordnet/Makefile')
-rw-r--r--textproc/py-wordnet/Makefile6
1 files changed, 3 insertions, 3 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