diff options
-rw-r--r-- | databases/mariadb-connector-odbc/Makefile | 38 | ||||
-rw-r--r-- | databases/mariadb-connector-odbc/distinfo | 3 | ||||
-rw-r--r-- | databases/mariadb-connector-odbc/pkg-descr | 6 |
3 files changed, 47 insertions, 0 deletions
diff --git a/databases/mariadb-connector-odbc/Makefile b/databases/mariadb-connector-odbc/Makefile new file mode 100644 index 000000000000..995d0ce50290 --- /dev/null +++ b/databases/mariadb-connector-odbc/Makefile @@ -0,0 +1,38 @@ +# $FreeBSD$ + +PORTNAME= mariadb +DISTVERSION= 3.0.3 +CATEGORIES= databases ipv6 +MASTER_SITES= http://ftp.osuosl.org/pub/${SITESDIR}/ \ + http://mirrors.supportex.net/${SITESDIR}/ \ + http://mirror2.hs-esslingen.de/pub/Mirrors/${SITESDIR}/ \ + http://gd.tuwien.ac.at/db/${SITESDIR}/ \ + http://mirrors.fe.up.pt/pub/${SITESDIR}/ \ + http://mirror.de.gsnw.de:56431/${SITESDIR}/ \ + http://mirror.layerjet.com/${SITESDIR}/ \ + http://mirror.switch.ch/mirror/${SITESDIR}/ +PKGNAMESUFFIX= -connector-odbc +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSION}-ga-src + +MAINTAINER= brnrd@FreeBSD.org +COMMENT= MariaDB database connector for odbc + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libodbc.so:databases/unixODBC \ + libmariadb.so:databases/mariadb-connector-c + +USES= cmake +USE_LDCONFIG= ${PREFIX}/lib/mariadbconnector-odbc +SITESDIR= ${PORTNAME}/${PKGNAMESUFFIX:S/^-//}-${PORTVERSION:S/.b$//} +DOCSDIR= ${PREFIX}/share/doc/mysql + +CMAKE_ARGS+= -DCOMPILATION_COMMENT="FreeBSD Ports" + +PLIST_FILES= lib/libmaodbc.so + +post-install: + ${RM} -r ${STAGEDIR}${PREFIX}/share/doc/mariadb_connector_odbc + +.include <bsd.port.mk> diff --git a/databases/mariadb-connector-odbc/distinfo b/databases/mariadb-connector-odbc/distinfo new file mode 100644 index 000000000000..775a1264a42b --- /dev/null +++ b/databases/mariadb-connector-odbc/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1518555213 +SHA256 (mariadb-connector-odbc-3.0.3-ga-src.tar.gz) = 1cd1a220157d0260ea785d868488634f68b9e4229698051e54d9ade7bbf45129 +SIZE (mariadb-connector-odbc-3.0.3-ga-src.tar.gz) = 198914 diff --git a/databases/mariadb-connector-odbc/pkg-descr b/databases/mariadb-connector-odbc/pkg-descr new file mode 100644 index 000000000000..36506286fe55 --- /dev/null +++ b/databases/mariadb-connector-odbc/pkg-descr @@ -0,0 +1,6 @@ +MariaDB Connector/ODBC is a standardized, LGPL licensed database driver +using the industry standard ODBC API. It supports ODBC Standard 3.5, can be +used as a drop-in replacement for MySQL Connector/ODBC, and it supports +both Unicode and ANSI modes. + +WWW: https://mariadb.com/kb/en/mariadb/mariadb-connector-odbc/ |