- Add the Lua-5.1 slave of the `net/lualdap' port, to be used with

the `net-im/prosody' port
- Install docs in a dedicated `do-install-DOCS-on' target while here

Requested by:	Zeus Panchenko
This commit is contained in:
Alexey Dokuchaev 2020-01-20 18:26:32 +00:00
parent 5aff1ea67f
commit 8ddcf13091
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=523638
3 changed files with 13 additions and 1 deletions

View File

@ -421,6 +421,7 @@
SUBDIR += lla
SUBDIR += ltm
SUBDIR += lualdap
SUBDIR += lualdap-51
SUBDIR += luasocket
SUBDIR += luasocket-51
SUBDIR += luasocket-53

9
net/lualdap-51/Makefile Normal file
View File

@ -0,0 +1,9 @@
# $FreeBSD$
USES= gmake lua:51
MASTERDIR= ${.CURDIR}/../lualdap
.include "${MASTERDIR}/Makefile"
COMMENT+= (version 5.1)

View File

@ -11,7 +11,7 @@ PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= pf@itwf.pl
COMMENT= LDAP support for the Lua language
USES= gmake lua
USES?= gmake lua
USE_OPENLDAP= yes
# the CPPFLAGS fixes builds where PREFIX != LOCALBASE
@ -29,6 +29,8 @@ OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
${INSTALL_PROGRAM} ${WRKSRC}/src/lualdap.so.${PORTVERSION} ${STAGEDIR}${LUA_MODLIBDIR}/${PORTNAME}.so
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/us/* ${STAGEDIR}${DOCSDIR}