blob: 25e961ec54ae3a04ab0f88026a616692237abe1c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# New ports collection makefile for: luajit
# Date created: 08 Jan 2012
# Whom: osa
#
# $FreeBSD$
#
PORTNAME= luajit
DISTVERSION= 2.0.0-rc1
CATEGORIES= lang
MASTER_SITES= http://luajit.org/download/
DISTNAME= LuaJIT-${DISTVERSION}
MAINTAINER= osa@FreeBSD.org
COMMENT= A Just-In-Time Compiler for Lua
WRKSRC= ${WRKDIR}/LuaJIT-${DISTVERSION:C/-rc1//}
USE_GMAKE= yes
USE_LDCONFIG= yes
.if !defined(NO_INSTALL_MANPAGES)
MAN1= luajit.1
.endif
post-install:
${LN} -sf ${PREFIX}/bin/${PORTNAME}-${DISTVERSION:C/-rc1//} \
${PREFIX}/bin/${PORTNAME}
.if !defined(NO_INSTALL_MANPAGES)
@${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${MAN1PREFIX}/man/man1
.endif
.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>
|