svn commit: r523638 - in head/net: . lualdap lualdap-51

Alexey Dokuchaev danfe at FreeBSD.org
Mon Jan 20 18:26:33 UTC 2020


Author: danfe
Date: Mon Jan 20 18:26:32 2020
New Revision: 523638
URL: https://svnweb.freebsd.org/changeset/ports/523638

Log:
  - 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

Added:
  head/net/lualdap-51/
  head/net/lualdap-51/Makefile   (contents, props changed)
Modified:
  head/net/Makefile
  head/net/lualdap/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Mon Jan 20 18:21:55 2020	(r523637)
+++ head/net/Makefile	Mon Jan 20 18:26:32 2020	(r523638)
@@ -421,6 +421,7 @@
     SUBDIR += lla
     SUBDIR += ltm
     SUBDIR += lualdap
+    SUBDIR += lualdap-51
     SUBDIR += luasocket
     SUBDIR += luasocket-51
     SUBDIR += luasocket-53

Added: head/net/lualdap-51/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/lualdap-51/Makefile	Mon Jan 20 18:26:32 2020	(r523638)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+USES=		gmake lua:51
+
+MASTERDIR=	${.CURDIR}/../lualdap
+
+.include "${MASTERDIR}/Makefile"
+
+COMMENT+=	(version 5.1)

Modified: head/net/lualdap/Makefile
==============================================================================
--- head/net/lualdap/Makefile	Mon Jan 20 18:21:55 2020	(r523637)
+++ head/net/lualdap/Makefile	Mon Jan 20 18:26:32 2020	(r523638)
@@ -11,7 +11,7 @@ PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
 MAINTAINER=	pf at 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}
 


More information about the svn-ports-all mailing list