aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/lua/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile
index 9801b647d43b..e0eb993a4a0d 100644
--- a/lang/lua/Makefile
+++ b/lang/lua/Makefile
@@ -7,6 +7,7 @@
PORTNAME= lua
PORTVERSION= 5.1
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://www.lua.org/ftp/ \
ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \
@@ -24,6 +25,9 @@ MAKE_ARGS= bsd
CONFLICTS= lua-4* lua-5.0*
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}