From owner-svn-ports-head@FreeBSD.ORG Sat Jan 25 23:07:50 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9ADF3D9; Sat, 25 Jan 2014 23:07:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 861D2104F; Sat, 25 Jan 2014 23:07:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0PN7oHi070075; Sat, 25 Jan 2014 23:07:50 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0PN7nc4070072; Sat, 25 Jan 2014 23:07:49 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401252307.s0PN7nc4070072@svn.freebsd.org> From: Baptiste Daroussin Date: Sat, 25 Jan 2014 23:07:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341134 - in head/lang/tolua: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 23:07:50 -0000 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 - -.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 +.include 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 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