Changeset View
Changeset View
Standalone View
Standalone View
databases/percona57-client/Makefile
# Created by: Mark Felder <feld@FreeBSD.org> | # Created by: Mark Felder <feld@FreeBSD.org> | ||||
PORTNAME= percona | PORTNAME= percona | ||||
PORTREVISION?= 0 | PORTREVISION?= 1 | ||||
PKGNAMESUFFIX= 57-client | PKGNAMESUFFIX= 57-client | ||||
COMMENT= Multithreaded SQL database (client) | COMMENT= Multithreaded SQL database (client) | ||||
LICENSE= GPLv2+ | LICENSE= GPLv2+ | ||||
MASTERDIR= ${.CURDIR}/../percona57-server | MASTERDIR= ${.CURDIR}/../percona57-server | ||||
Show All 18 Lines | |||||
CLIENT_ONLY= yes | CLIENT_ONLY= yes | ||||
OPTIONS_GROUP+= PLUGINS | OPTIONS_GROUP+= PLUGINS | ||||
PLUGINS_DESC= Default Client Plugins | PLUGINS_DESC= Default Client Plugins | ||||
OPTIONS_GROUP_PLUGINS= SASLCLIENT | OPTIONS_GROUP_PLUGINS= SASLCLIENT | ||||
SASLCLIENT_DESC= SASL client plugin module | SASLCLIENT_DESC= SASL client plugin module | ||||
SASLCLIENT_CMAKE_BOOL= WITH_AUTHENTICATION_LDAP | SASLCLIENT_CMAKE_BOOL= WITH_AUTHENTICATION_LDAP | ||||
SASLCLIENT_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 | SASLCLIENT_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 | ||||
SASLCLIENT_BUILD_DEPENDS= ${LOCALBASE}/include/lber.h:net/openldap24-sasl-client | SASLCLIENT_USE= OPENLDAP=yes | ||||
OPTIONS_DEFAULT+= SASLCLIENT | OPTIONS_DEFAULT+= SASLCLIENT | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
# Percona renamed the libraries, until we decide how to deal with it create some symlinks | # Percona renamed the libraries, until we decide how to deal with it create some symlinks | ||||
# to prevent breaking installed ports. | # to prevent breaking installed ports. | ||||
post-install: | post-install: | ||||
${LN} -s libperconaserverclient.so ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient.so | ${LN} -s libperconaserverclient.so ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient.so | ||||
${LN} -s libperconaserverclient.so.20 ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient.so.20 | ${LN} -s libperconaserverclient.so.20 ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient.so.20 | ||||
${LN} -s libperconaserverclient.a ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.a | ${LN} -s libperconaserverclient.a ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.a | ||||
${LN} -s libperconaserverclient.so ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so | ${LN} -s libperconaserverclient.so ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so | ||||
${LN} -s libperconaserverclient.so.20 ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so.20 | ${LN} -s libperconaserverclient.so.20 ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so.20 | ||||
${LN} -s perconaserverclient.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/mysqlclient.pc | ${LN} -s perconaserverclient.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/mysqlclient.pc | ||||
.include "${MASTERDIR}/Makefile" | .include "${MASTERDIR}/Makefile" |