diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2001-05-11 01:04:49 +0800 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2001-05-11 01:04:49 +0800 |
commit | f2dc612a53dcafde4ca2880ff02d1d0a596297c7 (patch) | |
tree | 6da9cc741f5a957d29db068dbe4d4bfcc6c5f059 /databases | |
parent | fb1e039be66683ea7b8db574b56e40428191c4d7 (diff) | |
download | freebsd-ports-gnome-f2dc612a53dcafde4ca2880ff02d1d0a596297c7.tar.gz freebsd-ports-gnome-f2dc612a53dcafde4ca2880ff02d1d0a596297c7.tar.zst freebsd-ports-gnome-f2dc612a53dcafde4ca2880ff02d1d0a596297c7.zip |
This is DBD::Sybase, a Perl5 database interface driver that uses the
FreeTDS libraries to connect to Sybase-like RDMSs, including MSSQL7.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/p5-DBD-Sybase/Makefile | 28 | ||||
-rw-r--r-- | databases/p5-DBD-Sybase/distinfo | 1 | ||||
-rw-r--r-- | databases/p5-DBD-Sybase/files/patch-Makefile.PL | 21 | ||||
-rw-r--r-- | databases/p5-DBD-Sybase/pkg-comment | 1 | ||||
-rw-r--r-- | databases/p5-DBD-Sybase/pkg-descr | 3 | ||||
-rw-r--r-- | databases/p5-DBD-Sybase/pkg-plist | 7 |
7 files changed, 62 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 65a4a80be62a..1ca1f335267e 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -41,6 +41,7 @@ SUBDIR += p5-BerkeleyDB SUBDIR += p5-DBD-CSV SUBDIR += p5-DBD-Pg + SUBDIR += p5-DBD-Sybase SUBDIR += p5-DBD-XBase SUBDIR += p5-DBI SUBDIR += p5-DBIx-Recordset 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 |