1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/databases/ateam_mysql_ldap_auth/Makefile
Mathieu Arnold 3c03e67b02 Allow depending on both mysql's client and server
Fix the few users of both the MySQL client and server.

PR:		209762
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6575
2016-06-01 13:14:56 +00:00

39 lines
1021 B
Makefile

# Created by: Ganbold Tsagaankhuu <ganbold@FreeBSD.org>
# $FreeBSD$
PORTNAME= ateam_mysql_ldap_auth
PORTVERSION= 1.0
CATEGORIES= databases
MAINTAINER= ganbold@FreeBSD.org
COMMENT= A-Team MySQL LDAP authentication plugin
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libconfig.so:devel/libconfig
USE_OPENLDAP= yes
USES= gmake mysql:client,server
USE_GITHUB= yes
GH_ACCOUNT= ateamsystems
GH_TAGNAME= f6a1a5d
PLIST_FILES= lib/mysql/plugin/auth_ldap.so \
"@sample etc/ateam_mysql_ldap_auth.conf.sample" \
${DOCSDIR}/README \
${DOCSDIR}/INSTALL
SUB_FILES= pkg-message
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/mysql/plugin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_PROGRAM} ${WRKSRC}/src/auth_ldap.so ${STAGEDIR}${PREFIX}/lib/mysql/plugin/
${INSTALL_DATA} ${WRKSRC}/ateam_mysql_ldap_auth.conf ${STAGEDIR}${PREFIX}/etc/ateam_mysql_ldap_auth.conf.sample
${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
${INSTALL_MAN} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>