aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/prosody/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net-im/prosody/Makefile b/net-im/prosody/Makefile
index be4712e07a8b..cfd4a67cc7b8 100644
--- a/net-im/prosody/Makefile
+++ b/net-im/prosody/Makefile
@@ -3,6 +3,7 @@
PORTNAME= prosody
PORTVERSION= 0.9.4
+PORTREVISION= 1
CATEGORIES= net-im
MASTER_SITES= http://prosody.im/downloads/source/ \
http://redundancy.redundancy.org/mirror/
@@ -31,7 +32,11 @@ LUAJIT_LIB_DEPENDS= libluajit-5.1.so:${PORTSDIR}/lang/luajit
.include <bsd.port.options.mk>
-USES= gmake lua:51
+USES= gmake lua:51 shebangfix
+SHEBANG_LANG= lua
+SHEBANG_FILES= prosody prosodyctl
+lua_OLD_CMD= ${SETENV} lua
+lua_CMD= ${LOCALBASE}/bin/${LUA_CMD}
LUA_PREMK= yes
.include <bsd.port.pre.mk>