diff options
author | drochner <drochner> | 2002-12-04 18:48:09 +0000 |
---|---|---|
committer | drochner <drochner> | 2002-12-04 18:48:09 +0000 |
commit | 141c01118f9ea7d88afdc92209ec964cd052bd48 (patch) | |
tree | d0d64c9df4fd1e71b7568887b1f621ef012d2439 /databases | |
parent | df3acb2ed86d55f7ec78c92c973777e642ff4504 (diff) | |
download | pkgsrc-141c01118f9ea7d88afdc92209ec964cd052bd48.tar.gz |
Python frontend for the metakit database lib
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-metakit/DESCR | 6 | ||||
-rw-r--r-- | databases/py-metakit/Makefile | 27 | ||||
-rw-r--r-- | databases/py-metakit/PLIST | 3 | ||||
-rw-r--r-- | databases/py-metakit/distinfo | 5 | ||||
-rw-r--r-- | databases/py-metakit/patches/patch-aa | 44 |
5 files changed, 85 insertions, 0 deletions
diff --git a/databases/py-metakit/DESCR b/databases/py-metakit/DESCR new file mode 100644 index 00000000000..bd3a98dcfe0 --- /dev/null +++ b/databases/py-metakit/DESCR @@ -0,0 +1,6 @@ +MetaKit is an embeddable database which runs on Unix, Windows, +Macintosh, and other platforms. It lets you build applications which +store their data efficiently, in a portable way, and which will not need a +complex runtime installation. In terms of the data model, MetaKit takes +the middle ground between RDBMS, OODBMS, and flat-file databases - yet it +is quite different from each of them. diff --git a/databases/py-metakit/Makefile b/databases/py-metakit/Makefile new file mode 100644 index 00000000000..014b09022f6 --- /dev/null +++ b/databases/py-metakit/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/12/04 18:48:09 drochner Exp $ +# + +DISTNAME= metakit-2.4.8-38 +PKGNAME= ${PYPKGPREFIX}-metakit-2.4.8 +CATEGORIES= databases +MASTER_SITES= http://www.equi4.com/pub/mk/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.equi4.com/metakit/ +COMMENT= embedded database library + +WRKSRC= ${WRKDIR}/metakit-2.4.8/builds +GNU_CONFIGURE= yes +CONFIGURE_SCRIPT= ../unix/configure +CONFIGURE_ARGS+= --with-tcl= --enable-python +USE_LIBTOOL= yes +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool +USE_BUILDLINK2= yes +ALL_TARGET= python +INSTALL_TARGET= install-python +MAKE_ENV+= PYINC=${LOCALBASE}/${PYINC} PYSITELIB=${LOCALBASE}/${PYSITELIB} +PY_PATCHPLIST= yes + +.include "../../databases/metakit-lib/buildlink2.mk" +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/py-metakit/PLIST b/databases/py-metakit/PLIST new file mode 100644 index 00000000000..f2b57780e43 --- /dev/null +++ b/databases/py-metakit/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/04 18:48:09 drochner Exp $ +${PYSITELIB}/Mk4py.so +${PYSITELIB}/metakit.py diff --git a/databases/py-metakit/distinfo b/databases/py-metakit/distinfo new file mode 100644 index 00000000000..ae29c880756 --- /dev/null +++ b/databases/py-metakit/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/12/04 18:48:09 drochner Exp $ + +SHA1 (metakit-2.4.8-38.tar.gz) = f0da401517f19019eda075175fcc724c2d568acd +Size (metakit-2.4.8-38.tar.gz) = 840732 bytes +SHA1 (patch-aa) = 77e6acc797e6c620f7c02277ed94cac91229022e diff --git a/databases/py-metakit/patches/patch-aa b/databases/py-metakit/patches/patch-aa new file mode 100644 index 00000000000..d341ccd3a44 --- /dev/null +++ b/databases/py-metakit/patches/patch-aa @@ -0,0 +1,44 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/12/04 18:48:09 drochner Exp $ + +--- ../unix/Makefile.in.orig Sat Nov 2 23:29:13 2002 ++++ ../unix/Makefile.in Wed Dec 4 17:51:17 2002 +@@ -34,8 +34,8 @@ + srcdir = @srcdir@ + top_builddir = . + +-pyincludedir = @includedir@/python2.2 +-pylibdir = @libdir@/python2.2/site-packages ++pyincludedir = ${PYINC} ++pylibdir = ${PYSITELIB} + + tclsh = tclsh + tclincludedir = @TCL_INCLUDE_DIR@ +@@ -71,7 +71,6 @@ + -I$(tclincludedir)/generic \ + -I$(tclincludedir) + CXX_SWITCHES_PY = $(CXXFLAGS) \ +- -I$(srcdir)/../include \ + -I$(srcdir)/../python/scxx \ + -I$(pyincludedir) + CXX_SWITCHES_LUA = $(CXXFLAGS) \ +@@ -116,7 +115,7 @@ + + install-python: Mk4py@SHLIB_SUFFIX@ + $(INSTALL_PROGRAM) Mk4py@SHLIB_SUFFIX@ $(DESTDIR)$(pylibdir) +- $(INSTALL_PROGRAM) $(srcdir)/../python/metakit.py $$(DESTDIR)(pylibdir) ++ $(INSTALL_DATA) $(srcdir)/../python/metakit.py $(DESTDIR)$(pylibdir) + + clean: + $L rm -f *.la *.o *.lo +@@ -153,9 +152,9 @@ + cp .libs/libmk4py@SHLIB_SUFFIX@ $@ + -strip $(STRIP_FLAGS) $@ 2>/dev/null + +-libmk4py.la: $(PYOBJS) $(LIBOBJS) ++libmk4py.la: $(PYOBJS) + $L --mode=link $(CXX) -o $@ $(CXX_SWITCHES) $(LIBTOOL_FLAGS) -avoid-version \ +- -rpath $(libdir) $(SPYOBJS) $(SHLOBJS) ++ -rpath $(libdir) $(SPYOBJS) -L${prefix}/lib -lmk4 + + Mk4lua@SHLIB_SUFFIX@: mk4lua.o libmk4.la + $(CXX) -o $@ $(CXX_SWITCHES) -shared mk4lua.lo $(SHLOBJS) \ |