svn commit: r414838 - in head/databases: . adabase adabase/files
John Marino
marino at FreeBSD.org
Mon May 9 11:05:02 UTC 2016
Author: marino
Date: Mon May 9 11:05:00 2016
New Revision: 414838
URL: https://svnweb.freebsd.org/changeset/ports/414838
Log:
Add new port database/adabase
Thick database bindings for MySQL, PostgreSQL and SQLite written in Ada.
This is the first release of AdaBase, an abstraction library that provides
a consistent interface to multiple database servers. Currently only one
driver for MySQL is provided, but additional ones for SQLite and
PostgreSQL are planned for the near term. It's extensible, so support
for others such as Firebird, Oracle and MSSQL would be easily possible.
AdaBase offers unique features over similar frameworks. For starters,
it's limited to database support rather than including many other unwanted
components in a "kitchen sink" fashion, and unneeded drivers can be
excluded from the library as desired. It's got a developer and commerce
friend license (ICS), it comes with good documentation and working
examples, and the bindings are thick enough where database server backends
can be interchangeable.
AdaBase may seem familiar to some users as it was partially inspired by
PHP's PDO database framework and is a sequel of sorts to an earlier
project by the same author, Pascal Data Objects.
WWW: http://jrmarino.github.io/AdaBase/
Added:
head/databases/adabase/
head/databases/adabase/Makefile (contents, props changed)
head/databases/adabase/distinfo (contents, props changed)
head/databases/adabase/files/
head/databases/adabase/files/adabase.gpr (contents, props changed)
head/databases/adabase/pkg-descr (contents, props changed)
head/databases/adabase/pkg-plist (contents, props changed)
Modified:
head/databases/Makefile
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Mon May 9 10:57:52 2016 (r414837)
+++ head/databases/Makefile Mon May 9 11:05:00 2016 (r414838)
@@ -9,6 +9,7 @@
SUBDIR += R-cran-RSQLite.extfuns
SUBDIR += R-cran-sqldf
SUBDIR += WWWdb
+ SUBDIR += adabase
SUBDIR += adminer
SUBDIR += adodb
SUBDIR += adodb5
Added: head/databases/adabase/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/adabase/Makefile Mon May 9 11:05:00 2016 (r414838)
@@ -0,0 +1,40 @@
+# Created by: John Marino <marino at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= adabase
+PORTVERSION= 1.0
+DISTVERSIONPREFIX= v
+CATEGORIES= databases
+
+MAINTAINER= marino at FreeBSD.org
+COMMENT= Thick database bindings for Ada
+
+LICENSE= ISCL
+LICENSE_FILE= ${WRKSRC}/License.txt
+
+BUILD_DEPENDS= gprbuild:devel/gprbuild
+
+USES= ada
+USE_GITHUB= yes
+GH_ACCOUNT= jrmarino
+GH_PROJECT= AdaBase
+
+MAKE_ENV+= OS_VERSION=unix
+
+post-extract:
+ ${RM} ${WRKSRC}/src/drivers/adabase-driver-base-firebird.ad?
+
+do-build:
+ (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+ gprbuild -p -P adabase ${BUILD_ARGS})
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/adabase \
+ ${STAGEDIR}${PREFIX}/lib/adabase \
+ ${STAGEDIR}${PREFIX}/lib/gnat
+ ${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${PREFIX}/lib/adabase
+ ${INSTALL_DATA} ${WRKSRC}/src/*/*.ad[bs] ${WRKSRC}/src/adabase.ads \
+ ${STAGEDIR}${PREFIX}/include/adabase
+ ${INSTALL_DATA} ${FILESDIR}/adabase.gpr ${STAGEDIR}${PREFIX}/lib/gnat
+
+.include <bsd.port.mk>
Added: head/databases/adabase/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/adabase/distinfo Mon May 9 11:05:00 2016 (r414838)
@@ -0,0 +1,2 @@
+SHA256 (jrmarino-AdaBase-v1.0_GH0.tar.gz) = fb9bec4376a5df61670c543f8c49c5e1e335032ae46658f966f2b0277c89d338
+SIZE (jrmarino-AdaBase-v1.0_GH0.tar.gz) = 75278
Added: head/databases/adabase/files/adabase.gpr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/adabase/files/adabase.gpr Mon May 9 11:05:00 2016 (r414838)
@@ -0,0 +1,7 @@
+library project AdaBase is
+ for Library_Name use "adabase";
+ for Library_Kind use "static";
+ for Source_Dirs use ("../../include/adabase");
+ for Library_Dir use "../../lib/adabase";
+ for Externally_Built use "true";
+end AdaBase;
Added: head/databases/adabase/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/adabase/pkg-descr Mon May 9 11:05:00 2016 (r414838)
@@ -0,0 +1,21 @@
+Thick database bindings for MySQL, PostgreSQL and SQLite written in Ada.
+
+This is the first release of AdaBase, an abstraction library that provides
+a consistent interface to multiple database servers. Currently only one
+driver for MySQL is provided, but additional ones for SQLite and
+PostgreSQL are planned for the near term. It's extensible, so support
+for others such as Firebird, Oracle and MSSQL would be easily possible.
+
+AdaBase offers unique features over similar frameworks. For starters,
+it's limited to database support rather than including many other unwanted
+components in a "kitchen sink" fashion, and unneeded drivers can be
+excluded from the library as desired. It's got a developer and commerce
+friend license (ICS), it comes with good documentation and working
+examples, and the bindings are thick enough where database server backends
+can be interchangeable.
+
+AdaBase may seem familiar to some users as it was partially inspired by
+PHP's PDO database framework and is a sequel of sorts to an earlier
+project by the same author, Pascal Data Objects.
+
+WWW: http://jrmarino.github.io/AdaBase/
Added: head/databases/adabase/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/adabase/pkg-plist Mon May 9 11:05:00 2016 (r414838)
@@ -0,0 +1,73 @@
+include/adabase/adabase-bindings-mysql.ads
+include/adabase/adabase-bindings.ads
+include/adabase/adabase-connection-base-mysql.adb
+include/adabase/adabase-connection-base-mysql.ads
+include/adabase/adabase-connection-base.adb
+include/adabase/adabase-connection-base.ads
+include/adabase/adabase-connection.ads
+include/adabase/adabase-driver-base-mysql.adb
+include/adabase/adabase-driver-base-mysql.ads
+include/adabase/adabase-driver-base.adb
+include/adabase/adabase-driver-base.ads
+include/adabase/adabase-driver.ads
+include/adabase/adabase-interfaces-connection.ads
+include/adabase/adabase-interfaces-driver.ads
+include/adabase/adabase-interfaces-logger.ads
+include/adabase/adabase-interfaces-statement.ads
+include/adabase/adabase-interfaces.ads
+include/adabase/adabase-logger-base-file.adb
+include/adabase/adabase-logger-base-file.ads
+include/adabase/adabase-logger-base-screen.adb
+include/adabase/adabase-logger-base-screen.ads
+include/adabase/adabase-logger-base.adb
+include/adabase/adabase-logger-base.ads
+include/adabase/adabase-logger-facility.adb
+include/adabase/adabase-logger-facility.ads
+include/adabase/adabase-logger.ads
+include/adabase/adabase-results-converters.adb
+include/adabase/adabase-results-converters.ads
+include/adabase/adabase-results-field.adb
+include/adabase/adabase-results-field.ads
+include/adabase/adabase-results-generic_converters.adb
+include/adabase/adabase-results-generic_converters.ads
+include/adabase/adabase-results-sets.adb
+include/adabase/adabase-results-sets.ads
+include/adabase/adabase-results.ads
+include/adabase/adabase-statement-base-mysql.adb
+include/adabase/adabase-statement-base-mysql.ads
+include/adabase/adabase-statement-base.adb
+include/adabase/adabase-statement-base.ads
+include/adabase/adabase-statement.ads
+include/adabase/adabase.ads
+include/adabase/commontext.adb
+include/adabase/commontext.ads
+lib/adabase/adabase-bindings-mysql.ali
+lib/adabase/adabase-bindings.ali
+lib/adabase/adabase-connection-base-mysql.ali
+lib/adabase/adabase-connection-base.ali
+lib/adabase/adabase-connection.ali
+lib/adabase/adabase-driver-base-mysql.ali
+lib/adabase/adabase-driver-base.ali
+lib/adabase/adabase-driver.ali
+lib/adabase/adabase-interfaces-connection.ali
+lib/adabase/adabase-interfaces-driver.ali
+lib/adabase/adabase-interfaces-logger.ali
+lib/adabase/adabase-interfaces-statement.ali
+lib/adabase/adabase-interfaces.ali
+lib/adabase/adabase-logger-base-file.ali
+lib/adabase/adabase-logger-base-screen.ali
+lib/adabase/adabase-logger-base.ali
+lib/adabase/adabase-logger-facility.ali
+lib/adabase/adabase-logger.ali
+lib/adabase/adabase-results-converters.ali
+lib/adabase/adabase-results-field.ali
+lib/adabase/adabase-results-generic_converters.ali
+lib/adabase/adabase-results-sets.ali
+lib/adabase/adabase-results.ali
+lib/adabase/adabase-statement-base-mysql.ali
+lib/adabase/adabase-statement-base.ali
+lib/adabase/adabase-statement.ali
+lib/adabase/adabase.ali
+lib/adabase/commontext.ali
+lib/adabase/libadabase.a
+lib/gnat/adabase.gpr
More information about the svn-ports-all
mailing list