aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/prosody
diff options
context:
space:
mode:
authorlx <lx@FreeBSD.org>2014-06-10 05:37:00 +0800
committerlx <lx@FreeBSD.org>2014-06-10 05:37:00 +0800
commit31913903e9290905d1c0a80237d029fb381a4392 (patch)
tree03e935e079c0ef43c23b98fbf788f5b26f614fa8 /net-im/prosody
parent77c63823cdd82882011d291f4e7b9c173bdbbbf2 (diff)
downloadfreebsd-ports-gnome-31913903e9290905d1c0a80237d029fb381a4392.tar.gz
freebsd-ports-gnome-31913903e9290905d1c0a80237d029fb381a4392.tar.zst
freebsd-ports-gnome-31913903e9290905d1c0a80237d029fb381a4392.zip
Fix shebangfix.
Submitted by: Ross Penner
Diffstat (limited to 'net-im/prosody')
-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>