diff options
author | dsainty <dsainty> | 2007-02-19 21:19:14 +0000 |
---|---|---|
committer | dsainty <dsainty> | 2007-02-19 21:19:14 +0000 |
commit | b20d4732e8234db040f2a5b6e7da5d4a8d6e7e7e (patch) | |
tree | d434e802698fff9608976a915c87b1e335a22211 /databases/palm-db-tools | |
parent | 9ff08f898e7c2d3cc837ace18359b690d4c80391 (diff) | |
download | pkgsrc-b20d4732e8234db040f2a5b6e7da5d4a8d6e7e7e.tar.gz |
PalmOS Flat-File Database Tools. Conversion utilities for the PalmOS
flat-file database programs "MobileDB", "JFile" v3.x, "List", and the open
source "DB".
Diffstat (limited to 'databases/palm-db-tools')
-rw-r--r-- | databases/palm-db-tools/DESCR | 3 | ||||
-rw-r--r-- | databases/palm-db-tools/Makefile | 26 | ||||
-rw-r--r-- | databases/palm-db-tools/PLIST | 4 | ||||
-rw-r--r-- | databases/palm-db-tools/distinfo | 9 | ||||
-rw-r--r-- | databases/palm-db-tools/patches/patch-aa | 15 | ||||
-rw-r--r-- | databases/palm-db-tools/patches/patch-ab | 14 | ||||
-rw-r--r-- | databases/palm-db-tools/patches/patch-ac | 12 | ||||
-rw-r--r-- | databases/palm-db-tools/patches/patch-ad | 26 |
8 files changed, 109 insertions, 0 deletions
diff --git a/databases/palm-db-tools/DESCR b/databases/palm-db-tools/DESCR new file mode 100644 index 00000000000..4dbf2eea81d --- /dev/null +++ b/databases/palm-db-tools/DESCR @@ -0,0 +1,3 @@ +PalmOS Flat-File Database Tools. Conversion utilities for the PalmOS +flat-file database programs "MobileDB", "JFile" v3.x, "List", and the open +source "DB". diff --git a/databases/palm-db-tools/Makefile b/databases/palm-db-tools/Makefile new file mode 100644 index 00000000000..d9049c281da --- /dev/null +++ b/databases/palm-db-tools/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/02/19 21:19:14 dsainty Exp $ +# + +DISTNAME= ${PKGNAME_NOREV:S/./_/g} +PKGNAME= palm-db-tools-0.3.6 +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=palm-db-tools/} + +MAINTAINER= dsainty@NetBSD.org +HOMEPAGE= http://sourceforge.net/projects/palm-db-tools/ +COMMENT= Conversion utilities for PalmOS flat-file database programs + +#LICENSE= GPL + +WRKSRC= ${WRKDIR}/palm-db-tools +GNU_CONFIGURE= yes +USE_LANGUAGES= c c++ +USE_TOOLS+= gmake +USE_LIBTOOL= yes + +# The default of -Werror is a bit optimistic. This code also causes +# problems attempting to link C++ code with "cc", but using "libtool" +# fixes this. +CONFIGURE_ARGS= --disable-warnings --enable-libtool + +.include "../../mk/bsd.pkg.mk" diff --git a/databases/palm-db-tools/PLIST b/databases/palm-db-tools/PLIST new file mode 100644 index 00000000000..b952a88c3ec --- /dev/null +++ b/databases/palm-db-tools/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/02/19 21:19:14 dsainty Exp $ +bin/csv2pdb +bin/pdb2csv +lib/libpdbtools.la diff --git a/databases/palm-db-tools/distinfo b/databases/palm-db-tools/distinfo new file mode 100644 index 00000000000..cece04f7287 --- /dev/null +++ b/databases/palm-db-tools/distinfo @@ -0,0 +1,9 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/02/19 21:19:14 dsainty Exp $ + +SHA1 (palm-db-tools-0_3_6.tar.gz) = b8ef6ed7059f5f71571622af6ece86b61cfacee6 +RMD160 (palm-db-tools-0_3_6.tar.gz) = 26a5ce1ab9d558a4b42f3278be809b31eefb19b4 +Size (palm-db-tools-0_3_6.tar.gz) = 201644 bytes +SHA1 (patch-aa) = 63810ff29c59b3abb48f43b55ca92968711ec943 +SHA1 (patch-ab) = cc36b595666e8843728485a804f74322adb38b07 +SHA1 (patch-ac) = 48608e84abfaa34c813b002a0213183365d5d9ad +SHA1 (patch-ad) = 0c8d624367a135fb5b0cf7ab5514f52f8cf3ac16 diff --git a/databases/palm-db-tools/patches/patch-aa b/databases/palm-db-tools/patches/patch-aa new file mode 100644 index 00000000000..7ac0d2ea219 --- /dev/null +++ b/databases/palm-db-tools/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/02/19 21:19:14 dsainty Exp $ + +GCC 4.1.2 errors on semicolon following namespace block. + +--- libpalm/Block.h.orig 2003-06-20 11:37:47.000000000 +1200 ++++ libpalm/Block.h 2007-02-19 20:55:39.000000000 +1300 +@@ -176,7 +176,7 @@ + size_type m_size; + }; + +-}; ++} + + bool operator == (const PalmLib::Block& lhs, const PalmLib::Block& rhs); + diff --git a/databases/palm-db-tools/patches/patch-ab b/databases/palm-db-tools/patches/patch-ab new file mode 100644 index 00000000000..7c20f64895e --- /dev/null +++ b/databases/palm-db-tools/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1.1.1 2007/02/19 21:19:14 dsainty Exp $ + +GCC 4.1.2 errors on semicolon following namespace block. + +--- libpalm/File.h.orig 2003-06-20 11:37:47.000000000 +1200 ++++ libpalm/File.h 2007-02-19 20:55:49.000000000 +1300 +@@ -89,6 +89,6 @@ + uid_map_t m_uid_map; + }; + +-}; ++} + + #endif diff --git a/databases/palm-db-tools/patches/patch-ac b/databases/palm-db-tools/patches/patch-ac new file mode 100644 index 00000000000..123a881b286 --- /dev/null +++ b/databases/palm-db-tools/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1.1.1 2007/02/19 21:19:14 dsainty Exp $ + +Defining _XOPEN_SOURCE breaks the build under NetBSD. + +--- libsupport/csvfile.cpp.orig 2003-06-20 11:37:47.000000000 +1200 ++++ libsupport/csvfile.cpp 2007-02-19 21:19:46.000000000 +1300 +@@ -1,5 +1,3 @@ +-#define _XOPEN_SOURCE +- + #include <iostream> + #include <fstream> + #include <sstream> diff --git a/databases/palm-db-tools/patches/patch-ad b/databases/palm-db-tools/patches/patch-ad new file mode 100644 index 00000000000..dbc31f16137 --- /dev/null +++ b/databases/palm-db-tools/patches/patch-ad @@ -0,0 +1,26 @@ +$NetBSD: patch-ad,v 1.1.1.1 2007/02/19 21:19:14 dsainty Exp $ + +Unconditionally correct LIB_DEPENDENCIES and INSTALL for libtool builds. + +--- flatfile/Makefile.in.orig 2003-06-20 11:37:46.000000000 +1200 ++++ flatfile/Makefile.in 2007-02-20 09:56:12.000000000 +1300 +@@ -97,8 +97,8 @@ + install: all + $(INSTALL) -d $(bindir) + $(INSTALL) -d $(libdir) +- $(INSTALL) -s $(TARGETS) $(libdir) +- $(INSTALL) -s $(PROGRAMS:%=%$(EXEEXT)) $(bindir) ++ $(LIBTOOL) --mode=install $(INSTALL) -s $(TARGETS) $(libdir) ++ $(LIBTOOL) --mode=install $(INSTALL) -s $(PROGRAMS:%=%$(EXEEXT)) $(bindir) + + .SUFFIXES: + .SUFFIXES: .c .cpp .lo .o .obj +@@ -125,7 +125,7 @@ + libpdbtools.la: $(OBJS:.o=.lo) $(LIB_DEPENDENCIES:.a=.la) + $(LIBTOOL) --mode=link $(CXX) $(OBJS:.o=.lo) -o $@ $(LIBS:.a=.la) + +-$(PROGRAMS:=$(EXEEXT)): $(PROGDEPS) $(PROGOBJS) $(TARGETS) $(LIB_DEPENDENCIES) ++$(PROGRAMS:=$(EXEEXT)): $(PROGDEPS) $(PROGOBJS) $(TARGETS) $(LIB_DEPENDENCIES:.a=.la) + $(PROGLINK) + + clean: |