summaryrefslogtreecommitdiff
path: root/lang/lua
diff options
context:
space:
mode:
authorPhilip Paeps <philip@FreeBSD.org>2006-06-18 12:41:44 +0000
committerPhilip Paeps <philip@FreeBSD.org>2006-06-18 12:41:44 +0000
commitdb065e30d0c2b9adcd9b039fa98fd052aa01ba51 (patch)
tree1f3c893b7a03e67474d169822d997a6d8fdb8b4c /lang/lua
parent- Update to 3.6. Changelog: http://simh.trailing-edge.com/changes36.html [1] (diff)
Make lua always respect ${LOCALBASE}.
PR: ports/98998 Submitted by: Dmitry Marakasov <amdmi3 -at- mail.ru> Approved by: Richard Kiss <him -at- richardkiss.com> (maintainer)
Notes
Notes: svn path=/head/; revision=165684
Diffstat (limited to 'lang/lua')
-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}