mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-06 11:41:52 +00:00
Add ruby-dbd_sybase, the Sybase driver for DBI-for-Ruby.
This commit is contained in:
parent
d09bbf8473
commit
19ad98d92d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43445
@ -73,6 +73,7 @@
|
||||
SUBDIR += ruby-cdb
|
||||
SUBDIR += ruby-dbd_mysql
|
||||
SUBDIR += ruby-dbd_postgresql
|
||||
SUBDIR += ruby-dbd_sybase
|
||||
SUBDIR += ruby-dbi
|
||||
SUBDIR += ruby-gdbm
|
||||
SUBDIR += ruby-rdbc1
|
||||
|
39
databases/ruby-dbd_sybase/Makefile
Normal file
39
databases/ruby-dbd_sybase/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# New ports collection makefile for: dbd_sybase for DBD-for-Ruby
|
||||
# Date created: 3 June 2001
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= dbd_sybase
|
||||
PORTVERSION= 0.0.4
|
||||
CATEGORIES= databases ruby
|
||||
MASTER_SITES= http://www.sprytech.com/~rainer.perl/ruby/files/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DISTNAME= ruby-dbi-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= tds.0:${.CURDIR}/../freetds
|
||||
RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${.CURDIR}/../ruby-dbi
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/ext/${PORTNAME}
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
DOCS_EN= doc/*
|
||||
|
||||
post-install:
|
||||
cd ${RUBY_SITEARCHLIBDIR} && ${MV} ${PORTNAME}.so dbi/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_DOCDIR}/dbi/${PORTNAME}
|
||||
.for f in ${DOCS_EN}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/dbi/${PORTNAME}/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/ruby-dbd_sybase/distinfo
Normal file
1
databases/ruby-dbd_sybase/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/ruby-dbi-0.0.4.tgz) = 65dc83374cce86f8494fd47537902449
|
16
databases/ruby-dbd_sybase/files/patch-extconf.rb
Normal file
16
databases/ruby-dbd_sybase/files/patch-extconf.rb
Normal file
@ -0,0 +1,16 @@
|
||||
--- extconf.rb.orig Mon Apr 23 21:31:46 2001
|
||||
+++ extconf.rb Sun Jun 3 03:44:04 2001
|
||||
@@ -1,11 +1,7 @@
|
||||
require 'mkmf'
|
||||
|
||||
-# You may need to change these parameters
|
||||
-FREETDSDIR = "/usr/local/freetds"
|
||||
-# end of parameters
|
||||
+dir_config("freetds", "/usr/local/freetds")
|
||||
|
||||
-$CFLAGS = "-I#{FREETDSDIR}/include"
|
||||
-$LDFLAGS = "-L#{FREETDSDIR}/lib"
|
||||
$libs = "-ltds"
|
||||
|
||||
-create_makefile("dbd_sybase")
|
||||
+create_makefile("dbd_sybase")
|
1
databases/ruby-dbd_sybase/pkg-comment
Normal file
1
databases/ruby-dbd_sybase/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Sybase driver for DBI-for-Ruby
|
4
databases/ruby-dbd_sybase/pkg-descr
Normal file
4
databases/ruby-dbd_sybase/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
This is the Sybase driver for Rainer Perl's DBI-for-Ruby.
|
||||
|
||||
Author: Rainer Perl <rainer.perl@sprytech.com>
|
||||
WWW: http://www.sprytech.com/~rainer.perl/ruby/
|
4
databases/ruby-dbd_sybase/pkg-plist
Normal file
4
databases/ruby-dbd_sybase/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
%%RUBY_SITEARCHLIBDIR%%/dbi/dbd_sybase.so
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/dbd_sybase/HISTORY
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/dbd_sybase/README
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/dbi/dbd_sybase
|
Loading…
x
Reference in New Issue
Block a user