aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-10-15 00:22:53 +0800
committernaddy <naddy@FreeBSD.org>2002-10-15 00:22:53 +0800
commit6f743441691cd86f9989009fbf8f7c2623e001c5 (patch)
treed983466eaa03b864f97d7683604df83de9a06bae /databases
parent72dd28fea4d201c6fd3295e2fc0da6c6a4cebced (diff)
downloadfreebsd-ports-gnome-6f743441691cd86f9989009fbf8f7c2623e001c5.tar.gz
freebsd-ports-gnome-6f743441691cd86f9989009fbf8f7c2623e001c5.tar.zst
freebsd-ports-gnome-6f743441691cd86f9989009fbf8f7c2623e001c5.zip
Update to version 0.6.5.
PR: 43782 Submitted by: Ports Fury
Diffstat (limited to 'databases')
-rw-r--r--databases/libdbi/Makefile38
-rw-r--r--databases/libdbi/distinfo2
-rw-r--r--databases/libdbi/files/patch-Makefile.in11
-rw-r--r--databases/libdbi/files/patch-configure10
-rw-r--r--databases/libdbi/files/patch-include::dbi::dbi.h10
-rw-r--r--databases/libdbi/pkg-plist70
6 files changed, 81 insertions, 60 deletions
diff --git a/databases/libdbi/Makefile b/databases/libdbi/Makefile
index fdd703b816bd..a5540b9c3a92 100644
--- a/databases/libdbi/Makefile
+++ b/databases/libdbi/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= libdbi
-PORTVERSION= 0.6.2
+PORTVERSION= 0.6.5
CATEGORIES= databases devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://linux.ucla.edu/~dap24/%SUBDIR%/
@@ -16,27 +16,37 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
-PLIST_SUB= VERSION=${PORTVERSION}
+
+.if defined(WITH_MYSQL)
+LIB_DEPENDS+= mysqlclient:${PORTSDIR}/databases/mysql323-client
+CONFIGURE_ARGS+= --with-mysql \
+ --with-mysql-incdir=${LOCALBASE}/include \
+ --with-mysql-libdir=${LOCALBASE}/lib/mysql
+PLIST_SUB+= MYSQL=""
+.else
+PLIST_SUB+= MYSQL="@comment "
+.endif
.if defined(WITH_PGSQL)
LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7
CONFIGURE_ARGS+= --with-pgsql
-PLIST_SUB+= WITH_PQ=""
+PLIST_SUB+= PGSQL=""
.else
-PLIST_SUB+= WITH_PQ="@comment "
+PLIST_SUB+= PGSQL="@comment "
.endif
-.if defined(WITH_MYSQL)
-LIB_DEPENDS+= mysqlclient:${PORTSDIR}/databases/mysql323-client
-CONFIGURE_ARGS+= \
- --with-mysql \
- --with-mysql-incdir=${LOCALBASE}/include \
- --with-mysql-libdir=${LOCALBASE}/lib/mysql
-PLIST_SUB+= WITH_MY=""
-.else
-PLIST_SUB+= WITH_MY="@comment "
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.pdf \
+ ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/driver-guide
+ ${INSTALL_DATA} ${WRKSRC}/doc/driver-guide/*.html \
+ ${DOCSDIR}/driver-guide
+ @${MKDIR} ${DOCSDIR}/programmers-guide
+ ${INSTALL_DATA} ${WRKSRC}/doc/programmers-guide/*.html \
+ ${DOCSDIR}/programmers-guide
.endif
.include <bsd.port.mk>
diff --git a/databases/libdbi/distinfo b/databases/libdbi/distinfo
index 709528b501e9..a15215ffdbc6 100644
--- a/databases/libdbi/distinfo
+++ b/databases/libdbi/distinfo
@@ -1 +1 @@
-MD5 (libdbi-0.6.2.tar.gz) = 02a6814abba70405557f3b802567e9aa
+MD5 (libdbi-0.6.5.tar.gz) = d3f8c027a161f71a9891e2cbb55b78e9
diff --git a/databases/libdbi/files/patch-Makefile.in b/databases/libdbi/files/patch-Makefile.in
new file mode 100644
index 000000000000..d829153ee232
--- /dev/null
+++ b/databases/libdbi/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Sat Jun 15 09:45:17 2002
++++ Makefile.in Sat Oct 5 21:18:07 2002
+@@ -92,7 +92,7 @@
+
+ AUTOMAKE_OPTIONS = foreign dist-zip
+
+-SUBDIRS = src include doc drivers tests
++SUBDIRS = src include drivers tests
+
+
+ #m4datadir = $(datadir)/aclocal
diff --git a/databases/libdbi/files/patch-configure b/databases/libdbi/files/patch-configure
new file mode 100644
index 000000000000..c696306f3a33
--- /dev/null
+++ b/databases/libdbi/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Sat Jun 15 09:45:18 2002
++++ configure Sat Oct 5 21:05:30 2002
+@@ -5551,6 +5551,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/databases/libdbi/files/patch-include::dbi::dbi.h b/databases/libdbi/files/patch-include::dbi::dbi.h
deleted file mode 100644
index f1453deb11d9..000000000000
--- a/databases/libdbi/files/patch-include::dbi::dbi.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- include/dbi/dbi.h.orig Sun Nov 4 11:48:26 2001
-+++ include/dbi/dbi.h Sun Nov 4 11:48:37 2001
-@@ -29,6 +29,7 @@
-
- #include <stdlib.h>
- #include <stdarg.h>
-+#include <time.h>
-
- /* opaque type definitions */
- typedef void * dbi_plugin;
diff --git a/databases/libdbi/pkg-plist b/databases/libdbi/pkg-plist
index 5ec45db22e04..d0b18dc97dd3 100644
--- a/databases/libdbi/pkg-plist
+++ b/databases/libdbi/pkg-plist
@@ -1,42 +1,42 @@
+@comment $FreeBSD$
include/dbi/dbd.h
include/dbi/dbi-dev.h
include/dbi/dbi.h
lib/libdbi.a
lib/libdbi.so
lib/libdbi.so.0
-%%WITH_PQ%%lib/dbd/libpgsql.so
-%%WITH_MY%%lib/dbd/libmysql.so
-share/doc/libdbi-0.6.2/plugin-guide/contact.html
-share/doc/libdbi-0.6.2/plugin-guide/copying-fdl.html
-share/doc/libdbi-0.6.2/plugin-guide/description.html
-share/doc/libdbi-0.6.2/plugin-guide/gnugpl.html
-share/doc/libdbi-0.6.2/plugin-guide/helperfuncs.html
-share/doc/libdbi-0.6.2/plugin-guide/index.html
-share/doc/libdbi-0.6.2/plugin-guide/intro.html
-share/doc/libdbi-0.6.2/plugin-guide/pluginfuncs-dbquery.html
-share/doc/libdbi-0.6.2/plugin-guide/pluginfuncs-infrastructure.html
-share/doc/libdbi-0.6.2/plugin-guide/pluginfuncs.html
-share/doc/libdbi-0.6.2/plugin-guide/terminology.html
-share/doc/libdbi-0.6.2/plugin-guide.pdf
-share/doc/libdbi-0.6.2/programmers-guide/contact.html
-share/doc/libdbi-0.6.2/programmers-guide/copying-fdl.html
-share/doc/libdbi-0.6.2/programmers-guide/description.html
-share/doc/libdbi-0.6.2/programmers-guide/gnugpl.html
-share/doc/libdbi-0.6.2/programmers-guide/index.html
-share/doc/libdbi-0.6.2/programmers-guide/intro.html
-share/doc/libdbi-0.6.2/programmers-guide/quickstart-code.html
-share/doc/libdbi-0.6.2/programmers-guide/quickstart-debriefing.html
-share/doc/libdbi-0.6.2/programmers-guide/quickstart.html
-share/doc/libdbi-0.6.2/programmers-guide/reference-core.html
-share/doc/libdbi-0.6.2/programmers-guide/reference-database.html
-share/doc/libdbi-0.6.2/programmers-guide/reference-driver.html
-share/doc/libdbi-0.6.2/programmers-guide/reference-field.html
-share/doc/libdbi-0.6.2/programmers-guide/reference-plugin.html
-share/doc/libdbi-0.6.2/programmers-guide/reference.html
-share/doc/libdbi-0.6.2/programmers-guide/terminology.html
-share/doc/libdbi-0.6.2/programmers-guide.pdf
+%%MYSQL%%lib/dbd/libmysql.so
+%%PGSQL%%lib/dbd/libpgsql.so
+%%PORTDOCS%%share/doc/libdbi/driver-guide.pdf
+%%PORTDOCS%%share/doc/libdbi/driver-guide/contact.html
+%%PORTDOCS%%share/doc/libdbi/driver-guide/copying-fdl.html
+%%PORTDOCS%%share/doc/libdbi/driver-guide/description.html
+%%PORTDOCS%%share/doc/libdbi/driver-guide/driverfuncs-dbquery.html
+%%PORTDOCS%%share/doc/libdbi/driver-guide/driverfuncs-infrastructure.html
+%%PORTDOCS%%share/doc/libdbi/driver-guide/driverfuncs.html
+%%PORTDOCS%%share/doc/libdbi/driver-guide/gnugpl.html
+%%PORTDOCS%%share/doc/libdbi/driver-guide/helperfuncs.html
+%%PORTDOCS%%share/doc/libdbi/driver-guide/index.html
+%%PORTDOCS%%share/doc/libdbi/driver-guide/intro.html
+%%PORTDOCS%%share/doc/libdbi/driver-guide/terminology.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide.pdf
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/contact.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/copying-fdl.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/description.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/gnugpl.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/index.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/intro.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/quickstart-code.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/quickstart-debriefing.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/quickstart.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/reference-conn.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/reference-core.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/reference-database.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/reference-driver.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/reference-field.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/reference.html
+%%PORTDOCS%%share/doc/libdbi/programmers-guide/terminology.html
+%%PORTDOCS%%@dirrm share/doc/libdbi/programmers-guide
+%%PORTDOCS%%@dirrm share/doc/libdbi/driver-guide
+%%PORTDOCS%%@dirrm share/doc/libdbi
@dirrm include/dbi
-@dirrm lib/dbd
-@dirrm share/doc/libdbi-%%VERSION%%/plugin-guide
-@dirrm share/doc/libdbi-%%VERSION%%/programmers-guide
-@dirrm share/doc/libdbi-%%VERSION%%