aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-01-05 11:41:19 +0800
committerjedgar <jedgar@FreeBSD.org>2000-01-05 11:41:19 +0800
commit85d73c04026c608862cd413bccb0dc1c9d8e5ce0 (patch)
tree1f6356ec6a85d22ed01b0f5a26284bb60c148229 /databases
parent7daf225e60ec5420699d49d5bab5b9e389684dbd (diff)
downloadfreebsd-ports-gnome-85d73c04026c608862cd413bccb0dc1c9d8e5ce0.tar.gz
freebsd-ports-gnome-85d73c04026c608862cd413bccb0dc1c9d8e5ce0.tar.zst
freebsd-ports-gnome-85d73c04026c608862cd413bccb0dc1c9d8e5ce0.zip
METAKIT is a curious mix of flatfile, relational and OODBMS
features with a small footprint and a big following. PR: 15705 Submitted by: Russell L. Carter <rcarter@pinyon.org>
Diffstat (limited to 'databases')
-rw-r--r--databases/metakit/Makefile25
-rw-r--r--databases/metakit/distinfo1
-rw-r--r--databases/metakit/files/patch-aa11
-rw-r--r--databases/metakit/pkg-comment1
-rw-r--r--databases/metakit/pkg-descr9
-rw-r--r--databases/metakit/pkg-plist10
6 files changed, 57 insertions, 0 deletions
diff --git a/databases/metakit/Makefile b/databases/metakit/Makefile
new file mode 100644
index 000000000000..cc599958d9a7
--- /dev/null
+++ b/databases/metakit/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: metakit
+# Version required: 2.0
+# Date created: 25 December 1999
+# Whom: Russell L. Carter <rcarter@pinyon.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= metakit-2.0
+CATEGORIES= databases
+MASTER_SITES= http://download.sourceforge.net/metakit/
+
+MAINTAINER= rcarter@pinyon.org
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/builds
+USE_LIBTOOL= yes
+LIBTOOLFILES= ../unix/aclocal.m4
+CONFIGURE_SCRIPT= ../unix/configure
+MAKE_ARGS= CXXFLAGS="-Dq4_STD ${CFLAGS}"
+
+post-configure:
+ @cd ${WRKSRC} ; \
+ ${PATCH} < ${FILESDIR}/patch.Makefile
+
+.include <bsd.port.mk>
diff --git a/databases/metakit/distinfo b/databases/metakit/distinfo
new file mode 100644
index 000000000000..17a76eecba59
--- /dev/null
+++ b/databases/metakit/distinfo
@@ -0,0 +1 @@
+MD5 (metakit-2.0.tar.gz) = 14795a0f84d7c32fc4765a29624f9913
diff --git a/databases/metakit/files/patch-aa b/databases/metakit/files/patch-aa
new file mode 100644
index 000000000000..e56b177d859c
--- /dev/null
+++ b/databases/metakit/files/patch-aa
@@ -0,0 +1,11 @@
+diff -ur ./src/fileio.cpp ../metakit-2.0.new/src/fileio.cpp
+--- ../src/fileio.cpp Tue Dec 14 05:05:54 1999
++++ ../metakit-2.0.new/src/fileio.cpp Sat Dec 25 20:19:15 1999
+@@ -14,6 +14,7 @@
+ #endif
+
+ #if q4_UNIX && HAVE_MMAP
++#include <sys/types.h>
+ #include <sys/mman.h>
+ #endif
+
diff --git a/databases/metakit/pkg-comment b/databases/metakit/pkg-comment
new file mode 100644
index 000000000000..1dec8709aa21
--- /dev/null
+++ b/databases/metakit/pkg-comment
@@ -0,0 +1 @@
+C++ embedded database engine, supports Python and Tcl.
diff --git a/databases/metakit/pkg-descr b/databases/metakit/pkg-descr
new file mode 100644
index 000000000000..e6dcde75f2d3
--- /dev/null
+++ b/databases/metakit/pkg-descr
@@ -0,0 +1,9 @@
+METAKIT is a curious mix of flatfile, relational and
+OODBMS features with a small footprint and a big
+following. For those who don't need a heavy-duty SQL
+solution, it's tight and fast for <100,000 items,
+with a snazzy ability to dynamically change data
+structures on the fly. Interfaces are available for
+Tcl and Python, with Perl promised soon.
+
+WWW: http://www.equi4.com/metakit/
diff --git a/databases/metakit/pkg-plist b/databases/metakit/pkg-plist
new file mode 100644
index 000000000000..eddf3c5f00c6
--- /dev/null
+++ b/databases/metakit/pkg-plist
@@ -0,0 +1,10 @@
+include/mk4.h
+include/mk4.inl
+include/mk4str.h
+include/mk4str.inl
+lib/libmk4.a
+lib/libmk4.so
+lib/libmk4.la
+lib/libmk4.so.0
+@exec /sbin/ldconfig -m %D/lib
+@unexec /sbin/ldconfig -R