Date: Thu, 8 Oct 2015 14:48:58 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398830 - head/devel/swig13 Message-ID: <201510081448.t98Emw3F083376@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> - -.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 <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510081448.t98Emw3F083376>