Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2004 12:34:52 +0800 (CST)
From:      Cheng-Lung Sung <clsung@dragon2.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        clsung@tiger2.net
Subject:   ports/61566: [update] p5-Text-ParagraphDiff to 2.60
Message-ID:  <20040119043452.1FAD8153B0@mail.dragon2.net>
Resent-Message-ID: <200401190440.i0J4e8xY070710@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61566
>Category:       ports
>Synopsis:       [update] p5-Text-ParagraphDiff to 2.60
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 18 20:40:08 PST 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@sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386

>Description:
- update from 2.43 to 2.60
- add example script
>How-To-Repeat:
>Fix:

diff -ruN /usr/ports/textproc/p5-Text-ParagraphDiff/Makefile ./p5-Text-ParagraphDiff/Makefile
--- /usr/ports/textproc/p5-Text-ParagraphDiff/Makefile	Tue Dec 23 14:42:58 2003
+++ ./p5-Text-ParagraphDiff/Makefile	Mon Jan 19 12:30:20 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Text-ParagraphDiff
-PORTVERSION=	2.43
+PORTVERSION=	2.60
 CATEGORIES=	textproc perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Text
@@ -23,12 +23,24 @@
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
+SCRIPTS=	tdiff
+EXAMPLES=	diff.html new.txt old.txt
+EXAMPLESDIR=	${PREFIX}/share/examples/p5-Text-ParagraphDiff
 MAN3=		Text::ParagraphDiff.3
 
 .include <bsd.port.pre.mk>
 
 .if ${PERL_LEVEL} < 500601
 IGNORE=		This port requires perl 5.6.1 or later. Install lang/perl5 then try again
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${EXAMPLESDIR}
+	cd ${WRKSRC}/bin && \
+	${INSTALL_SCRIPT} ${SCRIPTS} ${EXAMPLESDIR}
+	cd ${WRKSRC}/examples && \
+	${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
 .endif
 
 .include <bsd.port.post.mk>
diff -ruN /usr/ports/textproc/p5-Text-ParagraphDiff/distinfo ./p5-Text-ParagraphDiff/distinfo
--- /usr/ports/textproc/p5-Text-ParagraphDiff/distinfo	Tue Dec 23 14:42:58 2003
+++ ./p5-Text-ParagraphDiff/distinfo	Mon Jan 19 12:06:43 2004
@@ -1 +1 @@
-MD5 (Text-ParagraphDiff-2.43.tar.gz) = 48463c3df69edddc57ce3f8703276ab7
+MD5 (Text-ParagraphDiff-2.60.tar.gz) = 35a09607746114271693185dbcc8dc60
diff -ruN /usr/ports/textproc/p5-Text-ParagraphDiff/pkg-plist ./p5-Text-ParagraphDiff/pkg-plist
--- /usr/ports/textproc/p5-Text-ParagraphDiff/pkg-plist	Wed Nov  5 00:30:35 2003
+++ ./p5-Text-ParagraphDiff/pkg-plist	Mon Jan 19 12:30:40 2004
@@ -1,3 +1,8 @@
+%%PORTDOCS%%%%EXAMPLESDIR%%/tdiff
+%%PORTDOCS%%%%EXAMPLESDIR%%/diff.html
+%%PORTDOCS%%%%EXAMPLESDIR%%/new.txt
+%%PORTDOCS%%%%EXAMPLESDIR%%/old.txt
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
 %%SITE_PERL%%/Text/ParagraphDiff.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ParagraphDiff/.packlist
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ParagraphDiff
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040119043452.1FAD8153B0>