aboutsummaryrefslogtreecommitdiffstats
path: root/lang/luajit-openresty/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/luajit-openresty/Makefile')
-rw-r--r--lang/luajit-openresty/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/lang/luajit-openresty/Makefile b/lang/luajit-openresty/Makefile
index ba738b6c35d2..1357ca6783ba 100644
--- a/lang/luajit-openresty/Makefile
+++ b/lang/luajit-openresty/Makefile
@@ -2,7 +2,9 @@
# $FreeBSD$
PORTNAME= luajit
-DISTVERSION= 2.1.20190626
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.1-20190912
+PORTREVISION= 2
CATEGORIES= lang
PKGNAMESUFFIX= -openresty
@@ -23,9 +25,11 @@ MAKE_ARGS= CC=${CC}
USE_GITHUB= yes
GH_ACCOUNT= openresty
GH_PROJECT= luajit2
-GH_TAGNAME= v2.1-20190626
-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>
@@ -34,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