aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2002-05-28 17:38:22 +0800
committerskv <skv@FreeBSD.org>2002-05-28 17:38:22 +0800
commit59ba1b946258219b3f078bb6552e70f0d42151ab (patch)
treebd06d4a15118eeec26506b0e6c1c505bb2aa5c4e /databases
parentf9a9a369ba0868055065bb03de2e2d721617ece2 (diff)
downloadfreebsd-ports-gnome-59ba1b946258219b3f078bb6552e70f0d42151ab.tar.gz
freebsd-ports-gnome-59ba1b946258219b3f078bb6552e70f0d42151ab.tar.zst
freebsd-ports-gnome-59ba1b946258219b3f078bb6552e70f0d42151ab.zip
Add p5-DBD-Oracle 1.12, DBI driver for Oracle RDBMS server.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-DBD-Oracle/Makefile42
-rw-r--r--databases/p5-DBD-Oracle/distinfo1
-rw-r--r--databases/p5-DBD-Oracle/pkg-comment1
-rw-r--r--databases/p5-DBD-Oracle/pkg-descr7
-rw-r--r--databases/p5-DBD-Oracle/pkg-plist26
6 files changed, 78 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index e846c64ed93b..dded8b958f32 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -69,6 +69,7 @@
SUBDIR += p5-DBD-InterBase
SUBDIR += p5-DBD-mysql
SUBDIR += p5-DBD-ODBC
+ SUBDIR += p5-DBD-Oracle
SUBDIR += p5-DBD-Pg
SUBDIR += p5-DBD-SQLite
SUBDIR += p5-DBD-Sybase
diff --git a/databases/p5-DBD-Oracle/Makefile b/databases/p5-DBD-Oracle/Makefile
new file mode 100644
index 000000000000..12587740e129
--- /dev/null
+++ b/databases/p5-DBD-Oracle/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: DBD::Oracle
+# Date created: 28 May 2002
+# Whom: Sergey Skvortsov <skv@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DBD-Oracle
+PORTVERSION= 1.12
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DBD
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
+ ${LOCALBASE}/oracle7/rdbms/demo/oracle.mk:${PORTSDIR}/databases/oracle7-client
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+ORACLE_HOME= ${LOCALBASE}/oracle7
+PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}"
+PERL_CONFIGURE= yes
+CONFIGURE_ARGS= -m ${ORACLE_HOME}/rdbms/demo/oracle.mk
+CONFIGURE_ENV= ORACLE_HOME="${ORACLE_HOME}"
+
+MAN1= ora_explain.1
+MAN1PREFIX= ${PREFIX}
+MAN3= DBD::Oracle.3 DBD::Oraperl.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/Oracle.ex/Readme ${EXAMPLESDIR}
+ @${INSTALL_SCRIPT} ${WRKSRC}/Oracle.ex/*.pl ${EXAMPLESDIR}
+ @${INSTALL_SCRIPT} ${WRKSRC}/Oracle.ex/japh ${EXAMPLESDIR}
+ @${INSTALL_SCRIPT} ${WRKSRC}/Oracle.ex/sql ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/databases/p5-DBD-Oracle/distinfo b/databases/p5-DBD-Oracle/distinfo
new file mode 100644
index 000000000000..77286473edf7
--- /dev/null
+++ b/databases/p5-DBD-Oracle/distinfo
@@ -0,0 +1 @@
+MD5 (DBD-Oracle-1.12.tar.gz) = 89f33ade9fbbdb09e07178339ee44f4f
diff --git a/databases/p5-DBD-Oracle/pkg-comment b/databases/p5-DBD-Oracle/pkg-comment
new file mode 100644
index 000000000000..8e6cedc78180
--- /dev/null
+++ b/databases/p5-DBD-Oracle/pkg-comment
@@ -0,0 +1 @@
+DBI driver for Oracle RDBMS server
diff --git a/databases/p5-DBD-Oracle/pkg-descr b/databases/p5-DBD-Oracle/pkg-descr
new file mode 100644
index 000000000000..b5b8c9e5740f
--- /dev/null
+++ b/databases/p5-DBD-Oracle/pkg-descr
@@ -0,0 +1,7 @@
+DBD::Oracle is a Perl module which works with the DBI module to provide
+access to Oracle databases.
+
+WWW: http://search.cpan.org/search?dist=DBD-Oracle
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/databases/p5-DBD-Oracle/pkg-plist b/databases/p5-DBD-Oracle/pkg-plist
new file mode 100644
index 000000000000..34c3d51aca87
--- /dev/null
+++ b/databases/p5-DBD-Oracle/pkg-plist
@@ -0,0 +1,26 @@
+bin/ora_explain
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD/Oracle.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Oraperl.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/Oracle/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/Oracle/Oracle.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/Oracle/Oracle.h
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/Oracle/Oracle.so
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/Oracle/dbdimp.h
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/Oracle/mk.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/Oracle/ocitrace.h
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/oraperl.ph
+%%PORTDOCS%%%%EXAMPLESDIR%%/Readme
+%%PORTDOCS%%%%EXAMPLESDIR%%/bind.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/commit.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/curref.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/ex.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/japh
+%%PORTDOCS%%%%EXAMPLESDIR%%/mktable.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/oradump.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/proc.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/sql
+%%PORTDOCS%%%%EXAMPLESDIR%%/tabinfo.pl
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/Oracle
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true