openbsd-ports/net/yt/Makefile
martynas 8575e47640 make yt videos that aren't on the primary mirror work again.
googlevideo server expects the "t" parameter to know which mirror
to forward to;  ok jolan@, pedro@
2008-02-01 19:14:59 +00:00

26 lines
542 B
Makefile

# $OpenBSD: Makefile,v 1.14 2008/02/01 19:14:59 martynas Exp $
COMMENT= customizable script to fetch youtube videos
PKGNAME= yt-8p3
CATEGORIES= net
DISTFILES=
# Public domain
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
NO_CHECKSUM= Yes
NO_BUILD= Yes
NO_REGRESS= Yes
RUN_DEPENDS= ::graphics/ffmpeg \
::net/luasocket
do-install:
${INSTALL_SCRIPT} ${FILESDIR}/yt.lua ${PREFIX}/bin/yt
@perl -pi -e "s,%%LOCALBASE%%,${LOCALBASE}," ${PREFIX}/bin/yt
.include <bsd.port.mk>