aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-01-19 22:11:19 +0800
committerarved <arved@FreeBSD.org>2004-01-19 22:11:19 +0800
commit0f0d57cbef779bf1f343e0efb6da5e2f762e8618 (patch)
treef53ab03f1a04f4cf86a642b3a12a765287360585
parent175e8b11a9dbc2c5c73ecefa7a93bfc4edc42867 (diff)
downloadfreebsd-ports-graphics-0f0d57cbef779bf1f343e0efb6da5e2f762e8618.tar.gz
freebsd-ports-graphics-0f0d57cbef779bf1f343e0efb6da5e2f762e8618.tar.zst
freebsd-ports-graphics-0f0d57cbef779bf1f343e0efb6da5e2f762e8618.zip
Update to 2.60
PR: 61566 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
-rw-r--r--textproc/p5-Text-ParagraphDiff/Makefile14
-rw-r--r--textproc/p5-Text-ParagraphDiff/distinfo2
-rw-r--r--textproc/p5-Text-ParagraphDiff/pkg-plist5
3 files changed, 19 insertions, 2 deletions
diff --git a/textproc/p5-Text-ParagraphDiff/Makefile b/textproc/p5-Text-ParagraphDiff/Makefile
index bb797c44205..53682f4fb32 100644
--- a/textproc/p5-Text-ParagraphDiff/Makefile
+++ b/textproc/p5-Text-ParagraphDiff/Makefile
@@ -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,6 +23,9 @@ PERL_CONFIGURE= yes
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>
@@ -31,4 +34,13 @@ MAN3= Text::ParagraphDiff.3
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 --git a/textproc/p5-Text-ParagraphDiff/distinfo b/textproc/p5-Text-ParagraphDiff/distinfo
index 057dbd67677..a7bd131b1e9 100644
--- a/textproc/p5-Text-ParagraphDiff/distinfo
+++ b/textproc/p5-Text-ParagraphDiff/distinfo
@@ -1 +1 @@
-MD5 (Text-ParagraphDiff-2.43.tar.gz) = 48463c3df69edddc57ce3f8703276ab7
+MD5 (Text-ParagraphDiff-2.60.tar.gz) = 35a09607746114271693185dbcc8dc60
diff --git a/textproc/p5-Text-ParagraphDiff/pkg-plist b/textproc/p5-Text-ParagraphDiff/pkg-plist
index 9d4f885f117..12300733672 100644
--- a/textproc/p5-Text-ParagraphDiff/pkg-plist
+++ b/textproc/p5-Text-ParagraphDiff/pkg-plist
@@ -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