2012-01-11 16:53:18 +00:00
|
|
|
# New ports collection makefile for: luajit
|
|
|
|
# Date created: 08 Jan 2012
|
|
|
|
# Whom: osa
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= luajit
|
2012-11-08 21:31:57 +00:00
|
|
|
DISTVERSION= 2.0.0-rc3
|
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-08 21:31:57 +00:00
|
|
|
WRKSRC= ${WRKDIR}/LuaJIT-${DISTVERSION:C/-rc3//}
|
2012-01-11 16:53:18 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
|
|
MAN1= luajit.1
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2012-11-08 21:31:57 +00:00
|
|
|
${LN} -sf ${PREFIX}/bin/${PORTNAME}-${DISTVERSION:C/-rc3//} \
|
2012-01-11 16:53:18 +00:00
|
|
|
${PREFIX}/bin/${PORTNAME}
|
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${MAN1PREFIX}/man/man1
|
|
|
|
.endif
|
|
|
|
|
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>
|