diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2002-05-28 09:38:22 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2002-05-28 09:38:22 +0000 |
commit | 894aa7a05209834a2e0371c32725010836003716 (patch) | |
tree | 53111ab6002e6dcb25e35cb520130b8cebf52c52 | |
parent | 5427f343f86224210a0844d018a5d2dad5a4f6da (diff) | |
download | ports-894aa7a05209834a2e0371c32725010836003716.tar.gz ports-894aa7a05209834a2e0371c32725010836003716.zip |
Notes
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/p5-DBD-Oracle/Makefile | 42 | ||||
-rw-r--r-- | databases/p5-DBD-Oracle/distinfo | 1 | ||||
-rw-r--r-- | databases/p5-DBD-Oracle/pkg-comment | 1 | ||||
-rw-r--r-- | databases/p5-DBD-Oracle/pkg-descr | 7 | ||||
-rw-r--r-- | databases/p5-DBD-Oracle/pkg-plist | 26 |
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 |