aboutsummaryrefslogtreecommitdiff
path: root/net/luasocket
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2020-04-14 15:49:36 +0000
committerMathieu Arnold <mat@FreeBSD.org>2020-04-14 15:49:36 +0000
commitbeb1c1fe19992999ef068d0dcb07c0d02f4aea71 (patch)
tree464f76d8fe2b9fd7499e26491ee739bfe0a5444e /net/luasocket
parent496124accdd4d4221bb883770cd6fe27184bfc96 (diff)
downloadports-beb1c1fe19992999ef068d0dcb07c0d02f4aea71.tar.gz
ports-beb1c1fe19992999ef068d0dcb07c0d02f4aea71.zip
Notes
Diffstat (limited to 'net/luasocket')
-rw-r--r--net/luasocket/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/luasocket/Makefile b/net/luasocket/Makefile
index 8c24a0c54a27..9a6e3a9ebc0c 100644
--- a/net/luasocket/Makefile
+++ b/net/luasocket/Makefile
@@ -4,7 +4,7 @@
PORTNAME= luasocket
DISTVERSIONPREFIX= v
DISTVERSION= 3.0-rc1
-PORTREVISION= 4
+PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= net
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
@@ -19,7 +19,7 @@ USE_GITHUB= yes
GH_ACCOUNT= diegonehab
MAKE_ARGS= LUAV=${LUA_VER}
-USES?= gmake lua pkgconfig
+USES= gmake lua:module pkgconfig
INSTALL_TARGET= install-unix
CFLAGS+= `pkgconf --cflags lua-${LUA_VER}` \
@@ -28,6 +28,8 @@ LDFLAGS+= -shared `pkgconf --libs lua-${LUA_VER}`
OPTIONS_DEFINE= DOCS
+DOCSDIR= ${LUA_DOCSDIR}
+
post-extract:
@${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
@${MV} ${WRKSRC}/src/makefile ${WRKSRC}/src/Makefile