aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Prefix-XS
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-12-28 15:59:51 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-12-28 15:59:51 +0000
commit55e30789f64bafd917331db8033cd6a2786cc2e9 (patch)
tree1c5d03014cfc10383d2d72c08a3d43576bd49a59 /textproc/p5-Text-Prefix-XS
parent78ec4bbcf43f7dbbc5eeaa01ac27b580ac7d6d8b (diff)
downloadports-55e30789f64bafd917331db8033cd6a2786cc2e9.tar.gz
ports-55e30789f64bafd917331db8033cd6a2786cc2e9.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/
Notes
Notes: svn path=/head/; revision=288190
Diffstat (limited to 'textproc/p5-Text-Prefix-XS')
-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
4 files changed, 42 insertions, 0 deletions
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