svn commit: r349129 - in head/databases: . apq apq-mysql apq-odbc apq-odbc/files apq-pgsql apq-pgsql/files
John Marino
marino at FreeBSD.org
Tue Mar 25 11:28:43 UTC 2014
Author: marino
Date: Tue Mar 25 11:28:38 2014
New Revision: 349129
URL: http://svnweb.freebsd.org/changeset/ports/349129
QAT: https://qat.redports.org/buildarchive/r349129/
Log:
Add new Ada database ports: apq, apq-mysql, apq-pgsql, apq-odbc
APQ is a database interface library written in Ada95. This is the base
library, but it is not useful without a driver. There are three drivers
available for PostgreSQL, MySQL, and ODBC in separate ports.
Some features:
* Thick binding
* Strong typing support
* Full BLOB support (PGSQL)
* High performance BLOB I/O via streams
* Full support for NULL Values
* Fully portable (database neutral) code possible
* Four levels of debug tracing
WWW: https://bitbucket.org/kowframework/apq
Added:
head/databases/apq/
head/databases/apq-mysql/
head/databases/apq-mysql/Makefile (contents, props changed)
head/databases/apq-mysql/distinfo (contents, props changed)
head/databases/apq-mysql/pkg-descr (contents, props changed)
head/databases/apq-mysql/pkg-plist (contents, props changed)
head/databases/apq-odbc/
head/databases/apq-odbc/Makefile (contents, props changed)
head/databases/apq-odbc/distinfo (contents, props changed)
head/databases/apq-odbc/files/
head/databases/apq-odbc/files/patch-src_odbc__lib.c (contents, props changed)
head/databases/apq-odbc/files/patch-src_odbc__lib.h (contents, props changed)
head/databases/apq-odbc/pkg-descr (contents, props changed)
head/databases/apq-odbc/pkg-plist (contents, props changed)
head/databases/apq-pgsql/
head/databases/apq-pgsql/Makefile (contents, props changed)
head/databases/apq-pgsql/distinfo (contents, props changed)
head/databases/apq-pgsql/files/
head/databases/apq-pgsql/files/patch-src_notices.c (contents, props changed)
head/databases/apq-pgsql/files/patch-src_numeric.c (contents, props changed)
head/databases/apq-pgsql/pkg-descr (contents, props changed)
head/databases/apq-pgsql/pkg-plist (contents, props changed)
head/databases/apq/Makefile (contents, props changed)
head/databases/apq/Makefile.version (contents, props changed)
head/databases/apq/distinfo (contents, props changed)
head/databases/apq/pkg-descr (contents, props changed)
head/databases/apq/pkg-plist (contents, props changed)
Modified:
head/databases/Makefile
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Tue Mar 25 11:26:47 2014 (r349128)
+++ head/databases/Makefile Tue Mar 25 11:28:38 2014 (r349129)
@@ -18,6 +18,10 @@
SUBDIR += animenfo-client-gtk
SUBDIR += aolserver-nsmysql
SUBDIR += aolserver-nspostgres
+ SUBDIR += apq
+ SUBDIR += apq-mysql
+ SUBDIR += apq-odbc
+ SUBDIR += apq-pgsql
SUBDIR += autobackupmysql
SUBDIR += bbdb
SUBDIR += beansdb
Added: head/databases/apq-mysql/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-mysql/Makefile Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,47 @@
+# Created by: John Marino <marino at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= apq-mysql
+PORTVERSION= ${APQ_VERSION}
+PORTREVISION= ${DRV_MYSQL_PR}
+CATEGORIES= databases
+MASTER_SITES= LOCAL/marino
+
+MAINTAINER= marino at FreeBSD.org
+COMMENT= APQ Ada95 MySQL database driver
+
+LICENSE= GPLv2 GMGPL
+LICENSE_COMB= multi
+
+BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
+ gprbuild:${PORTSDIR}/devel/gprbuild \
+ ${LOCALBASE}/lib/gnat/apq.gpr:${PORTSDIR}/databases/apq
+RUN_DEPENDS= ${LOCALBASE}/lib/gnat/apq.gpr:${PORTSDIR}/databases/apq
+
+USES= ada tar:bzip2
+USE_MYSQL= yes
+HAS_CONFIGURE= yes
+WRKPATH= ${WRKDIR}/build
+CONFIGURE_ARGS= --prefix=${PREFIX} \
+ --disable-relocatable \
+ --work-path=${WRKPATH} \
+ --processors=${MAKE_JOBS_NUMBER}
+
+.include "${.CURDIR}/../apq/Makefile.version"
+
+post-patch:
+ @${REINPLACE_CMD} -e '/for Object_Dir/d' \
+ ${WRKSRC}/src-in/apq-mysql.gpr.in
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \
+ ${STAGEDIR}${PREFIX}/lib/apq-mysql/static \
+ ${STAGEDIR}${PREFIX}/include/apq-mysql
+ ${INSTALL_DATA} ${WRKPATH}/include/apq-mysql/* \
+ ${STAGEDIR}${PREFIX}/include/apq-mysql
+ ${INSTALL_DATA} ${WRKPATH}/lib/apq-mysql/static/*.a* \
+ ${STAGEDIR}${PREFIX}/lib/apq-mysql/static
+ ${INSTALL_DATA} ${WRKPATH}/lib/gnat/apq-mysql.gpr \
+ ${STAGEDIR}${PREFIX}/lib/gnat
+
+.include <bsd.port.mk>
Added: head/databases/apq-mysql/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-mysql/distinfo Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,2 @@
+SHA256 (apq-mysql-3.2.0.tar.bz2) = 7dfa7eaf52b2b5695f067595903fb0f5200583b462603cb707b26f11064ee358
+SIZE (apq-mysql-3.2.0.tar.bz2) = 29910
Added: head/databases/apq-mysql/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-mysql/pkg-descr Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,4 @@
+APQ is a database interface library written in Ada95, and this is the
+MySQL driver that is used with it.
+
+WWW: https://bitbucket.org/kowframework/apq-mysql
Added: head/databases/apq-mysql/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-mysql/pkg-plist Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,12 @@
+include/apq-mysql/apq-mysql-client.adb
+include/apq-mysql/apq-mysql-client.ads
+include/apq-mysql/apq-mysql.ads
+include/apq-mysql/c_mysql.c
+lib/apq-mysql/static/apq-mysql-client.ali
+lib/apq-mysql/static/apq-mysql.ali
+lib/apq-mysql/static/libapq-mysql.a
+lib/gnat/apq-mysql.gpr
+ at dirrmtry lib/gnat
+ at dirrm lib/apq-mysql/static
+ at dirrm lib/apq-mysql
+ at dirrm include/apq-mysql
Added: head/databases/apq-odbc/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-odbc/Makefile Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,52 @@
+# Created by: John Marino <marino at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= apq-odbc
+PORTVERSION= ${APQ_VERSION}
+PORTREVISION= ${DRV_ODBC_PR}
+CATEGORIES= databases
+MASTER_SITES= LOCAL/marino
+
+MAINTAINER= marino at FreeBSD.org
+COMMENT= APQ Ada95 ODBC database driver
+
+LICENSE= GPLv2 GMGPL
+LICENSE_COMB= multi
+
+BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
+ gprbuild:${PORTSDIR}/devel/gprbuild \
+ ${LOCALBASE}/lib/gnat/apq.gpr:${PORTSDIR}/databases/apq
+RUN_DEPENDS= ${LOCALBASE}/lib/gnat/apq.gpr:${PORTSDIR}/databases/apq
+LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC
+
+USES= ada tar:bzip2
+HAS_CONFIGURE= yes
+WRKPATH= ${WRKDIR}/build
+CONFIGURE_ARGS= --prefix=${PREFIX} \
+ --disable-relocatable \
+ --work-path=${WRKPATH} \
+ --processors=${MAKE_JOBS_NUMBER}
+
+.include "${.CURDIR}/../apq/Makefile.version"
+
+post-extract:
+ ${RM} ${WRKSRC}/src/test.adb
+ ${ECHO} ${APQ_VERSION} > ${WRKSRC}/version
+
+post-patch:
+ ${RM} ${WRKSRC}/src/*.orig
+ ${REINPLACE_CMD} -e 's|"-march=x86-64",||g' -e '/for Object_Dir/d' \
+ ${WRKSRC}/gnat/apq-odbc.gpr.in
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \
+ ${STAGEDIR}${PREFIX}/lib/apq-odbc/static \
+ ${STAGEDIR}${PREFIX}/include/apq-odbc
+ ${INSTALL_DATA} ${WRKPATH}/src/apq-odbc/* \
+ ${STAGEDIR}${PREFIX}/include/apq-odbc
+ ${INSTALL_DATA} ${WRKPATH}/lib/apq-odbc/static/*.a* \
+ ${STAGEDIR}${PREFIX}/lib/apq-odbc/static
+ ${INSTALL_DATA} ${WRKPATH}/lib/gnat/apq-odbc.gpr \
+ ${STAGEDIR}${PREFIX}/lib/gnat
+
+.include <bsd.port.mk>
Added: head/databases/apq-odbc/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-odbc/distinfo Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,2 @@
+SHA256 (apq-odbc-3.2.0.tar.bz2) = abdcb427d194a75eb8631ea1ff9d8d78a913cc6373971fffdd59d111bc66a808
+SIZE (apq-odbc-3.2.0.tar.bz2) = 18781
Added: head/databases/apq-odbc/files/patch-src_odbc__lib.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-odbc/files/patch-src_odbc__lib.c Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,61 @@
+--- src/odbc_lib.c.orig 2012-01-10 14:17:05.000000000 -0500
++++ src/odbc_lib.c
+@@ -1,3 +1,5 @@
++#include <stdlib.h>
++#include <string.h>
+ #include "odbc_lib.h"
+
+
+@@ -43,10 +45,10 @@ void login_Information_Set_Up (ODBC_Logi
+
+ int get_Login_String_Size (ODBC_Login_Information* login_Information) {
+
++ int total_Size = 0;
+ if (!is_Ready(login_Information))
+ return(-1);
+
+- int total_Size = 0;
+ total_Size += strlen(login_Information->p_Formatted_User_Name);
+ total_Size += strlen(login_Information->p_Formatted_Password);
+ total_Size += strlen(login_Information->p_Formatted_Data_Source);
+@@ -75,6 +77,7 @@ int print_Login_String (ODBC_Login_Infor
+ strcat(destiny, login_Information->p_Formatted_User_Name);
+ strcat(destiny, login_Information->p_Formatted_Password);
+ strcat(destiny, login_Information->p_Formatted_Data_Source);
++ return(0);
+ }
+
+ void reset_Login_Information (ODBC_Login_Information* login_Information) {
+@@ -241,7 +244,7 @@ void connect_With_Data_Source (ODBC_Faca
+ + 1);
+
+ if (SQL_SUCCEEDED(SQLDriverConnect(odbc_Facade->connection_Handle, NULL,
+- login_String, SQL_NTS, NULL, 0, NULL,
++ (SQLCHAR*)login_String, SQL_NTS, NULL, 0, NULL,
+ SQL_DRIVER_NOPROMPT)))
+ switch_On_Connection(odbc_Facade);
+
+@@ -273,14 +276,14 @@ ODBC_Query_Results* create_And_Run_SQL_S
+ //TODO: Return error string instead of printing it?
+ void p_Print_Error_Information (ODBC_Facade* odbc_Facade) {
+
+- char ercode[6];
++ SQLCHAR ercode[6];
+ SQLINTEGER err;
+- char error[250];
++ SQLCHAR error[250];
+ SQLSMALLINT size;
+
+ SQLGetDiagRec(SQL_HANDLE_DBC, odbc_Facade->environment_Handle, 1, ercode,
+ &err, error, 250, &size);
+- printf ("\n%d, %s - %s\n", err, ercode, error);
++ printf ("\n%d, %s - %s\n", (int)err, ercode, error);
+ }
+
+
+@@ -289,4 +292,5 @@ void p_Print_Error_Information (ODBC_Fac
+ char* alloc_String (int size) {
+ char* return_Value = malloc(sizeof(char) * size);
+ *return_Value = '\0';
++ return return_Value;
+ }
Added: head/databases/apq-odbc/files/patch-src_odbc__lib.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-odbc/files/patch-src_odbc__lib.h Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,20 @@
+--- src/odbc_lib.h.orig 2012-01-10 14:17:05.000000000 -0500
++++ src/odbc_lib.h
+@@ -43,7 +43,7 @@ struct odbc_login_information {
+ };
+
+ //Public methods for ODBC_Login_Information.
+-ODBC_Login_Information* new_ODBC_Login_Information ();
++ODBC_Login_Information* new_ODBC_Login_Information (void);
+
+ void set_User_Name (ODBC_Login_Information* login_Information,
+ char* new_User_Name);
+@@ -126,7 +126,7 @@ struct odbc_facade {
+ ODBC_Login_Information* login_Information;
+ };
+
+-ODBC_Facade* new_ODBC_Facade ();
++ODBC_Facade* new_ODBC_Facade (void);
+
+ void set_Up_Environment_Handle (ODBC_Facade* odbc_Facade);
+
Added: head/databases/apq-odbc/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-odbc/pkg-descr Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,4 @@
+APQ is a database interface library written in Ada95, and this is the
+ODBC driver that is used with it.
+
+WWW: https://bitbucket.org/kowframework/apq-odbc
Added: head/databases/apq-odbc/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-odbc/pkg-plist Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,14 @@
+include/apq-odbc/apq-odbc-client.adb
+include/apq-odbc/apq-odbc-client.ads
+include/apq-odbc/apq-odbc.adb
+include/apq-odbc/apq-odbc.ads
+include/apq-odbc/odbc_lib.c
+include/apq-odbc/odbc_lib.h
+lib/apq-odbc/static/apq-odbc-client.ali
+lib/apq-odbc/static/apq-odbc.ali
+lib/apq-odbc/static/libapq-odbc.a
+lib/gnat/apq-odbc.gpr
+ at dirrmtry lib/gnat
+ at dirrm lib/apq-odbc/static
+ at dirrm lib/apq-odbc
+ at dirrm include/apq-odbc
Added: head/databases/apq-pgsql/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-pgsql/Makefile Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,48 @@
+# Created by: John Marino <marino at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= apq-pgsql
+PORTVERSION= ${APQ_VERSION}
+PORTREVISION= ${DRV_PGSQL_PR}
+CATEGORIES= databases
+MASTER_SITES= LOCAL/marino
+
+MAINTAINER= marino at FreeBSD.org
+COMMENT= APQ Ada95 PostgreSQL database driver
+
+LICENSE= GPLv2 GMGPL
+LICENSE_COMB= multi
+
+BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
+ gprbuild:${PORTSDIR}/devel/gprbuild \
+ ${LOCALBASE}/lib/gnat/apq.gpr:${PORTSDIR}/databases/apq
+RUN_DEPENDS= ${LOCALBASE}/lib/gnat/apq.gpr:${PORTSDIR}/databases/apq
+
+USES= ada tar:bzip2
+USE_PGSQL= yes
+HAS_CONFIGURE= yes
+WRKPATH= ${WRKDIR}/build
+CONFIGURE_ARGS= --prefix=${PREFIX} \
+ --disable-relocatable \
+ --work-path=${WRKPATH} \
+ --processors=${MAKE_JOBS_NUMBER}
+
+.include "${.CURDIR}/../apq/Makefile.version"
+
+post-patch:
+ ${RM} ${WRKSRC}/src/*.orig
+ @${REINPLACE_CMD} -e '/for Object_Dir/d' \
+ ${WRKSRC}/src-in/apq-postgresql.gpr.in
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \
+ ${STAGEDIR}${PREFIX}/lib/apq-postgresql/static \
+ ${STAGEDIR}${PREFIX}/include/apq-postgresql
+ ${INSTALL_DATA} ${WRKPATH}/include/apq-postgresql/* \
+ ${STAGEDIR}${PREFIX}/include/apq-postgresql
+ ${INSTALL_DATA} ${WRKPATH}/lib/apq-postgresql/static/*.a* \
+ ${STAGEDIR}${PREFIX}/lib/apq-postgresql/static
+ ${INSTALL_DATA} ${WRKPATH}/lib/gnat/apq-postgresql.gpr \
+ ${STAGEDIR}${PREFIX}/lib/gnat
+
+.include <bsd.port.mk>
Added: head/databases/apq-pgsql/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-pgsql/distinfo Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,2 @@
+SHA256 (apq-pgsql-3.2.0.tar.bz2) = b2bd6b1f3eaa26fe3abb88c1d8fb408e9fcfecc02c8732428bde2236dbcb2843
+SIZE (apq-pgsql-3.2.0.tar.bz2) = 51553
Added: head/databases/apq-pgsql/files/patch-src_notices.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-pgsql/files/patch-src_notices.c Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,12 @@
+--- src/notices.c.orig 2012-04-26 16:10:18.000000000 -0500
++++ src/notices.c
+@@ -31,6 +31,9 @@
+ #include <stdio.h>
+ #include <libpq-fe.h>
+
++void notice_install (PGconn *, void *);
++void notice_uninstall (PGconn *);
++
+ /*
+ * Connection_Notify is an Ada procedure using C calling convention :
+ */
Added: head/databases/apq-pgsql/files/patch-src_numeric.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-pgsql/files/patch-src_numeric.c Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,10 @@
+--- src/numeric.c.orig 2012-04-26 16:10:18.000000000 -0500
++++ src/numeric.c
+@@ -30,6 +30,7 @@
+
+ #include <stdlib.h>
+ #include <string.h>
++#include <ctype.h>
+
+ #include "decimal.h"
+
Added: head/databases/apq-pgsql/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-pgsql/pkg-descr Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,4 @@
+APQ is a database interface library written in Ada95, and this is the
+PostgreSQL driver that is used with it.
+
+WWW: https://bitbucket.org/kowframework/apq-postgresql
Added: head/databases/apq-pgsql/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq-pgsql/pkg-plist Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,20 @@
+include/apq-postgresql/apq-postgresql-client.adb
+include/apq-postgresql/apq-postgresql-client.ads
+include/apq-postgresql/apq-postgresql-decimal.adb
+include/apq-postgresql/apq-postgresql-decimal.ads
+include/apq-postgresql/apq-postgresql.ads
+include/apq-postgresql/apq-postgresql.ads-e
+include/apq-postgresql/decimal.h
+include/apq-postgresql/notices.c
+include/apq-postgresql/numeric.c
+include/apq-postgresql/numeric.h
+include/apq-postgresql/pgtypes.h
+lib/apq-postgresql/static/apq-postgresql-client.ali
+lib/apq-postgresql/static/apq-postgresql-decimal.ali
+lib/apq-postgresql/static/apq-postgresql.ali
+lib/apq-postgresql/static/libapq-postgresql.a
+lib/gnat/apq-postgresql.gpr
+ at dirrmtry lib/gnat
+ at dirrm lib/apq-postgresql/static
+ at dirrm lib/apq-postgresql
+ at dirrm include/apq-postgresql
Added: head/databases/apq/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq/Makefile Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,52 @@
+# Created by: John Marino <marino at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= apq
+PORTVERSION= ${APQ_VERSION}
+PORTREVISION= ${BASE_PORTREV}
+CATEGORIES= databases
+MASTER_SITES= LOCAL/marino
+
+MAINTAINER= marino at FreeBSD.org
+COMMENT= APQ Ada95 database base library
+
+LICENSE= GPLv2 GMGPL
+LICENSE_COMB= multi
+
+BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
+ gprbuild:${PORTSDIR}/devel/gprbuild
+
+USES= ada tar:bzip2
+PORTDOCS= README HISTORY
+HAS_CONFIGURE= yes
+WRKPATH= ${WRKDIR}/build
+CONFIGURE_ARGS= --prefix=${PREFIX} \
+ --disable-relocatable \
+ --work-path=${WRKPATH} \
+ --processors=${MAKE_JOBS_NUMBER}
+
+OPTIONS_DEFINE= DOCS
+
+.include "${.CURDIR}/Makefile.version"
+.include <bsd.port.options.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e '/for Object_Dir/d' ${WRKSRC}/gnat/apq.gpr.in
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \
+ ${STAGEDIR}${PREFIX}/lib/apq/static \
+ ${STAGEDIR}${PREFIX}/include/apq \
+ ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKPATH}/include/apq/* \
+ ${STAGEDIR}${PREFIX}/include/apq
+ ${INSTALL_DATA} ${WRKPATH}/lib/apq/static/*.a* \
+ ${STAGEDIR}${PREFIX}/lib/apq/static
+ ${INSTALL_DATA} ${WRKPATH}/lib/gnat/apq.gpr \
+ ${STAGEDIR}${PREFIX}/lib/gnat
+.if ${PORT_OPTIONS:MDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/HISTORY \
+ ${STAGEDIR}${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
Added: head/databases/apq/Makefile.version
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq/Makefile.version Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+APQ_VERSION= 3.2.0
+BASE_PORTREV= 0
+DRV_ODBC_PR= 0
+DRV_MYSQL_PR= 0
+DRV_PGSQL_PR= 0
Added: head/databases/apq/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq/distinfo Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,2 @@
+SHA256 (apq-3.2.0.tar.bz2) = 0a5cf0ecca4a6ed103948221184d21588aacd4e43438ce35dfea4a873679a9d8
+SIZE (apq-3.2.0.tar.bz2) = 115841
Added: head/databases/apq/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq/pkg-descr Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,14 @@
+APQ is a database interface library written in Ada95. This is the base
+library, but it is not useful without a driver. There are three drivers
+available for PostgreSQL, MySQL, and ODBC in separate ports.
+
+Some features:
+ * Thick binding
+ * Strong typing support
+ * Full BLOB support (PGSQL)
+ * High performance BLOB I/O via streams
+ * Full support for NULL Values
+ * Fully portable (database neutral) code possible
+ * Four levels of debug tracing
+
+WWW: https://bitbucket.org/kowframework/apq
Added: head/databases/apq/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/apq/pkg-plist Tue Mar 25 11:28:38 2014 (r349129)
@@ -0,0 +1,12 @@
+include/apq/apq.adb
+include/apq/apq.ads
+include/apq/apq_helper.adb
+include/apq/apq_helper.ads
+lib/apq/static/apq.ali
+lib/apq/static/apq_helper.ali
+lib/apq/static/libapq.a
+lib/gnat/apq.gpr
+ at dirrmtry lib/gnat
+ at dirrm lib/apq/static
+ at dirrm lib/apq
+ at dirrm include/apq
More information about the svn-ports-all
mailing list