ports/66922: [maintainer-update] textproc/p5-WordNet-Similarity to 0.08

Cheng-Lung Sung clsung at dragon2.net
Thu May 20 03:20:35 UTC 2004


>Number:         66922
>Category:       ports
>Synopsis:       [maintainer-update] textproc/p5-WordNet-Similarity to 0.08
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 19 20:20:19 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Cheng-Lung Sung
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD sungsung.csie.nctu.edu.tw 4.9-RELEASE FreeBSD 4.9-RELEASE #5: Wed Oct 29 20:13:25 CST 2003 root at sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386

>Description:
- update from 0.07 to 0.08
- add requirement of perl version to at least 5.6
>How-To-Repeat:
>Fix:

diff -ruN /usr/ports/textproc/p5-WordNet-Similarity/Makefile p5-WordNet-Similarity/Makefile
--- /usr/ports/textproc/p5-WordNet-Similarity/Makefile	Tue Apr 20 21:13:48 2004
+++ p5-WordNet-Similarity/Makefile	Thu May 20 11:18:56 2004
@@ -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 @@
 
 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 -ruN /usr/ports/textproc/p5-WordNet-Similarity/distinfo p5-WordNet-Similarity/distinfo
--- /usr/ports/textproc/p5-WordNet-Similarity/distinfo	Tue Apr 20 21:13:48 2004
+++ p5-WordNet-Similarity/distinfo	Thu May 20 10:23:12 2004
@@ -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

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list