2013-02-25 16:39:58 +00:00
|
|
|
# Created by: Sergey A. Osokin <osa@FreeBSD.org>
|
2012-01-11 16:53:18 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= luajit
|
2013-07-10 17:57:38 +00:00
|
|
|
DISTVERSION= 2.0.2
|
2012-01-19 18:09:09 +00:00
|
|
|
CATEGORIES= lang
|
2012-01-11 16:53:18 +00:00
|
|
|
MASTER_SITES= http://luajit.org/download/
|
|
|
|
DISTNAME= LuaJIT-${DISTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= osa@FreeBSD.org
|
|
|
|
COMMENT= A Just-In-Time Compiler for Lua
|
|
|
|
|
2012-11-14 10:20:24 +00:00
|
|
|
WRKSRC= ${WRKDIR}/LuaJIT-${DISTVERSION}
|
2014-02-01 17:10:46 +00:00
|
|
|
USES= gmake
|
2012-01-11 16:53:18 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2013-02-25 16:39:58 +00:00
|
|
|
PLIST_SUB+= VERSION=${DISTVERSION}
|
|
|
|
|
2012-01-11 16:53:18 +00:00
|
|
|
post-install:
|
2012-11-14 10:20:24 +00:00
|
|
|
${LN} -sf ${PREFIX}/bin/${PORTNAME}-${DISTVERSION} \
|
2014-02-01 17:10:46 +00:00
|
|
|
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
2012-01-11 16:53:18 +00:00
|
|
|
|
2012-09-04 06:57:36 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not compile on ia64, powerpc, or sparc64
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|