head	1.13;
access;
symbols
	RELEASE_8_3_0:1.2;
locks; strict;
comment	@# @;


1.13
date	2013.03.19.06.46.39;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2013.02.25.16.53.18;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2012.11.17.20.15.05;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2012.11.17.05.58.52;	author svnexp;	state Exp;
branches;
next	1.9;

1.9
date	2012.11.08.21.31.57;	author osa;	state Exp;
branches;
next	1.8;

1.8
date	2012.11.06.18.42.23;	author osa;	state Exp;
branches;
next	1.7;

1.7
date	2012.11.01.18.54.07;	author osa;	state Exp;
branches;
next	1.6;

1.6
date	2012.10.18.18.17.09;	author osa;	state Exp;
branches;
next	1.5;

1.5
date	2012.09.04.06.57.36;	author linimon;	state Exp;
branches;
next	1.4;

1.4
date	2012.05.11.10.32.29;	author osa;	state Exp;
branches;
next	1.3;

1.3
date	2012.04.02.09.51.02;	author osa;	state Exp;
branches;
next	1.2;

1.2
date	2012.02.09.16.36.20;	author osa;	state Exp;
branches;
next	1.1;

1.1
date	2012.01.19.18.09.08;	author osa;	state Exp;
branches;
next	;


desc
@@


1.13
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314543
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Sergey A. Osokin <osa@@FreeBSD.org>
# $FreeBSD: head/lang/luajit/Makefile 314543 2013-03-18 09:34:22Z osa $

PORTNAME=	luajit
DISTVERSION=	2.0.1
PORTREVISION=	1
CATEGORIES=	lang
MASTER_SITES=	http://luajit.org/download/
DISTNAME=	LuaJIT-${DISTVERSION}

PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	v${PORTVERSION}_hotfix1.patch
PATCH_DIST_STRIP=	-p1

MAINTAINER=	osa@@FreeBSD.org
COMMENT=	A Just-In-Time Compiler for Lua

WRKSRC=		${WRKDIR}/LuaJIT-${DISTVERSION}
USE_GMAKE=	yes
USE_LDCONFIG=	yes

PLIST_SUB+=	VERSION=${DISTVERSION}

.if !defined(NO_INSTALL_MANPAGES)
MAN1=		luajit.1
.endif

post-install:
	${LN} -sf ${PREFIX}/bin/${PORTNAME}-${DISTVERSION} \
		${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>
@


1.12
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312932
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/lang/luajit/Makefile 312932 2013-02-25 16:39:58Z osa $
d6 1
d11 4
@


1.11
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307407
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307407 | osa | 2012-11-14 10:20:24 +0000 (Wed, 14 Nov 2012) | 6 lines
## SVN ##
## SVN ## Finally update from 2.0.0-rc3 to 2.0.0 release.
## SVN ##
## SVN ## ChangeLog:	http://luajit.org/changes.html
## SVN ##
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 2
a2 6
# New ports collection makefile for:	luajit
# Date created:		08 Jan 2012
# Whom:			osa
#
# $FreeBSD: head/lang/luajit/Makefile 307407 2012-11-14 10:20:24Z osa $
#
d5 1
a5 1
DISTVERSION=	2.0.0
d17 2
@


1.10
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/lang/luajit/Makefile 307199 2012-11-08 21:31:57Z osa $
d9 1
a9 1
DISTVERSION=	2.0.0-rc3
d17 1
a17 1
WRKSRC=		${WRKDIR}/LuaJIT-${DISTVERSION:C/-rc3//}
d26 1
a26 1
	${LN} -sf ${PREFIX}/bin/${PORTNAME}-${DISTVERSION:C/-rc3//} \
@


1.9
log
@SVN rev 307199 on 2012-11-08 21:31:57Z by osa

Update from 2.0.0-rc2 to 2.0.0-rc3.

ChangeLog:	http://luajit.org/changes.html

Feature safe:	yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.8
log
@SVN rev 307086 on 2012-11-06 18:42:23Z by osa

Update from 2.0.0-rc1 to 2.0.0-rc2.

Feature safe:	yes.
@
text
@d9 1
a9 1
DISTVERSION=	2.0.0-rc2
d17 1
a17 1
WRKSRC=		${WRKDIR}/LuaJIT-${DISTVERSION:C/-rc2//}
d26 1
a26 1
	${LN} -sf ${PREFIX}/bin/${PORTNAME}-${DISTVERSION:C/-rc2//} \
@


1.7
log
@SVN rev 306817 on 2012-11-01 18:54:07Z by osa

Update from 2.0.0-beta11 to 2.0.0-rc1.

ChangeLog:	http://luajit.org/changes.html

Feature safe:	yes
@
text
@d9 1
a9 1
DISTVERSION=	2.0.0-rc1
d17 1
a17 1
WRKSRC=		${WRKDIR}/LuaJIT-${DISTVERSION:C/-rc1//}
d26 1
a26 1
	${LN} -sf ${PREFIX}/bin/${PORTNAME}-${DISTVERSION:C/-rc1//} \
@


1.6
log
@SVN rev 306079 on 2012-10-18 18:17:09Z by osa

Update from 2.0.0-beta10 to 2.0.0-beta11.
Remove needless patch.

ChangeLog:	http://luajit.org/changes.html

Feature safe:	yes
@
text
@d9 1
a9 1
DISTVERSION=	2.0.0-beta11
d17 1
a17 1
WRKSRC=		${WRKDIR}/LuaJIT-${DISTVERSION}
d26 1
a26 1
	${LN} -sf ${PREFIX}/bin/${PORTNAME}-${DISTVERSION} \
@


1.5
log
@SVN rev 303640 on 2012-09-04 06:57:36Z by linimon

Mark as broken on powerpc and sparc64 (and, presumably, ia64).

Hat:		portmgr
@
text
@d9 1
a9 1
DISTVERSION=	2.0.0-beta10
@


1.4
log
@Update from 2.0.0-beta9 to 2.0.0-beta10.
Remove needless patches.

ChangeLog:	http://luajit.org/changes.html
@
text
@d32 7
a38 1
.include <bsd.port.mk>
@


1.3
log
@Replace unwind.h definitions with luajit own.
Bump PORTREVISION.

Patch obtained from browsable mirror of luajit
http://repo.or.cz/w/luajit-2.0.git.

Feature safe:	yes
@
text
@d9 1
a9 2
DISTVERSION=	2.0.0-beta9
PORTREVISION=	3
a13 4
PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	beta9_hotfix1.patch
PATCH_DIST_STRIP=	-p1

a19 1
CFLAGS+=	"-I../"
@


1.2
log
@Apply hotfix from upstream.
Bump PORTREVISION.
@
text
@d10 1
a10 1
PORTREVISION=	2
a30 3
pre-build:
	${CP} ${FILESDIR}/unwind.h ${WRKSRC}

@


1.1
log
@Move luajit from devel to lang directory.

Notice from:	linimon
@
text
@d10 1
a10 1
PORTREVISION=	1
d15 4
@

