1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/lang/luajit/Makefile
2015-06-01 23:30:17 +00:00

30 lines
699 B
Makefile

# Created by: Sergey A. Osokin <osa@FreeBSD.org>
# $FreeBSD$
PORTNAME= luajit
DISTVERSION= 2.0.4
CATEGORIES= lang
MASTER_SITES= http://luajit.org/download/
DISTNAME= LuaJIT-${DISTVERSION}
MAINTAINER= osa@FreeBSD.org
COMMENT= Just-In-Time Compiler for Lua
WRKSRC= ${WRKDIR}/LuaJIT-${DISTVERSION}
USES= gmake
USE_LDCONFIG= yes
PLIST_SUB+= VERSION=${DISTVERSION}
ONLY_FOR_ARCHS= i386 amd64 armv6
ONLY_FOR_ARCHS_REASON= Requires newer gcc/clang to compile.
.include <bsd.port.pre.mk>
post-install:
${LN} -sf ${PREFIX}/bin/${PORTNAME}-${DISTVERSION} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.post.mk>