Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2014 08:45:06 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339330 - head/www/faup
Message-ID:  <201401100845.s0A8j6rj004468@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Jan 10 08:45:06 2014
New Revision: 339330
URL: http://svnweb.freebsd.org/changeset/ports/339330

Log:
  Port to lua 5.2

Modified:
  head/www/faup/Makefile

Modified: head/www/faup/Makefile
==============================================================================
--- head/www/faup/Makefile	Fri Jan 10 08:39:12 2014	(r339329)
+++ head/www/faup/Makefile	Fri Jan 10 08:45:06 2014	(r339330)
@@ -15,20 +15,19 @@ LICENSE_NAME=	Do What The [expletive] Yo
 LICENSE_FILE=	${WRKSRC}/LICENSE
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-USES=		cmake:outsource
+USES=		cmake:outsource lua
 USE_LDCONFIG=	yes
-USE_LUA=	5.1
 
 PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
+post-patch:
+	@${REINPLACE_CMD} -e "s/5.1/${LUA_VER}/g" -e \
+		"s/51/${LUA_VER_STR}/g" ${WRKSRC}/cmake/FindLua51.cmake
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401100845.s0A8j6rj004468>