1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/lang/luajit/Makefile
Sean Bruno c9dea4d235 This time, don't delete the requisite includes for the post-install bits.
Reimplement ONLY_FOR_ARCHS such that we know that this port requires newer
compiler features (which aren't very clear from the port itself).  Probably
need to validate this on powerpc as we have clang available and gcc ports.

PR:		197132
2015-05-02 18:43:35 +00:00

31 lines
715 B
Makefile

# Created by: Sergey A. Osokin <osa@FreeBSD.org>
# $FreeBSD$
PORTNAME= luajit
DISTVERSION= 2.0.3
PORTREVISION= 1
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>