From owner-svn-ports-head@freebsd.org Thu Oct 8 14:48:59 2015 Return-Path: Delivered-To: svn-ports-head@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 577EA9D18E9; Thu, 8 Oct 2015 14:48:59 +0000 (UTC) (envelope-from pawel@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 2363CE86; Thu, 8 Oct 2015 14:48:59 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t98EmwQ2083377; Thu, 8 Oct 2015 14:48:58 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t98Emw3F083376; Thu, 8 Oct 2015 14:48:58 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201510081448.t98Emw3F083376@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Thu, 8 Oct 2015 14:48:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398830 - head/devel/swig13 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.20 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: Thu, 08 Oct 2015 14:48:59 -0000 Author: pawel Date: Thu Oct 8 14:48:57 2015 New Revision: 398830 URL: https://svnweb.freebsd.org/changeset/ports/398830 Log: - Convert to USES=autoreconf [1] - Use options helpers for LUA option PR: 202809 [1] Submitted by: takefu@airport.fm [1] Modified: head/devel/swig13/Makefile Modified: head/devel/swig13/Makefile ============================================================================== --- head/devel/swig13/Makefile Thu Oct 8 14:21:10 2015 (r398829) +++ head/devel/swig13/Makefile Thu Oct 8 14:48:57 2015 (r398830) @@ -11,7 +11,7 @@ PKGNAMESUFFIX= 13 MAINTAINER= ports@FreeBSD.org COMMENT= Simplified Wrapper and Interface Generator -USE_AUTOTOOLS= autoconf:env +USES= autoreconf:build GNU_CONFIGURE= yes VER= ${PORTVERSION:R} @@ -33,18 +33,13 @@ PORTDATA= * OPTIONS_DEFINE= LUA DOCS EXAMPLES OPTIONS_DEFAULT=DOCS EXAMPLES -LUA_DESC= Enable Lua support -.include - -.if ${PORT_OPTIONS:MLUA} -USES+= lua:51 -CONFIGURE_ARGS+=--with-lua=${LUA_BINDIR}/lua \ - --with-luaincl=${LUA_INCDIR} \ - --with-lualib=${LUA_LIBDIR} -.else -CONFIGURE_ARGS+=--without-lua -.endif +LUA_DESC= Lua support +LUA_USES= lua:51 +LUA_CONFIGURE_ON= --with-lua=${LUA_BINDIR}/lua \ + --with-luaincl=${LUA_INCDIR} \ + --with-lualib=${LUA_LIBDIR} +LUA_CONFIGURE_OFF= --without-lua OCTAVE_VER_CMD= ${LOCALBASE}/bin/octave-config -v 2>/dev/null || ${TRUE} @@ -68,4 +63,4 @@ post-install: cd ${WRKSRC}/Doc && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DOCSDIR}/${PORTVERSION} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* -.include +.include