2009-10-09 11:59:47 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2009/10/09 15:59:47 naddy Exp $
|
2008-10-26 15:30:51 -04:00
|
|
|
|
2009-06-18 12:06:13 -04:00
|
|
|
COMMENT = command-line program to download videos from YouTube.com
|
2008-10-26 15:30:51 -04:00
|
|
|
|
2009-10-09 11:59:47 -04:00
|
|
|
V = 2009.09.13
|
2009-06-18 12:06:13 -04:00
|
|
|
DISTNAME = ${V}
|
|
|
|
WRKDIST = ${WRKDIR}/youtube-dl
|
|
|
|
DIST_SUBDIR = youtube-dl
|
|
|
|
PKGNAME = youtube-dl-${V}
|
|
|
|
CATEGORIES = www
|
2008-10-26 15:30:51 -04:00
|
|
|
|
2009-06-18 12:06:13 -04:00
|
|
|
HOMEPAGE = http://bitbucket.org/rg3/youtube-dl/
|
2008-10-26 15:30:51 -04:00
|
|
|
|
2009-06-18 12:06:13 -04:00
|
|
|
MAINTAINER = Paul Irofti <pirofti@openbsd.org>
|
2008-10-26 15:30:51 -04:00
|
|
|
|
|
|
|
# Public Domain
|
2009-06-18 12:06:13 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2008-10-26 15:30:51 -04:00
|
|
|
|
2009-06-18 12:06:13 -04:00
|
|
|
MASTER_SITES = http://bitbucket.org/rg3/youtube-dl/get/
|
2008-10-26 15:30:51 -04:00
|
|
|
|
2009-06-18 12:06:13 -04:00
|
|
|
MODULES = lang/python
|
2008-10-26 15:30:51 -04:00
|
|
|
|
2009-06-18 12:06:13 -04:00
|
|
|
NO_REGRESS = Yes
|
2008-10-26 15:30:51 -04:00
|
|
|
|
2009-06-18 12:06:13 -04:00
|
|
|
PKG_ARCH = *
|
2008-10-26 15:30:51 -04:00
|
|
|
|
|
|
|
do-build:
|
2009-06-18 12:06:13 -04:00
|
|
|
sed '1s,.*,#!${MODPY_BIN},' ${WRKBUILD}/youtube-dl \
|
|
|
|
>${WRKBUILD}/youtube-dl.new
|
|
|
|
mv ${WRKBUILD}/youtube-dl.new ${WRKBUILD}/youtube-dl
|
2008-10-26 15:30:51 -04:00
|
|
|
|
|
|
|
do-install:
|
2009-06-18 12:06:13 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/youtube-dl ${PREFIX}/bin
|
2008-10-26 15:30:51 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|