mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
c9dea4d235
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
31 lines
715 B
Makefile
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>
|