aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2007-08-31 17:46:32 +0800
committerijliao <ijliao@FreeBSD.org>2007-08-31 17:46:32 +0800
commit5199fe989b5837ad9bcd723cd75104bb0d58ab8e (patch)
tree6739bf97f4be1e18cec807e19422cb0cb4fc3cdb /devel
parent7d763ede74dfcee51fe7c4640c17c3647faf8ce1 (diff)
downloadfreebsd-ports-gnome-5199fe989b5837ad9bcd723cd75104bb0d58ab8e.tar.gz
freebsd-ports-gnome-5199fe989b5837ad9bcd723cd75104bb0d58ab8e.tar.zst
freebsd-ports-gnome-5199fe989b5837ad9bcd723cd75104bb0d58ab8e.zip
add datadraw 3.0.8
A feature rich persistent database generator
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/datadraw/Makefile31
-rw-r--r--devel/datadraw/distinfo3
-rw-r--r--devel/datadraw/files/patch-configure35
-rw-r--r--devel/datadraw/files/patch-util_configure11
-rw-r--r--devel/datadraw/files/patch-util_util.c11
-rw-r--r--devel/datadraw/pkg-descr24
-rw-r--r--devel/datadraw/pkg-plist13
8 files changed, 129 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 12d387dec92f..cfc421331e56 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -234,6 +234,7 @@
SUBDIR += darcs
SUBDIR += darts
SUBDIR += datadesigner
+ SUBDIR += datadraw
SUBDIR += dbus
SUBDIR += dbus-glib
SUBDIR += dbus-qt3
diff --git a/devel/datadraw/Makefile b/devel/datadraw/Makefile
new file mode 100644
index 000000000000..dccb24051152
--- /dev/null
+++ b/devel/datadraw/Makefile
@@ -0,0 +1,31 @@
+# ex:ts=8
+# Ports collection makefile for: datadraw
+# Date created: Aug 31, 2007
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= datadraw
+PORTVERSION= 3.0.8
+CATEGORIES= devel
+MASTER_SITES= SF
+DISTNAME= ${PORTNAME}${PORTVERSION}
+
+MAINTAINER= ijliao@FreeBSD.org
+COMMENT= A feature rich persistent database generator
+
+HAS_CONFIGURE= yes
+USE_GMAKE= yes
+ALL_TARGET= # empty
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/www/* ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/manual.pdf ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/datadraw/distinfo b/devel/datadraw/distinfo
new file mode 100644
index 000000000000..ecbf41f45436
--- /dev/null
+++ b/devel/datadraw/distinfo
@@ -0,0 +1,3 @@
+MD5 (datadraw3.0.8.tar.gz) = 2f5e4d9e2be7190ad6f7f5c083a299b2
+SHA256 (datadraw3.0.8.tar.gz) = 983985bcb95e530386b2157e56650fab6d75b9aa186fc6b10ad88dd0f524af1d
+SIZE (datadraw3.0.8.tar.gz) = 710274
diff --git a/devel/datadraw/files/patch-configure b/devel/datadraw/files/patch-configure
new file mode 100644
index 000000000000..70a35e1c26e6
--- /dev/null
+++ b/devel/datadraw/files/patch-configure
@@ -0,0 +1,35 @@
+--- configure.orig Fri Aug 31 15:45:53 2007
++++ configure Fri Aug 31 15:46:19 2007
+@@ -16,7 +16,7 @@
+ if [ "$CC" = "" ]; then
+ CC=gcc
+ fi
+-CFLAGS="-g -Wall -W -Wno-unused-parameter -Wno-unused-function -DDD_DEBUG -Iutil"
++CFLAGS="${CFLAGS} -Iutil"
+ LIBS="util/ddutil.a"
+
+ if [ "`uname -m`" = x86_64 ]; then
+@@ -79,12 +79,12 @@
+
+ clean:
+ rm -f \$(OBJECTS)
+- make -C util clean
++ gmake -C util clean
+
+ install: datadraw
+ install -d \$(PREFIX)/bin
+ install datadraw \$(PREFIX)/bin
+- make -C util PREFIX=\$(PREFIX) install
++ gmake -C util PREFIX=\$(PREFIX) install
+
+ deb:
+ fakeroot debian/rules binary && sudo dpkg -i ../*.deb
+@@ -100,7 +100,7 @@
+ datadraw src/Database.dd
+
+ util/ddutil.a:
+- make -C util
++ gmake -C util
+
+ " >> Makefile
+
diff --git a/devel/datadraw/files/patch-util_configure b/devel/datadraw/files/patch-util_configure
new file mode 100644
index 000000000000..0ab499e09649
--- /dev/null
+++ b/devel/datadraw/files/patch-util_configure
@@ -0,0 +1,11 @@
+--- util/configure.orig Fri Aug 31 17:44:25 2007
++++ util/configure Fri Aug 31 17:44:45 2007
+@@ -10,7 +10,7 @@
+ if [ "$CC" = "" ]; then
+ CC=gcc
+ fi
+-CFLAGS="-g -Wall -W -Wno-unused-parameter -Wno-unused-function -DDD_DEBUG"
++CFLAGS="${CFLAGS}"
+
+ if [ "`uname -m`" = "x86_64" ]; then
+ CFLAGS="$CFLAGS -m64"
diff --git a/devel/datadraw/files/patch-util_util.c b/devel/datadraw/files/patch-util_util.c
new file mode 100644
index 000000000000..d5bdd199a547
--- /dev/null
+++ b/devel/datadraw/files/patch-util_util.c
@@ -0,0 +1,11 @@
+--- util/util.c.orig Fri Aug 31 15:40:23 2007
++++ util/util.c Fri Aug 31 15:40:29 2007
+@@ -158,7 +158,7 @@
+ {
+ va_list ap;
+ char *buff;
+- uint timerID = utTimerDepth++;
++ uint16 timerID = utTimerDepth++;
+
+ utTimers[timerID] = time(NULL);
+ if(format != NULL) {
diff --git a/devel/datadraw/pkg-descr b/devel/datadraw/pkg-descr
new file mode 100644
index 000000000000..42054d33aa63
--- /dev/null
+++ b/devel/datadraw/pkg-descr
@@ -0,0 +1,24 @@
+DataDraw is an ultra-fast persistent database for high performance programs
+written in C. It's so fast that many programs keep all their data in a
+DataDraw database, even while being manipulated in inner loops of compute
+intensive applications. Unlike slow SQL databases, DataDraw databases are
+compiled, and directly link into your C programs. DataDraw databases are
+resident in memory, making data manipulation even faster than if they were
+stored in native C data structures (really). Further, they can automatically
+support infinite undo/redo, greatly simplifying many applications.
+
+DataDraw databases can be persistent. Modifications to persistent data are
+written to disk as they are made, which of course dramatically slows write
+times. However, DataDraw databases can also be volatile. Volatile databases
+exist only in memory, and only for the duration that your program needs it.
+Volatile databases can be directly manipulated faster than C structures,
+since data is better organized in memory to optimize cache performance.
+DataDraw supports modular design. An application can have one or more common
+persistent databases, and multiple volatile databases to support various
+tools' data structures. Classes in a tool's database can extend classes in
+the common database. DataDraw is also 64-bit optimized, allowing programs to
+run much faster and in less memory than standard C programs using 64-bit
+pointers. This is because DataDraw databases support over 4 billion objects
+of a given class with 32-bit object references.
+
+WWW: http://datadraw.sourceforge.net/
diff --git a/devel/datadraw/pkg-plist b/devel/datadraw/pkg-plist
new file mode 100644
index 000000000000..5b7fc428f9e8
--- /dev/null
+++ b/devel/datadraw/pkg-plist
@@ -0,0 +1,13 @@
+bin/datadraw
+include/ddutil.h
+include/utdatabase.h
+include/utdatabasep.h
+include/utdatabaseu.h
+include/utdatabaseup.h
+include/utmem.h
+include/utpersist.h
+include/uttypes.h
+lib/libddutil.a
+lib/libddutilp.a
+lib/libddutilu.a
+lib/libddutilup.a