diff options
author | philip <philip@FreeBSD.org> | 2006-06-18 12:41:44 +0000 |
---|---|---|
committer | philip <philip@FreeBSD.org> | 2006-06-18 12:41:44 +0000 |
commit | f2c79135a8e0e4ecada20059f69b33f1cb21f6b5 (patch) | |
tree | f646ef0e534e6d5fd27a930e8010cf4949e39347 /lang/lua | |
parent | 802ea50ecce1d8916e4d0b6950f19e29ae50a9a6 (diff) | |
download | FreeBSD-ports-f2c79135a8e0e4ecada20059f69b33f1cb21f6b5.zip FreeBSD-ports-f2c79135a8e0e4ecada20059f69b33f1cb21f6b5.tar.gz |
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)
Diffstat (limited to 'lang/lua')
-rw-r--r-- | lang/lua/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile index 9801b64..e0eb993 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} |