Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2014 20:37:30 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339453 - head/net/lualdap
Message-ID:  <201401112037.s0BKbUKN035722@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Jan 11 20:37:29 2014
New Revision: 339453
URL: http://svnweb.freebsd.org/changeset/ports/339453

Log:
  Switch to lua 5.2

Modified:
  head/net/lualdap/Makefile

Modified: head/net/lualdap/Makefile
==============================================================================
--- head/net/lualdap/Makefile	Sat Jan 11 20:36:18 2014	(r339452)
+++ head/net/lualdap/Makefile	Sat Jan 11 20:37:29 2014	(r339453)
@@ -3,6 +3,7 @@
 
 PORTNAME=	lualdap
 PORTVERSION=	1.1.0
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://files.luaforge.net/releases/${PORTNAME}/${PORTNAME}/LuaLDAP${PORTVERSION}/
 PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
@@ -10,8 +11,7 @@ PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
 MAINTAINER=	pf@itwf.pl
 COMMENT=	LDAP support for the Lua language
 
-USE_GMAKE=	yes
-USE_LUA=	5.1+
+USES=		gmake lua
 USE_OPENLDAP=	yes
 
 # the CPPFLAGS fixes builds where PREFIX != LOCALBASE
@@ -19,19 +19,15 @@ CPPFLAGS+=	-I${LOCALBASE}/include/${LUA_
 MAKE_ARGS+=	LUA_LIBDIR="${LUA_LIBDIR}" \
 		LUA_INC="${LUA_INCDIR}" \
 		OPENLDAP_LIB="-L${LOCALBASE}/lib -lldap" \
-		LUA_VERSION_NUM="${LUA_VER_STR}0"
+		LUA_VERSION_NUM="${LUA_VER_STR}0" \
+		CC="${CC}"
 
 ALL_TARGET=
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
 do-install:
-	${MKDIR} ${LUA_MODLIBDIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/src/lualdap.so.${PORTVERSION} ${LUA_MODLIBDIR}/${PORTNAME}.so
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/doc/us/* ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/src/lualdap.so.${PORTVERSION} ${STAGEDIR}${LUA_MODLIBDIR}/${PORTNAME}.so
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/us/* ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401112037.s0BKbUKN035722>