openbsd-ports/net/yt/Makefile
2008-09-14 12:28:10 +00:00

27 lines
555 B
Makefile

# $OpenBSD: Makefile,v 1.20 2008/09/14 12:28:10 jsg Exp $
COMMENT= customizable script to fetch youtube videos
PKGNAME= yt-9
CATEGORIES= net
DISTFILES=
# 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+= ::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>