diff options
author | thierry <thierry@FreeBSD.org> | 2004-04-11 02:06:00 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2004-04-11 02:06:00 +0800 |
commit | 4df74856c12cbbfcdb74004ff29a1319463b8748 (patch) | |
tree | b5c9635fb898f36094fe2b213bc9dc579fb1d700 | |
parent | 101a5fd8feab5b137afae9229eec7db77eff20b8 (diff) | |
download | freebsd-ports-gnome-4df74856c12cbbfcdb74004ff29a1319463b8748.tar.gz freebsd-ports-gnome-4df74856c12cbbfcdb74004ff29a1319463b8748.tar.zst freebsd-ports-gnome-4df74856c12cbbfcdb74004ff29a1319463b8748.zip |
Add xbsql 0.11, an SQL wrapper for the XBase DBMS library.
Approved by: pav (mentor).
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/xbsql/Makefile | 51 | ||||
-rw-r--r-- | databases/xbsql/distinfo | 2 | ||||
-rw-r--r-- | databases/xbsql/files/patch-configure | 10 | ||||
-rw-r--r-- | databases/xbsql/files/patch-xbsql::Makefile.in | 37 | ||||
-rw-r--r-- | databases/xbsql/pkg-descr | 5 | ||||
-rw-r--r-- | databases/xbsql/pkg-plist | 5 |
7 files changed, 111 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index bd7925f81ba2..23c831121f25 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -280,6 +280,7 @@ SUBDIR += usogres SUBDIR += wfb2sql SUBDIR += xbase + SUBDIR += xbsql SUBDIR += xmbase-grok SUBDIR += xmysqladmin SUBDIR += zodb diff --git a/databases/xbsql/Makefile b/databases/xbsql/Makefile new file mode 100644 index 000000000000..d5c6af2e6955 --- /dev/null +++ b/databases/xbsql/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: xbsql +# Date created: Nov 22, 2003 +# Whom: Thierry Thomas <thierry@pompo.net> +# +# $FreeBSD$ + +PORTNAME= xbsql +PORTVERSION= 0.11 +CATEGORIES= databases +MASTER_SITES= http://www.rekallrevealed.org/packages/ +EXTRACT_SUFX= .tgz + +MAINTAINER= ports@FreeBSD.org +COMMENT= An SQL wrapper for the XBase DBMS library + +LIB_DEPENDS= xbase-2.0.0:${PORTSDIR}/databases/xbase + +USE_BISON= yes +USE_LIBTOOL_VER= 13 +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +INSTALLS_SHLIB= yes +USE_REINPLACE= yes + +LB2FIX= Makefile.in test/Makefile.in xbsql/Makefile.in + +PORTDOCS= chap1.html chap2.html chap3.html chap4.html chap5.html \ + chap6.html chap7.html index.html + +post-patch: +.for mkin in ${LB2FIX} + @${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" ${WRKSRC}/${mkin} +.endfor + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for doc in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR} +.endfor + @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." +.endif + +.if defined(MAINTAINER_MODE) +test: install + @${ECHO_MSG} "Please be patient!" + (cd ${WRKSRC}/test; \ + ./runtests S001_basic.xql S002_big.pl S004_cross_fast.sh S004_cross_slow.sh; \ + ls -l *.diff) +.endif + +.include <bsd.port.mk> diff --git a/databases/xbsql/distinfo b/databases/xbsql/distinfo new file mode 100644 index 000000000000..ceffccfbe5ba --- /dev/null +++ b/databases/xbsql/distinfo @@ -0,0 +1,2 @@ +MD5 (xbsql-0.11.tgz) = 7f8c8584cf0f592660fb2653a4bfc415 +SIZE (xbsql-0.11.tgz) = 307392 diff --git a/databases/xbsql/files/patch-configure b/databases/xbsql/files/patch-configure new file mode 100644 index 000000000000..55934ec84f6f --- /dev/null +++ b/databases/xbsql/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig Fri Mar 28 21:03:29 2003 ++++ configure Sun Nov 23 00:29:48 2003 +@@ -6443,6 +6443,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/xbsql/files/patch-xbsql::Makefile.in b/databases/xbsql/files/patch-xbsql::Makefile.in new file mode 100644 index 000000000000..e508898babb3 --- /dev/null +++ b/databases/xbsql/files/patch-xbsql::Makefile.in @@ -0,0 +1,37 @@ +--- xbsql/Makefile.in.orig Fri Mar 28 21:03:25 2003 ++++ xbsql/Makefile.in Sun Nov 23 01:16:18 2003 +@@ -89,9 +89,9 @@ + am__include = @am__include@ + am__quote = @am__quote@ + install_sh = @install_sh@ +-DEBUG = -g +-CFLAGS = -UNO_READLINE -I/usr/local/include $(DEBUG) +-CXXFLAGS = -UNO_READLINE -I/usr/local/include $(DEBUG) ++DEBUG = ++CFLAGS = @CFLAGS@ -UNO_READLINE -I/usr/local/include $(DEBUG) ++CXXFLAGS = @CXXFLAGS@ -UNO_READLINE -I/usr/local/include $(DEBUG) + LDFLAGS = $(DEBUG) + INCLUDE = -I/usr/local/include + +@@ -108,10 +108,10 @@ + xbsql.tab.c xb_datetime.cpp + + +-libxbsql_la_LDFLAGS = -lxbase $(DEBUG) ++libxbsql_la_LDFLAGS = `xbase-config --libs` $(DEBUG) + + xql_SOURCES = xql.cpp +-xql_LDADD = -lxbase -lreadline -l$(CURSES) ./libxbsql.la ++xql_LDADD = `xbase-config --libs` -lreadline -l$(CURSES) ./libxbsql.la + + + #install-data-hook: +@@ -228,7 +228,7 @@ + if test -f $$p \ + || test -f $$p1 \ + ; then \ +- f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ ++ f=`echo "$$p1" | sed 's,^.*/,,;s/$$/$(EXEEXT)/'`; \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \ + else :; fi; \ diff --git a/databases/xbsql/pkg-descr b/databases/xbsql/pkg-descr new file mode 100644 index 000000000000..6e85263f678f --- /dev/null +++ b/databases/xbsql/pkg-descr @@ -0,0 +1,5 @@ +Xbase SQL is a C++ library which supports access to Xbase type datafiles +and indexes (ie., .dbf and related files). It provides access at the record +level to these files. + +WWW: http://www.rekallrevealed.org/ diff --git a/databases/xbsql/pkg-plist b/databases/xbsql/pkg-plist new file mode 100644 index 000000000000..7c96f62bd756 --- /dev/null +++ b/databases/xbsql/pkg-plist @@ -0,0 +1,5 @@ +bin/xql +include/xbsql.h +lib/libxbsql.a +lib/libxbsql.so +lib/libxbsql.so.0 |