- Stage support
This commit is contained in:
parent
9a4528c0c1
commit
6a8989b46c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342193
2 changed files with 4 additions and 14 deletions
|
@ -7,30 +7,19 @@ 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
|
||||
USES= gmake
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
PLIST_SUB+= VERSION=${DISTVERSION}
|
||||
|
||||
.if !defined(NO_INSTALL_MANPAGES)
|
||||
MAN1= luajit.1
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
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
|
||||
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
@${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ share/luajit-%%VERSION%%/jit/dis_ppc.lua
|
|||
share/luajit-%%VERSION%%/jit/dump.lua
|
||||
share/luajit-%%VERSION%%/jit/v.lua
|
||||
share/luajit-%%VERSION%%/jit/vmdef.lua
|
||||
man/man1/luajit.1.gz
|
||||
@dirrm share/luajit-%%VERSION%%/jit
|
||||
@dirrm share/luajit-%%VERSION%%
|
||||
@dirrm include/luajit-2.0
|
||||
|
|
Loading…
Reference in a new issue