summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-Sybase
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2001-05-10 17:04:49 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2001-05-10 17:04:49 +0000
commit3c723501973e4901a984abf498607fb385eb6117 (patch)
treecee91f7867e8186ac0e1cb4ff139cf2ec3cc2c66 /databases/p5-DBD-Sybase
parentUpgrade to 2.93 (diff)
This is DBD::Sybase, a Perl5 database interface driver that uses the
FreeTDS libraries to connect to Sybase-like RDMSs, including MSSQL7.
Notes
Notes: svn path=/head/; revision=42499
Diffstat (limited to 'databases/p5-DBD-Sybase')
-rw-r--r--databases/p5-DBD-Sybase/Makefile28
-rw-r--r--databases/p5-DBD-Sybase/distinfo1
-rw-r--r--databases/p5-DBD-Sybase/files/patch-Makefile.PL21
-rw-r--r--databases/p5-DBD-Sybase/pkg-comment1
-rw-r--r--databases/p5-DBD-Sybase/pkg-descr3
-rw-r--r--databases/p5-DBD-Sybase/pkg-plist7
6 files changed, 61 insertions, 0 deletions
diff --git a/databases/p5-DBD-Sybase/Makefile b/databases/p5-DBD-Sybase/Makefile
new file mode 100644
index 000000000000..d86b9fdc061b
--- /dev/null
+++ b/databases/p5-DBD-Sybase/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-DBD-Sybase
+# Date created: May 10th 2001
+# Whom: Sheldon Hearn <sheldonh@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DBD-Sybase
+PORTVERSION= 0.91
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DBD
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sheldonh@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+LIB_DEPENDS= ct.0:${PORTSDIR}/databases/freetds \
+ intl.1:${PORTSDIR}/devel/gettext
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+CONFIGURE_ENV+= SYBASE=${LOCALBASE}
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= DBD::Sybase.3
+
+.include <bsd.port.mk>
diff --git a/databases/p5-DBD-Sybase/distinfo b/databases/p5-DBD-Sybase/distinfo
new file mode 100644
index 000000000000..92ba6ac02e48
--- /dev/null
+++ b/databases/p5-DBD-Sybase/distinfo
@@ -0,0 +1 @@
+MD5 (DBD-Sybase-0.91.tar.gz) = a95ab43918044d2e50694a4f564615c5
diff --git a/databases/p5-DBD-Sybase/files/patch-Makefile.PL b/databases/p5-DBD-Sybase/files/patch-Makefile.PL
new file mode 100644
index 000000000000..32c9664e19d4
--- /dev/null
+++ b/databases/p5-DBD-Sybase/files/patch-Makefile.PL
@@ -0,0 +1,21 @@
+--- Makefile.PL.orig Thu May 10 17:56:44 2001
++++ Makefile.PL Thu May 10 17:58:36 2001
+@@ -107,13 +107,13 @@
+ } else {
+ my $extra = getExtraLibs($SYBASE, $attr{EXTRA_LIBS});
+ if($file) {
+- $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl $attr{EXTRA_LIBS} -lm";
++ $lib_string = "-L$SYBASE/lib -lct -lintl $attr{EXTRA_LIBS} -lm";
+ } else {
+- $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl $extra -lm";
+- }
+- if($^O =~ /linux|freebsd/i) {
+- $lib_string =~ s/ltcl/lsybtcl/;
++ $lib_string = "-L$SYBASE/lib -lct -lintl $extra -lm";
+ }
++# if($^O =~ /linux|freebsd/i) {
++# $lib_string =~ s/ltcl/lsybtcl/;
++# }
+ }
+
+ my $config_sitearch = $Config{sitearchexp};
diff --git a/databases/p5-DBD-Sybase/pkg-comment b/databases/p5-DBD-Sybase/pkg-comment
new file mode 100644
index 000000000000..888454ad8f26
--- /dev/null
+++ b/databases/p5-DBD-Sybase/pkg-comment
@@ -0,0 +1 @@
+A Sybase DBI driver for Perl 5
diff --git a/databases/p5-DBD-Sybase/pkg-descr b/databases/p5-DBD-Sybase/pkg-descr
new file mode 100644
index 000000000000..4e0afcefb079
--- /dev/null
+++ b/databases/p5-DBD-Sybase/pkg-descr
@@ -0,0 +1,3 @@
+DBD::Sybase is DBI (Database Interface) driver for Perl, which uses the
+FreeTDS libraries to provide access to Sybase databases (including MSSQL
+7).
diff --git a/databases/p5-DBD-Sybase/pkg-plist b/databases/p5-DBD-Sybase/pkg-plist
new file mode 100644
index 000000000000..edfad47751e2
--- /dev/null
+++ b/databases/p5-DBD-Sybase/pkg-plist
@@ -0,0 +1,7 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD/Sybase.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/DBD/dbd-sybase.pod
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/Sybase/Sybase.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/Sybase/Sybase.so
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/Sybase/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/Sybase
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true