summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2008-10-12 21:55:10 +0000
committerhe <he@pkgsrc.org>2008-10-12 21:55:10 +0000
commit500c6101cc7196e66055ec63631dce42747603ae (patch)
tree71df7267bb5291f5df29f9d4ab8208a019e27864 /databases
parent5b4febfcf3a61ba440a4852993d8daef7667289b (diff)
downloadpkgsrc-500c6101cc7196e66055ec63631dce42747603ae.tar.gz
Import p5-Search-QueryParser-SQL version 0.005.
Search::QueryParser::SQL is a subclass of Search::QueryParser. Chiefly it extends the unparse() method to stringify free-text search queries as valid SQL WHERE clauses. The idea is to allow you to treat your database like a free-text search index, when it really isn't.
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-Search-QueryParser-SQL/DESCR6
-rw-r--r--databases/p5-Search-QueryParser-SQL/Makefile21
-rw-r--r--databases/p5-Search-QueryParser-SQL/distinfo5
3 files changed, 32 insertions, 0 deletions
diff --git a/databases/p5-Search-QueryParser-SQL/DESCR b/databases/p5-Search-QueryParser-SQL/DESCR
new file mode 100644
index 00000000000..933168084d5
--- /dev/null
+++ b/databases/p5-Search-QueryParser-SQL/DESCR
@@ -0,0 +1,6 @@
+Search::QueryParser::SQL is a subclass of Search::QueryParser.
+Chiefly it extends the unparse() method to stringify free-text
+search queries as valid SQL WHERE clauses.
+
+The idea is to allow you to treat your database like a free-text
+search index, when it really isn't.
diff --git a/databases/p5-Search-QueryParser-SQL/Makefile b/databases/p5-Search-QueryParser-SQL/Makefile
new file mode 100644
index 00000000000..728ffeaaedc
--- /dev/null
+++ b/databases/p5-Search-QueryParser-SQL/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/10/12 21:55:10 he Exp $
+
+DISTNAME= Search-QueryParser-SQL-0.005
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Search/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Search-QueryParser-SQL/
+COMMENT= Perl module to turn free-text queries into SQL WHERE clauses
+
+DEPENDS+= p5-Search-QueryParser>=0.93:../../databases/p5-Search-QueryParser/
+DEPENDS+= p5-Data-Dump>=0:../../devel/p5-Data-Dump
+
+PERL5_PACKLIST= auto/Search/QueryParser/SQL/.packlist
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-Search-QueryParser-SQL/distinfo b/databases/p5-Search-QueryParser-SQL/distinfo
new file mode 100644
index 00000000000..85872a9f820
--- /dev/null
+++ b/databases/p5-Search-QueryParser-SQL/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/10/12 21:55:10 he Exp $
+
+SHA1 (Search-QueryParser-SQL-0.005.tar.gz) = bd0e14532fbc5dc56011ac71d7f8616a0291d100
+RMD160 (Search-QueryParser-SQL-0.005.tar.gz) = 4dbcbdcb6584c8beb5c1e9888776380f27377f75
+Size (Search-QueryParser-SQL-0.005.tar.gz) = 19173 bytes