1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- update to 1.01

- add SHA256
This commit is contained in:
Cheng-Lung Sung 2006-01-16 07:18:12 +00:00
parent a443b81450
commit ef9c6ba8cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=153627
3 changed files with 9 additions and 10 deletions

View File

@ -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>

View File

@ -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

View File

@ -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