openbsd-ports/net/yt/Makefile
martynas 033a20ec17 youtube changed things; apparently it uses double-quotes for id.
recognize both ways (in case they change this again).
ok sthen@, jsg@
2011-03-08 20:11:43 +00:00

30 lines
591 B
Makefile

# $OpenBSD: Makefile,v 1.39 2011/03/08 20:11:43 martynas Exp $
COMMENT= fetch youtube and google videos
PKGNAME= yt-16
CATEGORIES= net www
DISTFILES=
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
# Public domain
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/lua
NO_CHECKSUM= Yes
NO_BUILD= Yes
NO_REGRESS= Yes
RUN_DEPENDS+= devel/luastdlib \
graphics/ffmpeg \
net/luasocket
do-install:
${INSTALL_SCRIPT} ${FILESDIR}/yt.lua ${PREFIX}/bin/yt
@${SUBST_CMD} ${PREFIX}/bin/yt
.include <bsd.port.mk>