diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-12 04:37:29 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-12 04:37:29 +0800 |
commit | ad10c4f944fc749ceab42d374e4074b7dd742046 (patch) | |
tree | eb6f7ca198fdd4daa9a6f108fb4b45879decd3ca /net/lualdap | |
parent | 7ee77df380d19c7fd7608a58025054161ebe3394 (diff) | |
download | freebsd-ports-gnome-ad10c4f944fc749ceab42d374e4074b7dd742046.tar.gz freebsd-ports-gnome-ad10c4f944fc749ceab42d374e4074b7dd742046.tar.zst freebsd-ports-gnome-ad10c4f944fc749ceab42d374e4074b7dd742046.zip |
Switch to lua 5.2
Diffstat (limited to 'net/lualdap')
-rw-r--r-- | net/lualdap/Makefile | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/net/lualdap/Makefile b/net/lualdap/Makefile index 014cd22f2f86..21effcf5d61f 100644 --- a/net/lualdap/Makefile +++ b/net/lualdap/Makefile @@ -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_SUBDIR} 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> |