diff options
-rw-r--r-- | databases/guile-pg/DESCR | 4 | ||||
-rw-r--r-- | databases/guile-pg/Makefile | 24 | ||||
-rw-r--r-- | databases/guile-pg/PLIST | 10 | ||||
-rw-r--r-- | databases/guile-pg/distinfo | 7 | ||||
-rw-r--r-- | databases/guile-pg/patches/patch-aa | 13 | ||||
-rw-r--r-- | databases/guile-pg/patches/patch-ab | 13 | ||||
-rw-r--r-- | databases/guile-pg/patches/patch-ac | 13 |
7 files changed, 84 insertions, 0 deletions
diff --git a/databases/guile-pg/DESCR b/databases/guile-pg/DESCR new file mode 100644 index 00000000000..912669c01bc --- /dev/null +++ b/databases/guile-pg/DESCR @@ -0,0 +1,4 @@ +Guile-pg is a Guile module providing access and allowing updates to +PostgreSQL databases from Guile scripts. Guile is the GNU interpreter +for the Scheme language and PostgreSQL is a free relational database +management system. diff --git a/databases/guile-pg/Makefile b/databases/guile-pg/Makefile new file mode 100644 index 00000000000..09f1fa9b0ca --- /dev/null +++ b/databases/guile-pg/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/10/27 01:14:09 cjones Exp $ +# + +DISTNAME= guile-pg-0.07 +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=guile-pg/} + +MAINTAINER= cjones@netbsd.org +HOMEPAGE= http://guile-pg.sourceforge.net/ +COMMENT= PostgreSQL interface for Guile + +DEPENDS+= postgresql-lib>=7:../../databases/postgresql-lib +DEPENDS+= guile>=1.3:../../lang/guile + +USE_LIBTOOL= YES +USE_GMAKE= YES +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool +GNU_CONFIGURE= YES +CONFIGURE_ARGS+= --with-libpq-includes=${PREFIX}/include/pgsql + +#INFO_FILES= guile-pg.info + +.include "../../mk/texinfo.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/guile-pg/PLIST b/databases/guile-pg/PLIST new file mode 100644 index 00000000000..c3213a3d1f5 --- /dev/null +++ b/databases/guile-pg/PLIST @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/27 01:14:09 cjones Exp $ +@unexec ${INSTALL_INFO} --delete %D/info/guile-pg.info %D/info/dir +share/guile/database/postgres.scm +@dirrm share/guile/database +info/guile-pg.info +lib/libpostgres.a +lib/libpostgres.la +lib/libpostgres.so.2.0 +bin/guile-pg +@exec ${INSTALL_INFO} %D/info/guile-pg.info %D/info/dir diff --git a/databases/guile-pg/distinfo b/databases/guile-pg/distinfo new file mode 100644 index 00000000000..dd30082dbf6 --- /dev/null +++ b/databases/guile-pg/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/10/27 01:14:09 cjones Exp $ + +SHA1 (guile-pg-0.07.tar.gz) = f232cd752a5640af222de5016d57cc192219091e +Size (guile-pg-0.07.tar.gz) = 212233 bytes +SHA1 (patch-aa) = 025a6d3eec84e972f259fb979ae26a42fea1aced +SHA1 (patch-ab) = 49b7c64f2f8eeb24ae75dd85c627e59327b6db08 +SHA1 (patch-ac) = 90f1dd2d86d532d4b847c4c85e9f54e0d909cef6 diff --git a/databases/guile-pg/patches/patch-aa b/databases/guile-pg/patches/patch-aa new file mode 100644 index 00000000000..be8a2875399 --- /dev/null +++ b/databases/guile-pg/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/10/27 01:14:10 cjones Exp $ + +--- Makefile.am.orig Sat Oct 26 12:41:49 2002 ++++ Makefile.am +@@ -43,7 +43,7 @@ libpostgres_la_LDFLAGS = -export-dynamic + + SUFFIXES = .x + .c.x: +- guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ ++ guile-snarf $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) > $@ + + ## Add -MG to make the .x magic work with auto-dep code. + MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) diff --git a/databases/guile-pg/patches/patch-ab b/databases/guile-pg/patches/patch-ab new file mode 100644 index 00000000000..937de6bab71 --- /dev/null +++ b/databases/guile-pg/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/10/27 01:14:10 cjones Exp $ + +--- Makefile.in.orig Sat Oct 26 12:42:06 2002 ++++ Makefile.in +@@ -528,7 +528,7 @@ installdirs mostlyclean-generic distclea + maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + .c.x: +- guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ ++ guile-snarf $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) > $@ + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/databases/guile-pg/patches/patch-ac b/databases/guile-pg/patches/patch-ac new file mode 100644 index 00000000000..bcefacfadac --- /dev/null +++ b/databases/guile-pg/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/10/27 01:14:10 cjones Exp $ + +--- libpostgres.c.orig Sat Oct 26 12:46:07 2002 ++++ libpostgres.c Sat Oct 26 12:46:08 2002 +@@ -37,7 +37,7 @@ + #include <guile/gh.h> + + #include <libpq-fe.h> +-#include <postgres.h> ++/* #include <postgres.h> */ + #include <libpq/libpq-fs.h> + + #include <libpostgres.h> |