CATEGORIES+=www, use SUBST_CMD, bump. ok jasper

This commit is contained in:
sthen 2009-01-06 12:35:27 +00:00
parent ea8b753141
commit d098f627d9
2 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.22 2009/01/05 18:44:37 martynas Exp $
# $OpenBSD: Makefile,v 1.23 2009/01/06 12:35:27 sthen Exp $
COMMENT= customizable script to fetch youtube videos
PKGNAME= yt-9p1
CATEGORIES= net
PKGNAME= yt-9p2
CATEGORIES= net www
DISTFILES=
# Public domain
@ -21,6 +21,6 @@ RUN_DEPENDS+= ::graphics/ffmpeg \
do-install:
${INSTALL_SCRIPT} ${FILESDIR}/yt.lua ${PREFIX}/bin/yt
@perl -pi -e "s,%%LOCALBASE%%,${LOCALBASE}," ${PREFIX}/bin/yt
@${SUBST_CMD} ${PREFIX}/bin/yt
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
#!/usr/local/bin/lua
-- $OpenBSD: yt.lua,v 1.16 2009/01/05 18:44:37 martynas Exp $
#!${LOCALBASE}/bin/lua
-- $OpenBSD: yt.lua,v 1.17 2009/01/06 12:35:27 sthen Exp $
-- Fetch videos from YouTube.com and convert them to MPEG.
-- Written by Pedro Martelletto in August 2006. Public domain.
-- Example: lua yt.lua http://www.youtube.com/watch?v=c5uoo1Kl_uA