2017-07-27 11:51:58 +00:00
|
|
|
PORTNAME= mariadb-connector-c
|
2020-10-18 18:51:46 +00:00
|
|
|
PORTVERSION= 3.1.10
|
2019-10-09 10:34:56 +00:00
|
|
|
CATEGORIES= databases
|
2017-01-15 19:03:51 +00:00
|
|
|
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}/
|
2017-07-27 11:51:58 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
2017-01-15 19:03:51 +00:00
|
|
|
|
|
|
|
MAINTAINER= brnrd@FreeBSD.org
|
|
|
|
COMMENT= MariaDB database connector for C
|
|
|
|
|
|
|
|
LICENSE= LGPL21
|
2017-07-27 11:51:58 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
|
2017-01-15 19:03:51 +00:00
|
|
|
|
2018-09-25 07:29:25 +00:00
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl
|
2017-05-21 21:55:08 +00:00
|
|
|
|
2017-01-15 19:03:51 +00:00
|
|
|
CONFLICTS_INSTALL= mariadb[0-9]*-client-* \
|
|
|
|
mariadb102-server-* \
|
|
|
|
mysql[0-9]*-client-* \
|
|
|
|
percona[0-9]*-client-*
|
|
|
|
|
2018-12-25 20:25:39 +00:00
|
|
|
USES= cmake:insource compiler:c++11-lib iconv:translit ssl
|
2018-01-24 16:09:58 +00:00
|
|
|
USE_LDCONFIG= ${PREFIX}/lib/mariadb
|
2017-01-15 19:03:51 +00:00
|
|
|
SITESDIR= mariadb/connector-c-${PORTVERSION}
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/mysql
|
|
|
|
|
|
|
|
CMAKE_ARGS+= -DCOMPILATION_COMMENT="FreeBSD Ports" \
|
|
|
|
-DWITH_EXTERNAL_ZLIB="YES"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|