aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-10 16:45:06 +0800
committerbapt <bapt@FreeBSD.org>2014-01-10 16:45:06 +0800
commitc0722f176e532a0eef51d71c4153d327eb2eb75e (patch)
tree28acaf176c065e85c358291d3656e84581c98aab /www
parent77846a3354eb77edaef75198ff51a7a4642735ef (diff)
downloadfreebsd-ports-gnome-c0722f176e532a0eef51d71c4153d327eb2eb75e.tar.gz
freebsd-ports-gnome-c0722f176e532a0eef51d71c4153d327eb2eb75e.tar.zst
freebsd-ports-gnome-c0722f176e532a0eef51d71c4153d327eb2eb75e.zip
Port to lua 5.2
Diffstat (limited to 'www')
-rw-r--r--www/faup/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/www/faup/Makefile b/www/faup/Makefile
index 4504b778810e..4f15a7c07756 100644
--- a/www/faup/Makefile
+++ b/www/faup/Makefile
@@ -15,20 +15,19 @@ LICENSE_NAME= Do What The [expletive] You Want To Public License, Version 2
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>