From owner-svn-ports-all@FreeBSD.ORG Wed Oct 1 20:06:57 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4D8E38DC; Wed, 1 Oct 2014 20:06:57 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 396C8E8E; Wed, 1 Oct 2014 20:06:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s91K6vWl080858; Wed, 1 Oct 2014 20:06:57 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s91K6vik080857; Wed, 1 Oct 2014 20:06:57 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201410012006.s91K6vik080857@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Wed, 1 Oct 2014 20:06:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r369750 - head/multimedia/libquvi 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.18-1 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: Wed, 01 Oct 2014 20:06:57 -0000 Author: sunpoet Date: Wed Oct 1 20:06:56 2014 New Revision: 369750 URL: https://svnweb.freebsd.org/changeset/ports/369750 QAT: https://qat.redports.org/buildarchive/r369750/ Log: - Add LUAJIT option PR: ports/193821 Submitted by: Jan Beich Modified: head/multimedia/libquvi/Makefile Modified: head/multimedia/libquvi/Makefile ============================================================================== --- head/multimedia/libquvi/Makefile Wed Oct 1 20:06:51 2014 (r369749) +++ head/multimedia/libquvi/Makefile Wed Oct 1 20:06:56 2014 (r369750) @@ -18,20 +18,30 @@ BUILD_DEPENDS= libquvi-scripts>=0.4.0:${ LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl RUN_DEPENDS:= ${BUILD_DEPENDS} -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS LUAJIT +LUAJIT_DESC= Use LuaJIT instead of Lua PORTSCOUT= limit:0.4.[0-9]* CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USES= iconv libtool lua pathfix pkgconfig tar:xz +USES= iconv libtool pathfix pkgconfig tar:xz USE_LDCONFIG= yes PROJECTHOST= quvi +LUAJIT_LIB_DEPENDS= libluajit-5.1.so:${PORTSDIR}/lang/luajit +LUAJIT_USES_OFF= lua + +.include + post-patch: - @${REINPLACE_CMD} 's/lua-5.1/lua-${LUA_VER}/g' ${WRKSRC}/configure +.if ${PORT_OPTIONS:MLUAJIT} + @${REINPLACE_CMD} 's|lua >= 5.1|luajit|g' ${WRKSRC}/configure +.else + @${REINPLACE_CMD} 's|lua-5.1|lua-${LUA_VER}|g' ${WRKSRC}/configure +.endif post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR}/