From owner-svn-ports-all@freebsd.org Tue Feb 21 20:27:16 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 246BDCE8402; Tue, 21 Feb 2017 20:27:16 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F3319334; Tue, 21 Feb 2017 20:27:15 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1LKRF4T061377; Tue, 21 Feb 2017 20:27:15 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1LKREIw061372; Tue, 21 Feb 2017 20:27:14 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201702212027.v1LKREIw061372@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Tue, 21 Feb 2017 20:27:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434553 - in head/devel: . lua51-libevent X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 20:27:16 -0000 Author: feld Date: Tue Feb 21 20:27:14 2017 New Revision: 434553 URL: https://svnweb.freebsd.org/changeset/ports/434553 Log: This is a binding of libevent to Lua. It will serve as a drop-in replacement for copas, and eventually support more features (async DNS, HTTP, RPC...). WWW: https://github.com/harningt/luaevent PR: 216750 Submitted by: Sir l33tname Added: head/devel/lua51-libevent/ head/devel/lua51-libevent/Makefile (contents, props changed) head/devel/lua51-libevent/distinfo (contents, props changed) head/devel/lua51-libevent/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Feb 21 20:12:51 2017 (r434552) +++ head/devel/Makefile Tue Feb 21 20:27:14 2017 (r434553) @@ -1568,6 +1568,7 @@ SUBDIR += lua-posix SUBDIR += lua-pty SUBDIR += lua-sysctl + SUBDIR += lua51-libevent SUBDIR += luabind SUBDIR += luafilesystem SUBDIR += luafilesystem-51 Added: head/devel/lua51-libevent/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua51-libevent/Makefile Tue Feb 21 20:27:14 2017 (r434553) @@ -0,0 +1,44 @@ +# Created by: Sir l33tname +# $FreeBSD$ + +PORTNAME= lua51 +PORTVERSION= 0.4.4 +DISTVERSIONPREFIX=v +CATEGORIES= devel +PKGNAMESUFFIX= -libevent + +MAINTAINER= sirl33tname@gmail.com +COMMENT= Lua libevent binding + +LICENSE= MIT + +LIB_DEPENDS= libevent.so:devel/libevent +RUN_DEPENDS= ${LUA_MODLIBDIR}/socket/core.so:net/luasocket + +USE_GITHUB= yes +GH_ACCOUNT= harningt +GH_PROJECT= luaevent + +USES= gmake pkgconfig lua:51 + +MAKE_ENV+= INSTALL_DIR_LUA=${LUA_MODSHAREDIR} +MAKE_ENV+= INSTALL_DIR_BIN=${LUA_MODLIBDIR} + +CFLAGS+= `pkgconf --cflags lua-${LUA_VER}` \ + `pkgconf --cflags libevent` \ + -I${LUA_INCDIR} +LDFLAGS+= -shared -L${LOCALBASE}/lib \ + `pkgconf --libs lua-${LUA_VER}` \ + `pkgconf --libs libevent` + +PLIST_FILES= ${LUA_MODLIBDIR}/luaevent/core.so \ + ${LUA_MODSHAREDIR}/luaevent.lua + +post-patch: + @${REINPLACE_CMD} -e 's/CFLAGS[[:blank:]]*=/CFLAGS\+=/g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's/LDFLAGS[[:blank:]]*=/LDFLAGS\+=/g' ${WRKSRC}/Makefile + +pre-install: + ${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR} + +.include Added: head/devel/lua51-libevent/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua51-libevent/distinfo Tue Feb 21 20:27:14 2017 (r434553) @@ -0,0 +1,3 @@ +TIMESTAMP = 1485710369 +SHA256 (harningt-luaevent-v0.4.4_GH0.tar.gz) = 242c95b9cacd87201aa35ba618eb1cd0b0e2a7d1a8fc6734c0bc06dd742e2455 +SIZE (harningt-luaevent-v0.4.4_GH0.tar.gz) = 22249 Added: head/devel/lua51-libevent/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua51-libevent/pkg-descr Tue Feb 21 20:27:14 2017 (r434553) @@ -0,0 +1,5 @@ +This is a binding of libevent to Lua. It will serve as a drop-in +replacement for copas, and eventually support more features (async DNS, +HTTP, RPC...). + +WWW: https://github.com/harningt/luaevent