aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2005-04-07 08:57:53 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2005-04-07 08:57:53 +0000
commite6ed1295a79545e9e45e282d10b6aa559f22d1b2 (patch)
tree5ab2850f3246cde63594aa4b531fbdb23d0a5efe /databases
parent0d06a6b03114dc5ed001d3122c0f28025e45763f (diff)
downloadports-e6ed1295a79545e9e45e282d10b6aa559f22d1b2.tar.gz
ports-e6ed1295a79545e9e45e282d10b6aa559f22d1b2.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-DBD-Google/Makefile39
-rw-r--r--databases/p5-DBD-Google/distinfo2
-rw-r--r--databases/p5-DBD-Google/pkg-descr4
-rw-r--r--databases/p5-DBD-Google/pkg-plist12
5 files changed, 58 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index ffa173f18b2f..07db47b7c6f2 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -149,6 +149,7 @@
SUBDIR += p5-DBD-CSV
SUBDIR += p5-DBD-Excel
SUBDIR += p5-DBD-File
+ SUBDIR += p5-DBD-Google
SUBDIR += p5-DBD-InterBase
SUBDIR += p5-DBD-LDAP
SUBDIR += p5-DBD-ODBC
diff --git a/databases/p5-DBD-Google/Makefile b/databases/p5-DBD-Google/Makefile
new file mode 100644
index 000000000000..e475335292b5
--- /dev/null
+++ b/databases/p5-DBD-Google/Makefile
@@ -0,0 +1,39 @@
+# ex:ts=8
+# Ports collection makefile for: p5-DBD-Google
+# Date created: Apr 7, 2005
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= DBD-Google
+PORTVERSION= 0.11
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DBD
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Treat Google as a datasource for DBI
+
+BUILD_DEPENDS= ${SITE_PERL}/Net/Google.pm:${PORTSDIR}/net/p5-Net-Google \
+ ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \
+ ${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \
+ ${SITE_PERL}/SQL/Parser.pm:${PORTSDIR}/databases/p5-SQL-Statement
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= DBD::Google.3 SQL::Dialects::Google.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
+.else
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/p5-DBD-Google/distinfo b/databases/p5-DBD-Google/distinfo
new file mode 100644
index 000000000000..f7451b51130e
--- /dev/null
+++ b/databases/p5-DBD-Google/distinfo
@@ -0,0 +1,2 @@
+MD5 (DBD-Google-0.11.tar.gz) = 676acbcae7f027e662eb17028a720fa9
+SIZE (DBD-Google-0.11.tar.gz) = 20840
diff --git a/databases/p5-DBD-Google/pkg-descr b/databases/p5-DBD-Google/pkg-descr
new file mode 100644
index 000000000000..4c60c9771e3c
--- /dev/null
+++ b/databases/p5-DBD-Google/pkg-descr
@@ -0,0 +1,4 @@
+DBD::Google allows you to use Google as a datasource; Google can be queried
+using SQL SELECT statements, and iterated over using standard DBI conventions.
+
+WWW: http://search.cpan.org/dist/DBD-Google/
diff --git a/databases/p5-DBD-Google/pkg-plist b/databases/p5-DBD-Google/pkg-plist
new file mode 100644
index 000000000000..7451f5dca69d
--- /dev/null
+++ b/databases/p5-DBD-Google/pkg-plist
@@ -0,0 +1,12 @@
+%%SITE_PERL%%/DBD/Google.pm
+%%SITE_PERL%%/DBD/Google/GetInfo.pm
+%%SITE_PERL%%/DBD/Google/db.pm
+%%SITE_PERL%%/DBD/Google/dr.pm
+%%SITE_PERL%%/DBD/Google/parser.pm
+%%SITE_PERL%%/DBD/Google/st.pm
+%%SITE_PERL%%/SQL/Dialects/Google.pm
+@dirrm %%SITE_PERL%%/DBD/Google
+@unexec rmdir %D/%%SITE_PERL%%/DBD 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Google/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Google
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true