FreeBSD Bugzilla – Attachment 87479 Details for
Bug 124085
(New Port) databases/ruby-frontbase
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 4.85 KB, created by
Mitchell Smith
on 2008-05-29 04:30:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Mitchell Smith
Created:
2008-05-29 04:30:01 UTC
Size:
4.85 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># ruby-frontbase ># ruby-frontbase/pkg-plist ># ruby-frontbase/Makefile ># ruby-frontbase/distinfo ># ruby-frontbase/files ># ruby-frontbase/files/patch-extconf.rb ># ruby-frontbase/files/patch-frontbase.c ># ruby-frontbase/pkg-descr ># >echo c - ruby-frontbase >mkdir -p ruby-frontbase > /dev/null 2>&1 >echo x - ruby-frontbase/pkg-plist >sed 's/^X//' >ruby-frontbase/pkg-plist << 'END-of-ruby-frontbase/pkg-plist' >X%%RUBY_SITEARCHLIBDIR%%/frontbase.so >END-of-ruby-frontbase/pkg-plist >echo x - ruby-frontbase/Makefile >sed 's/^X//' >ruby-frontbase/Makefile << 'END-of-ruby-frontbase/Makefile' >X# New ports collection makefile for: ruby-frontbase >X# Date created: 27 May 2008 >X# Whom: Mitchell Smith <mjs@bur.st> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= frontbase >XPORTVERSION= 0.0.1 >XCATEGORIES= databases ruby >XMASTER_SITES+= http://www.frontbase.com/download/Ruby/ >XPKGNAMEPREFIX= ruby- >XDISTNAME= ruby-frontbase-${PORTVERSION} >XEXTRACT_SUFX= .tgz >X >XMAINTAINER= mjs@bur.st >XCOMMENT= Ruby interface to the FrontBase db engine >X >XBUILD_DEPENDS+= ${LOCALBASE}/lib/libFBCAccess.a:../frontbase >XRUN_DEPENDS+= ${BUILD_DEPENDS} >X >XUSE_RUBY= yes >XUSE_RUBY_EXTCONF= yes >X >XWRKSRC= ${WRKDIR}/ruby-frontbase >X >XCONFIGURE_WRKSRC= ${WRKSRC} >XBUILD_WRKSRC= ${WRKSRC} >XINSTALL_WRKSRC= ${WRKSRC} >XINSTALL_TARGET= site-install >X >X.include <bsd.port.mk> >END-of-ruby-frontbase/Makefile >echo x - ruby-frontbase/distinfo >sed 's/^X//' >ruby-frontbase/distinfo << 'END-of-ruby-frontbase/distinfo' >XMD5 (ruby-frontbase-0.0.1.tgz) = 92351e12031c602990e7f9762e309bf1 >XSHA256 (ruby-frontbase-0.0.1.tgz) = 9573217c07812cdc184de225ff88804495212c0b89c59c4ca6bb8a91952cad08 >XSIZE (ruby-frontbase-0.0.1.tgz) = 20807 >END-of-ruby-frontbase/distinfo >echo c - ruby-frontbase/files >mkdir -p ruby-frontbase/files > /dev/null 2>&1 >echo x - ruby-frontbase/files/patch-extconf.rb >sed 's/^X//' >ruby-frontbase/files/patch-extconf.rb << 'END-of-ruby-frontbase/files/patch-extconf.rb' >X--- extconf.rb.orig 2006-04-15 07:52:37.000000000 +1000 >X+++ extconf.rb 2008-05-29 12:54:28.000000000 +1000 >X@@ -2,8 +2,8 @@ >X >X dir_config('frontbase') >X >X-$CPPFLAGS = "-I/Library/FrontBase/include" >X-$LDFLAGS = "-L/Library/FrontBase/lib" >X+$CPPFLAGS = "-I/usr/local/include" >X+$LDFLAGS = "-L/usr/local/lib" >X $libs = " -lFBCAccess " >X create_makefile("frontbase") >X >END-of-ruby-frontbase/files/patch-extconf.rb >echo x - ruby-frontbase/files/patch-frontbase.c >sed 's/^X//' >ruby-frontbase/files/patch-frontbase.c << 'END-of-ruby-frontbase/files/patch-frontbase.c' >X--- frontbase.c.orig 2006-04-15 07:57:23.000000000 +1000 >X+++ frontbase.c 2008-05-29 12:55:37.000000000 +1000 >X@@ -9,57 +9,10 @@ >X >X #include "ruby.h" >X >X-#if defined(__APPLE__) >X-#include "/Library/FrontBase/include/FBCAccess/FBCAccess.h" >X-#else >X-#warning I don't know where FBCAccess.h is installed on non-OSX platforms >X-#include "/Library/FrontBase/include/FBCAccess/FBCAccess.h" >X-#endif >X+#include "/usr/local/include/FBCAccess/FBCAccess.h" >X >X #pragma mark --- structure definitions --- >X >X-typedef struct FBCLob >X-{ >X- unsigned char kind; // 0 => direct, 1 => indirect >X- char handleAsString[28]; // @'<24 hex digits>'\0 >X-} FBCLob; >X- >X-typedef union FBCColumn FBCColumn; >X- >X-union FBCColumn >X-{ >X- char tinyInteger; >X- short shortInteger; >X- int integer; >X- int primaryKey; >X- long long longInteger; >X- unsigned char boolean; >X- char character[0x7fffffff]; >X- double numeric; >X- double real; >X- double decimal; >X- FBCBitValue bit; >X- char date[11]; // YYYY-MM-DD >X- int unformattedDate; >X- char time[9]; // HH:MM:SS >X- char timeTZ[34]; // YYYY-MM-DD HH:MM:SS.sssss+HH:MM >X- char timestampTZ[34]; >X- char timestamp[28]; >X- char yearMonth[64]; >X- char dayTime[32]; // days:hh:ss.ffffff >X- FBCLob blob; >X- FBCLob clob; >X- double rawDate; >X- FBCUnformattedTime rawTime; >X- FBCUnformattedTime rawTimeTZ; >X- FBCUnformattedTime rawTimestamp; >X- FBCUnformattedTime rawTimestampTZ; >X- int rawYearMonth; >X- double rawDayTime; >X-}; >X- >X-typedef FBCColumn* FBCRow; >X- >X struct fbsqlconnect >X { >X int port; >END-of-ruby-frontbase/files/patch-frontbase.c >echo x - ruby-frontbase/pkg-descr >sed 's/^X//' >ruby-frontbase/pkg-descr << 'END-of-ruby-frontbase/pkg-descr' >XThis is a Ruby extension for accessing FrontBase databases. >X >XWWW: http://www.frontbase.com/ >END-of-ruby-frontbase/pkg-descr >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 124085
: 87479