diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-13 14:07:38 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-13 14:07:38 +0000 |
commit | 304b48673a1acf14a5ce111332aa29e3319f792a (patch) | |
tree | 213a1031bfb56d4e22c0d256e2ae93f1a9d5d6db /databases/ruby-interbase | |
parent | upgrade to 0.3.2 (diff) |
add ruby-interbase
Ruby interface to Interbase library
PR: 31869
Submitted by: Sergey Skvortsov <skv@protey.ru>
Notes
Notes:
svn path=/head/; revision=51500
Diffstat (limited to 'databases/ruby-interbase')
-rw-r--r-- | databases/ruby-interbase/Makefile | 41 | ||||
-rw-r--r-- | databases/ruby-interbase/distinfo | 1 | ||||
-rw-r--r-- | databases/ruby-interbase/files/patch-extconf.rb | 24 | ||||
-rw-r--r-- | databases/ruby-interbase/pkg-comment | 1 | ||||
-rw-r--r-- | databases/ruby-interbase/pkg-descr | 3 | ||||
-rw-r--r-- | databases/ruby-interbase/pkg-plist | 5 |
6 files changed, 75 insertions, 0 deletions
diff --git a/databases/ruby-interbase/Makefile b/databases/ruby-interbase/Makefile new file mode 100644 index 000000000000..0a02e8d88dd5 --- /dev/null +++ b/databases/ruby-interbase/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: ruby-interbase +# Date created: 8 Nov 2001 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= interbase +PORTVERSION= 0.03 +CATEGORIES= databases ruby +MASTER_SITES= ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} + +MAINTAINER= skv@protey.ru + +LIB_DEPENDS= gds:${PORTSDIR}/databases/firebird + +WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes + +CONFIGURE_ARGS= --with-interbase-include-dir="${LOCALBASE}/firebird/include" \ + --with-interbase-lib-dir="${LOCALBASE}/firebird/lib" +INSTALL_TARGET= site-install + +DOCS_EN= README +DOCS_JA= README.ja + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ +.endfor +.for f in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/databases/ruby-interbase/distinfo b/databases/ruby-interbase/distinfo new file mode 100644 index 000000000000..71f03be359bc --- /dev/null +++ b/databases/ruby-interbase/distinfo @@ -0,0 +1 @@ +MD5 (interbase-0.03.tar.gz) = 864bd594cb78aa8c1dcd61e309b1cddd diff --git a/databases/ruby-interbase/files/patch-extconf.rb b/databases/ruby-interbase/files/patch-extconf.rb new file mode 100644 index 000000000000..e6771c0e9026 --- /dev/null +++ b/databases/ruby-interbase/files/patch-extconf.rb @@ -0,0 +1,24 @@ +--- extconf.rb.orig Wed May 12 19:19:36 1999 ++++ extconf.rb Fri Nov 9 10:14:03 2001 +@@ -1,5 +1,19 @@ + require 'mkmf' ++INTERBASEDIR = "/usr/interbase" + +-have_library("gdslib", "isc_attach_database") or +- have_library("gds", "isc_attach_database") ++incdir = with_config("interbase-include-dir") ++if incdir then ++ $CFLAGS += "-I#{incdir}" ++else ++ $CFLAGS = "-I#{INTERBASEDIR}/include" ++end ++ ++libdir = with_config("interbase-lib-dir") ++if libdir then ++ $LDFLAGS += "-L#{libdir}" ++else ++ $LDFLAGS = "-L#{INTERBASEDIR}/lib" ++end ++ ++$libs = "-lgds" + create_makefile("interbase") diff --git a/databases/ruby-interbase/pkg-comment b/databases/ruby-interbase/pkg-comment new file mode 100644 index 000000000000..93cfd41d1b44 --- /dev/null +++ b/databases/ruby-interbase/pkg-comment @@ -0,0 +1 @@ +Ruby interface to Interbase library diff --git a/databases/ruby-interbase/pkg-descr b/databases/ruby-interbase/pkg-descr new file mode 100644 index 000000000000..61b1f7d9afbb --- /dev/null +++ b/databases/ruby-interbase/pkg-descr @@ -0,0 +1,3 @@ +This is an extention module to access Interbase database from Ruby. + +WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=interbase diff --git a/databases/ruby-interbase/pkg-plist b/databases/ruby-interbase/pkg-plist new file mode 100644 index 000000000000..515a82cebef9 --- /dev/null +++ b/databases/ruby-interbase/pkg-plist @@ -0,0 +1,5 @@ +%%RUBY_SITEARCHLIBDIR%%/interbase.so +%%PORTDOCS%%%%RUBY_DOCDIR%%/interbase/README +%%PORTDOCS%%%%RUBY_DOCDIR%%/interbase/ja/README.ja +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/interbase/ja +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/interbase |