summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile1
-rw-r--r--databases/fastdb/Makefile25
-rw-r--r--databases/fastdb/distinfo1
-rw-r--r--databases/fastdb/files/patch-makefile27
-rw-r--r--databases/fastdb/files/patch-sync.cpp16
-rw-r--r--databases/fastdb/pkg-comment1
-rw-r--r--databases/fastdb/pkg-descr10
-rw-r--r--databases/fastdb/pkg-plist22
8 files changed, 103 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 0722e15..928aa64 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -8,6 +8,7 @@
SUBDIR += dbmetrix
SUBDIR += dbview
SUBDIR += edb
+ SUBDIR += fastdb
SUBDIR += freetds
SUBDIR += gadfly
SUBDIR += gdbm
diff --git a/databases/fastdb/Makefile b/databases/fastdb/Makefile
new file mode 100644
index 0000000..01b4505
--- /dev/null
+++ b/databases/fastdb/Makefile
@@ -0,0 +1,25 @@
+# ex:ts=8
+# New ports collection makefile for: fastdb
+# Date created: Mar 2, 2001
+# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fastdb
+PORTVERSION= 2.16
+CATEGORIES= databases
+MASTER_SITES= http://www.ispras.ru/~knizhnik/
+
+MAINTAINER= ijliao@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_GMAKE= yes
+MAKEFILE= makefile
+
+INSTALLS_SHLIB= yes
+
+post-patch:
+ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/makefile
+
+.include <bsd.port.mk>
diff --git a/databases/fastdb/distinfo b/databases/fastdb/distinfo
new file mode 100644
index 0000000..cf0124d
--- /dev/null
+++ b/databases/fastdb/distinfo
@@ -0,0 +1 @@
+MD5 (fastdb-2.16.tar.gz) = 205450982e029692310f148ce208500b
diff --git a/databases/fastdb/files/patch-makefile b/databases/fastdb/files/patch-makefile
new file mode 100644
index 0000000..5d28fee
--- /dev/null
+++ b/databases/fastdb/files/patch-makefile
@@ -0,0 +1,27 @@
+--- makefile.orig Sat Jul 22 00:34:36 2000
++++ makefile Fri Mar 2 23:57:53 2001
+@@ -2,13 +2,13 @@
+ # Makefile for Generic Unix with GCC compiler
+
+ # Place where to copy GastDB header files
+-INCSPATH=/usr/local/include/fastdb
++INCSPATH=%%PREFIX%%/include/fastdb
+
+ #Place where to copy Fastdb library
+-LIBSPATH=/usr/local/lib
++LIBSPATH=%%PREFIX%%/lib
+
+ #Place where to copy Fastdb subsql utility
+-BINSPATH=/usr/local/bin
++BINSPATH=%%PREFIX%%/bin
+
+ OBJS = class.o compiler.o database.o hashtab.o file.o symtab.o ttree.o \
+ cursor.o query.o wwwapi.o unisock.o sync.o
+@@ -259,7 +259,6 @@
+ cp $(INCS) $(INCSPATH)
+ mkdir -p $(LIBSPATH)
+ cp $(FASTDB_LIB) $(CLI_LIB) $(FASTDB_SHARED) $(CLI_SHARED) $(LIBSPATH)
+- cp -P libcli.so $(LIBSPATH)
+ ln -f -s $(LIBSPATH)/$(FASTDB_SHARED) $(LIBSPATH)/libfastdb$(SUFF).so
+ ln -f -s $(LIBSPATH)/$(CLI_SHARED) $(LIBSPATH)/libcli$(SUFF).so
+ mkdir -p $(BINSPATH)
diff --git a/databases/fastdb/files/patch-sync.cpp b/databases/fastdb/files/patch-sync.cpp
new file mode 100644
index 0000000..2416fb7
--- /dev/null
+++ b/databases/fastdb/files/patch-sync.cpp
@@ -0,0 +1,16 @@
+--- sync.cpp.orig Fri Mar 2 17:01:17 2001
++++ sync.cpp Fri Mar 2 17:03:08 2001
+@@ -160,11 +160,11 @@
+ #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
+ /* union semun is defined by including <sys/sem.h> */
+ #else
+-union semun {
++/*union semun {
+ int val;
+ struct semid_ds* buf;
+ unsigned short* array;
+-};
++};*/
+ #endif
+ static union semun u;
+
diff --git a/databases/fastdb/pkg-comment b/databases/fastdb/pkg-comment
new file mode 100644
index 0000000..5bb0c50
--- /dev/null
+++ b/databases/fastdb/pkg-comment
@@ -0,0 +1 @@
+Main Memory Relational Database Management System
diff --git a/databases/fastdb/pkg-descr b/databases/fastdb/pkg-descr
new file mode 100644
index 0000000..9db6ac4
--- /dev/null
+++ b/databases/fastdb/pkg-descr
@@ -0,0 +1,10 @@
+Main Memory Relational Database Management System
+
+ - Fastest query execution
+ - Post-relational features
+ - Tight integration with C++
+ - Automatic scheme evaluation
+ - Efficient log-less transactions
+ - Zero time recovery
+
+WWW: http://www.ispras.ru/~knizhnik/fastdb.html
diff --git a/databases/fastdb/pkg-plist b/databases/fastdb/pkg-plist
new file mode 100644
index 0000000..6291362
--- /dev/null
+++ b/databases/fastdb/pkg-plist
@@ -0,0 +1,22 @@
+bin/subsql
+include/fastdb/array.h
+include/fastdb/class.h
+include/fastdb/cursor.h
+include/fastdb/database.h
+include/fastdb/datetime.h
+include/fastdb/fastdb.h
+include/fastdb/file.h
+include/fastdb/hashtab.h
+include/fastdb/query.h
+include/fastdb/reference.h
+include/fastdb/stdtp.h
+include/fastdb/sync.h
+include/fastdb/ttree.h
+include/fastdb/wwwapi.h
+@dirrm include/fastdb
+lib/libcli_r.a
+lib/libcli_r.so
+lib/libcli_r.so.2
+lib/libfastdb_r.a
+lib/libfastdb_r.so
+lib/libfastdb_r.so.2
OpenPOWER on IntegriCloud