summaryrefslogtreecommitdiff
path: root/databases/apq
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-03-25 11:28:38 +0000
committerJohn Marino <marino@FreeBSD.org>2014-03-25 11:28:38 +0000
commit197ad92ef899fce01003abe1c0b64c729c7884f7 (patch)
tree179c245b33c07eeb13aeef81420d78258f4718a7 /databases/apq
parent- Link with libcharset to get locale_charset. (diff)
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
Notes
Notes: svn path=/head/; revision=349129
Diffstat (limited to 'databases/apq')
-rw-r--r--databases/apq/Makefile52
-rw-r--r--databases/apq/Makefile.version7
-rw-r--r--databases/apq/distinfo2
-rw-r--r--databases/apq/pkg-descr14
-rw-r--r--databases/apq/pkg-plist12
5 files changed, 87 insertions, 0 deletions
diff --git a/databases/apq/Makefile b/databases/apq/Makefile
new file mode 100644
index 000000000000..6af614939a30
--- /dev/null
+++ b/databases/apq/Makefile
@@ -0,0 +1,52 @@
+# Created by: John Marino <marino@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= apq
+PORTVERSION= ${APQ_VERSION}
+PORTREVISION= ${BASE_PORTREV}
+CATEGORIES= databases
+MASTER_SITES= LOCAL/marino
+
+MAINTAINER= marino@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>
diff --git a/databases/apq/Makefile.version b/databases/apq/Makefile.version
new file mode 100644
index 000000000000..9180d40c6919
--- /dev/null
+++ b/databases/apq/Makefile.version
@@ -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
diff --git a/databases/apq/distinfo b/databases/apq/distinfo
new file mode 100644
index 000000000000..533cd782e53d
--- /dev/null
+++ b/databases/apq/distinfo
@@ -0,0 +1,2 @@
+SHA256 (apq-3.2.0.tar.bz2) = 0a5cf0ecca4a6ed103948221184d21588aacd4e43438ce35dfea4a873679a9d8
+SIZE (apq-3.2.0.tar.bz2) = 115841
diff --git a/databases/apq/pkg-descr b/databases/apq/pkg-descr
new file mode 100644
index 000000000000..09c7cef714c0
--- /dev/null
+++ b/databases/apq/pkg-descr
@@ -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
diff --git a/databases/apq/pkg-plist b/databases/apq/pkg-plist
new file mode 100644
index 000000000000..1d3d8f16a1aa
--- /dev/null
+++ b/databases/apq/pkg-plist
@@ -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
+@dirrmtry lib/gnat
+@dirrm lib/apq/static
+@dirrm lib/apq
+@dirrm include/apq