1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/databases/ateam_mysql_ldap_auth/Makefile
Antoine Brodin 1a147af256 - Add DOCS option
- Use PORTDOCS for documentation

Reported by:	pkg-fallout
2018-01-13 22:43:03 +00:00

44 lines
1.0 KiB
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"
PORTDOCS= README INSTALL
OPTIONS_DEFINE= DOCS
SUB_FILES= pkg-message
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/mysql/plugin
${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
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>