mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
add datadraw 3.0.8
A feature rich persistent database generator
This commit is contained in:
parent
62459912c5
commit
5bc95d18a9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198580
@ -234,6 +234,7 @@
|
||||
SUBDIR += darcs
|
||||
SUBDIR += darts
|
||||
SUBDIR += datadesigner
|
||||
SUBDIR += datadraw
|
||||
SUBDIR += dbus
|
||||
SUBDIR += dbus-glib
|
||||
SUBDIR += dbus-qt3
|
||||
|
31
devel/datadraw/Makefile
Normal file
31
devel/datadraw/Makefile
Normal file
@ -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>
|
3
devel/datadraw/distinfo
Normal file
3
devel/datadraw/distinfo
Normal file
@ -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
|
35
devel/datadraw/files/patch-configure
Normal file
35
devel/datadraw/files/patch-configure
Normal file
@ -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
|
||||
|
11
devel/datadraw/files/patch-util_configure
Normal file
11
devel/datadraw/files/patch-util_configure
Normal file
@ -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"
|
11
devel/datadraw/files/patch-util_util.c
Normal file
11
devel/datadraw/files/patch-util_util.c
Normal file
@ -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) {
|
24
devel/datadraw/pkg-descr
Normal file
24
devel/datadraw/pkg-descr
Normal file
@ -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/
|
13
devel/datadraw/pkg-plist
Normal file
13
devel/datadraw/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user