Date: Sat, 25 Jan 2014 23:07:49 +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: r341134 - in head/lang/tolua: . files Message-ID: <201401252307.s0PN7nc4070072@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sat Jan 25 23:07:49 2014 New Revision: 341134 URL: http://svnweb.freebsd.org/changeset/ports/341134 QAT: https://qat.redports.org/buildarchive/r341134/ Log: Update to 5.2.0 Bring under lua@ maintainership [1] Support stage Use MAKE_ARGS instead of patching config Convert to USES=lua Approved by: edwin@ [1] Deleted: head/lang/tolua/files/ Modified: head/lang/tolua/Makefile head/lang/tolua/distinfo head/lang/tolua/pkg-descr head/lang/tolua/pkg-plist Modified: head/lang/tolua/Makefile ============================================================================== --- head/lang/tolua/Makefile Sat Jan 25 22:58:11 2014 (r341133) +++ head/lang/tolua/Makefile Sat Jan 25 23:07:49 2014 (r341134) @@ -2,46 +2,30 @@ # $FreeBSD$ PORTNAME= tolua -PORTVERSION= 5.1.3 +PORTVERSION= 5.2.0 CATEGORIES= lang -MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/users/celes/tolua/ \ - http://www.tecgraf.puc-rio.br/~celes/tolua/ +MASTER_SITES= http://www.tecgraf.puc-rio.br/~celes/tolua/ \ + ftp://ftp.tecgraf.puc-rio.br/pub/users/celes/tolua/ -MAINTAINER= edwin@mavetju.org +MAINTAINER= lua@FreeBSD.org COMMENT= toLua: accessing C/C++ code from Lua -USE_GMAKE= yes -USE_LUA= 5.1 -WRKSRC= ${WRKDIR}/${PORTNAME}-5.1.3 - -NO_STAGE= yes -post-extract: - ${RM} ${WRKSRC}/src/bin/tolua_lua.o +USES= gmake lua + +MAKE_ARGS= CC="${CC}" CCPP="${CXX}" \ + LUAINC="${LUA_INCDIR}" \ + LUALIB="${LUA_LIBDIR}" \ + WARN="${CFLAGS}" post-patch: @${REINPLACE_CMD} -e 's|make|$${MAKE}|' ${WRKSRC}/${MAKEFILE} - @${REINPLACE_CMD} -Ee \ - 's|^(CC=).*|\1 ${CC}|; \ - s|^(CCPP =).*|\1 ${CXX}|; \ - s|^(LUA=).*|\1 ${LOCALBASE}|; \ - s|^(LUA(INC\|LIB)=).*|\1 $${LUA_\2DIR}|; \ - s|^(CPPFLAGS)(=.*)|\1+\2 -lstdc++|; \ - s|^(CFLAGS)(=.*)|\1+\2|;' \ - ${WRKSRC}/config + @${REINPLACE_CMD} -e 's|llua|llua-${LUA_VER}|' \ + ${WRKSRC}/src/bin/${MAKEFILE} \ + ${WRKSRC}/src/tests/${MAKEFILE} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/tolua ${LUA_BINDIR} - ${LN} -sf ${LUA_SUBDIR}/tolua ${PREFIX}/bin/tolua-${LUA_VER} - ${INSTALL_DATA} ${WRKSRC}/include/tolua.h ${LUA_INCDIR} - ${INSTALL_DATA} ${WRKSRC}/lib/libtolua.a ${LUA_LIBDIR} - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "powerpc" -BROKEN= Does not compile on powerpc -.endif -.if ${ARCH} == "sparc64" && ${OSVERSION} > 900000 -BROKEN= Does not install on sparc64-9 -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/bin/tolua ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/include/tolua.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/lib/libtolua.a ${STAGEDIR}${PREFIX}/lib -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/lang/tolua/distinfo ============================================================================== --- head/lang/tolua/distinfo Sat Jan 25 22:58:11 2014 (r341133) +++ head/lang/tolua/distinfo Sat Jan 25 23:07:49 2014 (r341134) @@ -1,2 +1,2 @@ -SHA256 (tolua-5.1.3.tar.gz) = 916fd03732a677d75b515c6b804b736b9b529b5e6ab4e954e281b553a61f9596 -SIZE (tolua-5.1.3.tar.gz) = 271064 +SHA256 (tolua-5.2.0.tar.gz) = f3d3836e9d2f11177fb3230ebb4c1ad8be74eb87fa95ce03a79d10df45ef89c3 +SIZE (tolua-5.2.0.tar.gz) = 79025 Modified: head/lang/tolua/pkg-descr ============================================================================== --- head/lang/tolua/pkg-descr Sat Jan 25 22:58:11 2014 (r341133) +++ head/lang/tolua/pkg-descr Sat Jan 25 23:07:49 2014 (r341134) @@ -6,5 +6,4 @@ maps C/C++ constants, external variables classes, and methods to Lua. It also provides facilities to create Lua modules. -Author: Waldemar Celes <celes@tecgraf.puc-rio.br> WWW: http://www.tecgraf.puc-rio.br/~celes/tolua/ Modified: head/lang/tolua/pkg-plist ============================================================================== --- head/lang/tolua/pkg-plist Sat Jan 25 22:58:11 2014 (r341133) +++ head/lang/tolua/pkg-plist Sat Jan 25 23:07:49 2014 (r341134) @@ -1,4 +1,3 @@ -%%LUA_BINDIR%%/tolua -bin/tolua-%%LUA_VER%% -%%LUA_LIBDIR%%/libtolua.a -%%LUA_INCDIR%%/tolua.h +bin/tolua +lib/libtolua.a +include/tolua.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401252307.s0PN7nc4070072>