unbreak path to lua binary
This commit is contained in:
parent
6bb66a06ba
commit
082443441c
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.44 2012/07/10 15:22:45 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.45 2012/08/06 09:47:20 sthen Exp $
|
||||
|
||||
COMMENT= fetch YouTube and Google videos
|
||||
|
||||
PKGNAME= yt-19
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
CATEGORIES= net www
|
||||
DISTFILES=
|
||||
|
||||
@ -23,6 +23,7 @@ RUN_DEPENDS+= devel/luastdlib \
|
||||
graphics/ffmpeg \
|
||||
net/luasocket
|
||||
MODLUA_SA= Yes
|
||||
SUBST_VARS= MODLUA_BIN
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/yt.lua ${PREFIX}/bin/yt
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!${LOCALBASE}/bin/lua
|
||||
-- $OpenBSD: yt.lua,v 1.34 2011/08/18 08:27:33 jsg Exp $
|
||||
#!${MODLUA_BIN}
|
||||
-- $OpenBSD: yt.lua,v 1.35 2012/08/06 09:47:20 sthen Exp $
|
||||
-- Fetch videos from YouTube.com/Videos.Google.com, and convert to MPEG.
|
||||
-- Written by Pedro Martelletto and Martynas Venckus. Public domain.
|
||||
-- Example: lua yt.lua http://www.youtube.com/watch?v=c5uoo1Kl_uA
|
||||
|
Loading…
Reference in New Issue
Block a user