summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-06-03 03:39:08 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-06-03 03:39:08 +0000
commit11193cb53235db2dfe6754f3b1919ba809274c47 (patch)
tree42a9df1b2fc81fe493f71a0e404eda4863584d10 /textproc
parentadd missing file (diff)
upgrade to 0.08
PR: 66922 Submitted by: maintainer
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-WordNet-Similarity/Makefile12
-rw-r--r--textproc/p5-WordNet-Similarity/distinfo4
2 files changed, 11 insertions, 5 deletions
diff --git a/textproc/p5-WordNet-Similarity/Makefile b/textproc/p5-WordNet-Similarity/Makefile
index 98a8273c5b88..fcfd6b1ee738 100644
--- a/textproc/p5-WordNet-Similarity/Makefile
+++ b/textproc/p5-WordNet-Similarity/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= WordNet-Similarity
-PORTVERSION= 0.07
+PORTVERSION= 0.08
PORTREVISION= 0
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
@@ -39,11 +39,17 @@ MAN3= WordNet::Similarity.3 WordNet::Similarity::jcn.3 \
post-patch:
@${REINPLACE_CMD} -e \
- '/wnUnixPath/s|/usr/local/WordNet-1.7.1|${WNHOME}|; \
+ '/wnUnixPath/s|/usr/local/WordNet-2.0|${WNHOME}|; \
/wnUnixPath/s|."/dict"||' ${WRKSRC}/Makefile.PL
@${REINPLACE_CMD} -e \
"s|'dict|'|" ${WRKSRC}/utils/wnDepths.pl
@${FIND} ${WRKSRC}/utils -type f| ${XARGS} ${REINPLACE_CMD} -e \
's|/usr/local/bin/perl|${PERL}|'
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-WordNet-Similarity/distinfo b/textproc/p5-WordNet-Similarity/distinfo
index 457ac3fdc799..17c9611660cd 100644
--- a/textproc/p5-WordNet-Similarity/distinfo
+++ b/textproc/p5-WordNet-Similarity/distinfo
@@ -1,2 +1,2 @@
-MD5 (WordNet-Similarity-0.07.tar.gz) = 5fab746745e99e796572d9d760d51c8c
-SIZE (WordNet-Similarity-0.07.tar.gz) = 554501
+MD5 (WordNet-Similarity-0.08.tar.gz) = 2b7fe9a1bdf141d37f15fd265a865135
+SIZE (WordNet-Similarity-0.08.tar.gz) = 570469