1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/net/lualdap/Makefile

38 lines
764 B
Makefile

# Created by: Piotr Florczyk <pf@itwf.pl>
PORTNAME= lualdap
PORTVERSION= 1.3.0
DISTVERSIONPREFIX= v
PORTREVISION= 0
CATEGORIES= net
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= LDAP support for the Lua language
LICENSE= MIT
USES= gmake lua:module
USE_OPENLDAP= yes
USE_GITHUB= yes
MAKE_ARGS+= CPPFLAGS="-I${LOCALBASE}/include -I${LUA_INCDIR}" \
LDFLAGS="-L${LOCALBASE}/lib" \
CC="${CC}"
ALL_TARGET=
OPTIONS_DEFINE= DOCS
DOCSDIR= ${LUA_DOCSDIR}
do-install:
@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
${INSTALL_PROGRAM} ${WRKSRC}/src/lualdap.so ${STAGEDIR}${LUA_MODLIBDIR}/${PORTNAME}.so
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>