aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Context-EitherSide
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2005-10-24 08:29:29 +0000
committerAnton Berezin <tobez@FreeBSD.org>2005-10-24 08:29:29 +0000
commita75d5c0bb816857ff301c785867d7bfa9767943c (patch)
treeaea003c6017c12977c6266e6a1f6e3d8029a64d2 /textproc/p5-Text-Context-EitherSide
parent7e9f8896a80af76cde08d5f589f27e860363a866 (diff)
downloadports-a75d5c0bb816857ff301c785867d7bfa9767943c.tar.gz
ports-a75d5c0bb816857ff301c785867d7bfa9767943c.zip
Notes
Diffstat (limited to 'textproc/p5-Text-Context-EitherSide')
-rw-r--r--textproc/p5-Text-Context-EitherSide/Makefile28
-rw-r--r--textproc/p5-Text-Context-EitherSide/distinfo2
-rw-r--r--textproc/p5-Text-Context-EitherSide/pkg-descr6
-rw-r--r--textproc/p5-Text-Context-EitherSide/pkg-plist7
4 files changed, 43 insertions, 0 deletions
diff --git a/textproc/p5-Text-Context-EitherSide/Makefile b/textproc/p5-Text-Context-EitherSide/Makefile
new file mode 100644
index 000000000000..c795f32e7372
--- /dev/null
+++ b/textproc/p5-Text-Context-EitherSide/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: textproc/p5-Text-Context-EitherSide
+# Date created: 24 October 2005
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Text-Context-EitherSide
+PORTVERSION= 1.3
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Text
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Text::Context::EitherSide - Get n words either side of search keywords
+
+PERL_CONFIGURE= yes
+
+MAN3= Text::Context::EitherSide.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Text-Context-EitherSide/distinfo b/textproc/p5-Text-Context-EitherSide/distinfo
new file mode 100644
index 000000000000..ee59db410c0c
--- /dev/null
+++ b/textproc/p5-Text-Context-EitherSide/distinfo
@@ -0,0 +1,2 @@
+MD5 (Text-Context-EitherSide-1.3.tar.gz) = 157133a5afc8bfbe025f60a3715751db
+SIZE (Text-Context-EitherSide-1.3.tar.gz) = 4692
diff --git a/textproc/p5-Text-Context-EitherSide/pkg-descr b/textproc/p5-Text-Context-EitherSide/pkg-descr
new file mode 100644
index 000000000000..5975e04d477a
--- /dev/null
+++ b/textproc/p5-Text-Context-EitherSide/pkg-descr
@@ -0,0 +1,6 @@
+Suppose you have a large piece of text - typically, say, a web page or a
+mail message. And now suppose you've done some kind of full-text search
+on that text for a bunch of keywords, and you want to display the
+context in which you found the keywords inside the body of the text.
+
+WWW: http://search.cpan.org/dist/Text-Context-EitherSide/
diff --git a/textproc/p5-Text-Context-EitherSide/pkg-plist b/textproc/p5-Text-Context-EitherSide/pkg-plist
new file mode 100644
index 000000000000..6fd1754ba900
--- /dev/null
+++ b/textproc/p5-Text-Context-EitherSide/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Text/Context/EitherSide.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Context/EitherSide/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Context/EitherSide 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Context 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Text/Context 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Text 2>/dev/null || true