aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2006-12-01 21:26:13 +0800
committerskv <skv@FreeBSD.org>2006-12-01 21:26:13 +0800
commit48a7b38c4fc5ec47b9124ff196a8b4897b706eea (patch)
tree42e3dd547b445abf5ea49dc54dd9f5721be7d77e /databases
parentce5a7680c1041ea3d656954cd506f305523a27c9 (diff)
downloadfreebsd-ports-gnome-48a7b38c4fc5ec47b9124ff196a8b4897b706eea.tar.gz
freebsd-ports-gnome-48a7b38c4fc5ec47b9124ff196a8b4897b706eea.tar.zst
freebsd-ports-gnome-48a7b38c4fc5ec47b9124ff196a8b4897b706eea.zip
Update to fb-0.5.2
Diffstat (limited to 'databases')
-rw-r--r--databases/ruby-interbase/Makefile25
-rw-r--r--databases/ruby-interbase/distinfo6
-rw-r--r--databases/ruby-interbase/files/patch-extconf.rb24
-rw-r--r--databases/ruby-interbase/pkg-plist4
4 files changed, 15 insertions, 44 deletions
diff --git a/databases/ruby-interbase/Makefile b/databases/ruby-interbase/Makefile
index ce0360c149fd..6d7c0a985091 100644
--- a/databases/ruby-interbase/Makefile
+++ b/databases/ruby-interbase/Makefile
@@ -6,39 +6,36 @@
#
PORTNAME= interbase
-PORTVERSION= 0.05
-PORTREVISION= 1
+PORTVERSION= 0.5.2
CATEGORIES= databases ruby
MASTER_SITES= http://www.rowlandresearch.com/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= fb-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= skv@FreeBSD.org
-COMMENT= Ruby interface to Interbase library
-
-LIB_DEPENDS= gds:${PORTSDIR}/databases/firebird-client
-
-WRKSRC= ${WRKDIR}/${PORTNAME}
+COMMENT= Ruby interface to Firebird/Interbase library
+USE_FIREBIRD= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
-CONFIGURE_ARGS= --with-interbase-include-dir="${LOCALBASE}/include" \
- --with-interbase-lib-dir="${LOCALBASE}/lib"
+#CONFIGURE_ARGS= --with-interbase-include-dir="${LOCALBASE}/include" \
+# --with-interbase-lib-dir="${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-opt-dir=${LOCALBASE}
INSTALL_TARGET= site-install
DOCS_EN= README
-DOCS_JA= README.ja
+
+post-patch:
+ ${REINPLACE_CMD} -e 's/gdslib/fbclient/' ${WRKSRC}/extconf.rb
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODDOCDIR}/ja
+ ${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
-.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
-.endfor
.endif
.include <bsd.port.mk>
diff --git a/databases/ruby-interbase/distinfo b/databases/ruby-interbase/distinfo
index 6f2a0909f67a..5c932ce1426e 100644
--- a/databases/ruby-interbase/distinfo
+++ b/databases/ruby-interbase/distinfo
@@ -1,3 +1,3 @@
-MD5 (ruby/interbase-0.05.tar.gz) = 4de18ec90deb65794c362b6162b32aa8
-SHA256 (ruby/interbase-0.05.tar.gz) = 22a4361118b85d4d94a10e247615a1b446a8de0befec6b264d9d9a19bc21de76
-SIZE (ruby/interbase-0.05.tar.gz) = 13849
+MD5 (ruby/fb-0.5.2.tar.gz) = 258aa853f888e7a7f447c06e0a0014dd
+SHA256 (ruby/fb-0.5.2.tar.gz) = 49f0b53911992425f1d8951f7113bf8e71b4cae63e65459f6777a5c3bf6d6e42
+SIZE (ruby/fb-0.5.2.tar.gz) = 27640
diff --git a/databases/ruby-interbase/files/patch-extconf.rb b/databases/ruby-interbase/files/patch-extconf.rb
deleted file mode 100644
index 4479ec1edc88..000000000000
--- a/databases/ruby-interbase/files/patch-extconf.rb
+++ /dev/null
@@ -1,24 +0,0 @@
---- 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-plist b/databases/ruby-interbase/pkg-plist
index 5d228a9e699c..671938901625 100644
--- a/databases/ruby-interbase/pkg-plist
+++ b/databases/ruby-interbase/pkg-plist
@@ -1,5 +1,3 @@
-%%RUBY_SITEARCHLIBDIR%%/interbase.so
+%%RUBY_SITEARCHLIBDIR%%/fb.so
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%