aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-WordNet-Similarity/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-WordNet-Similarity/Makefile')
-rw-r--r--textproc/p5-WordNet-Similarity/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/textproc/p5-WordNet-Similarity/Makefile b/textproc/p5-WordNet-Similarity/Makefile
index 38782f556e15..f7d3190a7c1d 100644
--- a/textproc/p5-WordNet-Similarity/Makefile
+++ b/textproc/p5-WordNet-Similarity/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= WordNet-Similarity
-PORTVERSION= 0.09
+PORTVERSION= 0.11
PORTREVISION= 0
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
@@ -50,10 +50,9 @@ post-patch:
@${REINPLACE_CMD} -e \
'/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}|'
+ 's|/usr/local/bin/perl|${PERL}|; \
+ /wnUnixPath/s|/dict||'
.include <bsd.port.pre.mk>