aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-12-28 23:59:51 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-12-28 23:59:51 +0800
commitd2df1651c059283d067593b813655e82803a64ef (patch)
tree5d84f1944193fb3345b8a126cc5aa8103d9c111c /textproc
parent73d9a9e55e615c237ba4fd0c57a555735fbef69f (diff)
downloadfreebsd-ports-gnome-d2df1651c059283d067593b813655e82803a64ef.tar.gz
freebsd-ports-gnome-d2df1651c059283d067593b813655e82803a64ef.tar.zst
freebsd-ports-gnome-d2df1651c059283d067593b813655e82803a64ef.zip
- Add p5-Text-Prefix-XS 0.15
Text::Prefix::XS implements something of an trie algorithm for matching (and extracting) prefixes from text strings. WWW: http://search.cpan.org/dist/Text-Prefix-XS/
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Text-Prefix-XS/Makefile26
-rw-r--r--textproc/p5-Text-Prefix-XS/distinfo2
-rw-r--r--textproc/p5-Text-Prefix-XS/pkg-descr4
-rw-r--r--textproc/p5-Text-Prefix-XS/pkg-plist10
5 files changed, 43 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 2d6326ce859a..d8f8bd3adf78 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -800,6 +800,7 @@
SUBDIR += p5-Text-ParagraphDiff
SUBDIR += p5-Text-ParseWords
SUBDIR += p5-Text-Patch
+ SUBDIR += p5-Text-Prefix-XS
SUBDIR += p5-Text-QRCode
SUBDIR += p5-Text-Query
SUBDIR += p5-Text-Quote
diff --git a/textproc/p5-Text-Prefix-XS/Makefile b/textproc/p5-Text-Prefix-XS/Makefile
new file mode 100644
index 000000000000..96e403d5e4da
--- /dev/null
+++ b/textproc/p5-Text-Prefix-XS/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-Text-Prefix-XS
+# Date created: 2011-12-24
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Text-Prefix-XS
+PORTVERSION= 0.15
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Fast prefix searching
+
+BUILD_DEPENDS= p5-Digest-SHA1>=1:${PORTSDIR}/security/p5-Digest-SHA1
+RUN_DEPENDS= p5-Digest-SHA1>=1:${PORTSDIR}/security/p5-Digest-SHA1
+
+TEST_DEPENDS= p5-Test-Deep>=0.108:${PORTSDIR}/devel/p5-Test-Deep
+
+PERL_CONFIGURE= yes
+
+MAN3= Text::Prefix::XS.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Text-Prefix-XS/distinfo b/textproc/p5-Text-Prefix-XS/distinfo
new file mode 100644
index 000000000000..61c65a96167e
--- /dev/null
+++ b/textproc/p5-Text-Prefix-XS/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Text-Prefix-XS-0.15.tar.gz) = 57f0b614b15aea528ca04fa3853e21702d9dbdccf4070fac0c15bd6c4f78044a
+SIZE (Text-Prefix-XS-0.15.tar.gz) = 14714
diff --git a/textproc/p5-Text-Prefix-XS/pkg-descr b/textproc/p5-Text-Prefix-XS/pkg-descr
new file mode 100644
index 000000000000..b91bbb76ced4
--- /dev/null
+++ b/textproc/p5-Text-Prefix-XS/pkg-descr
@@ -0,0 +1,4 @@
+Text::Prefix::XS implements something of an trie algorithm for matching (and
+extracting) prefixes from text strings.
+
+WWW: http://search.cpan.org/dist/Text-Prefix-XS/
diff --git a/textproc/p5-Text-Prefix-XS/pkg-plist b/textproc/p5-Text-Prefix-XS/pkg-plist
new file mode 100644
index 000000000000..0f7df0c99a0a
--- /dev/null
+++ b/textproc/p5-Text-Prefix-XS/pkg-plist
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Text/Prefix/XS.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Text/Prefix/trie.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Prefix/XS/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Prefix/XS/XS.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Prefix/XS/XS.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Prefix/XS
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Prefix
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Text/Prefix
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Text