aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-WordNet-Similarity
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-01-16 15:18:12 +0800
committerclsung <clsung@FreeBSD.org>2006-01-16 15:18:12 +0800
commit8f8f7ee15e12b27c87aefca9457b4d15e1c96799 (patch)
treebb7263de790d62cf698e1c1dff04c99554aa519b /textproc/p5-WordNet-Similarity
parent86960f54e9c3a0e27d08045c33ba49e6383bd27f (diff)
downloadfreebsd-ports-gnome-8f8f7ee15e12b27c87aefca9457b4d15e1c96799.tar.gz
freebsd-ports-gnome-8f8f7ee15e12b27c87aefca9457b4d15e1c96799.tar.zst
freebsd-ports-gnome-8f8f7ee15e12b27c87aefca9457b4d15e1c96799.zip
- update to 1.01
- add SHA256
Diffstat (limited to 'textproc/p5-WordNet-Similarity')
-rw-r--r--textproc/p5-WordNet-Similarity/Makefile10
-rw-r--r--textproc/p5-WordNet-Similarity/distinfo5
-rw-r--r--textproc/p5-WordNet-Similarity/pkg-plist4
3 files changed, 9 insertions, 10 deletions
diff --git a/textproc/p5-WordNet-Similarity/Makefile b/textproc/p5-WordNet-Similarity/Makefile
index e01acd4b1a5c..51062e2bd3a9 100644
--- a/textproc/p5-WordNet-Similarity/Makefile
+++ b/textproc/p5-WordNet-Similarity/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= WordNet-Similarity
-PORTVERSION= 0.15
-PORTREVISION= 0
+PORTVERSION= 1.01
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= WordNet
@@ -20,8 +19,7 @@ BUILD_DEPENDS= ${SITE_PERL}/WordNet/QueryData.pm:${PORTSDIR}/textproc/p5-WordNet
${SITE_PERL}/Text/OverlapFinder.pm:${PORTSDIR}/textproc/p5-Text-Similarity
RUN_DEPENDS= ${BUILD_DEPENDS}
-WNHOME?= ${LOCALBASE}/share/WordNet-2.0
-WRKSRC= ${WRKDIR}/${PORTNAME}
+WNHOME?= ${LOCALBASE}/share/WordNet
PERL_CONFIGURE= yes
CONFIGURE_ENV= WNHOME=${WNHOME}
@@ -52,7 +50,7 @@ MAN3= WordNet::Similarity.3 WordNet::Similarity::jcn.3 \
post-patch:
@${REINPLACE_CMD} -e \
- '/wnUnixPath/s|/usr/local/WordNet-2.0|${WNHOME}|; \
+ '/wnUnixPath/s|/usr/local/WordNet-2.1|${WNHOME}|; \
/wnUnixPath/s|."/dict"||' ${WRKSRC}/Makefile.PL
@${FIND} ${WRKSRC}/utils -type f| ${XARGS} ${REINPLACE_CMD} -e \
's|/usr/local/bin/perl|${PERL}|; \
@@ -61,7 +59,7 @@ post-patch:
.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
+IGNORE= 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 243debcaea75..5afc6c3640a4 100644
--- a/textproc/p5-WordNet-Similarity/distinfo
+++ b/textproc/p5-WordNet-Similarity/distinfo
@@ -1,2 +1,3 @@
-MD5 (WordNet-Similarity-0.15.tar.gz) = 6ff0ce7ae51a865c0c6cee87ca5d1bae
-SIZE (WordNet-Similarity-0.15.tar.gz) = 614856
+MD5 (WordNet-Similarity-1.01.tar.gz) = a02471a101bb5ae57639b2d049115ef8
+SHA256 (WordNet-Similarity-1.01.tar.gz) = dd811a5aa66abb22f8d0e47f3ac0825873e64c25cd06f9f60899482e9b67b051
+SIZE (WordNet-Similarity-1.01.tar.gz) = 632759
diff --git a/textproc/p5-WordNet-Similarity/pkg-plist b/textproc/p5-WordNet-Similarity/pkg-plist
index 2818ec56150b..b26984aa27c2 100644
--- a/textproc/p5-WordNet-Similarity/pkg-plist
+++ b/textproc/p5-WordNet-Similarity/pkg-plist
@@ -12,9 +12,9 @@ bin/semCorFreq.pl
%%SITE_PERL%%/stem.pm
%%SITE_PERL%%/vectorFile.pm
%%SITE_PERL%%/WordNet/lesk-relation.dat
-%%SITE_PERL%%/WordNet/treedepths-2.0.dat
+%%SITE_PERL%%/WordNet/treedepths-2.1.dat
%%SITE_PERL%%/WordNet/ic-semcor.dat
-%%SITE_PERL%%/WordNet/synsetdepths-2.0.dat
+%%SITE_PERL%%/WordNet/synsetdepths-2.1.dat
%%SITE_PERL%%/WordNet/wordvectors.dat
%%SITE_PERL%%/WordNet/vector-pairs-relation.dat
%%SITE_PERL%%/WordNet/vector-relation.dat