1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

lang/luajit-openresty: correctly link luajit binary

Reported by:	Vanilla Hsu <v@fatpipi.com>
This commit is contained in:
Martin Matuska 2019-09-16 09:52:19 +00:00
parent ad9e610bf9
commit bd94b00f50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512153

View File

@ -4,7 +4,7 @@
PORTNAME= luajit
DISTVERSIONPREFIX= v
DISTVERSION= 2.1-20190912
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= lang
PKGNAMESUFFIX= -openresty
@ -26,7 +26,10 @@ USE_GITHUB= yes
GH_ACCOUNT= openresty
GH_PROJECT= luajit2
PLIST_SUB+= VERSION=2.1.0-beta3 SOVERSION=2.1.0
LUAJIT_VERSION= 2.1.0-beta3
LUAJIT_SOVERSION= 2.1.0
PLIST_SUB+= VERSION=${LUAJIT_VERSION} SOVERSION=${LUAJIT_SOVERSION}
.include <bsd.port.options.mk>
@ -35,7 +38,7 @@ USE_GCC=yes
.endif
post-install:
${LN} -sf ${PORTNAME}-${DISTVERSION} \
${LN} -sf ${PORTNAME}-${LUAJIT_VERSION} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1