openbsd-ports/www/youtube-dl/Makefile
dcoppa 10cbb45d9c Update to youtube-dl 2010.12.09.
Similar diff from ckuethe@
Ok sthen@
2010-12-12 18:51:23 +00:00

40 lines
927 B
Makefile

# $OpenBSD: Makefile,v 1.19 2010/12/12 18:51:23 dcoppa Exp $
COMMENT = command-line program to download videos from YouTube.com
V = 2010.12.09
DISTNAME = rg3-youtube-dl-${V}-0-gf83ae78
PKGNAME = youtube-dl-${V}
WRKDIST = ${WRKDIR}/rg3-youtube-dl-f83ae78
DIST_SUBDIR = youtube-dl
CATEGORIES = www
HOMEPAGE = http://rg3.github.com/youtube-dl/
MAINTAINER = Paul Irofti <pirofti@openbsd.org>
# Public Domain
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://spacehopper.org/mirrors/
#MASTER_SITES = http://bitbucket.org/rg3/youtube-dl/get/
MODULES = lang/python
NO_REGRESS = Yes
PKG_ARCH = *
do-build:
sed '1s,.*,#!${MODPY_BIN},' ${WRKBUILD}/youtube-dl \
>${WRKBUILD}/youtube-dl.new
mv ${WRKBUILD}/youtube-dl.new ${WRKBUILD}/youtube-dl
do-install:
${INSTALL_SCRIPT} ${WRKBUILD}/youtube-dl ${PREFIX}/bin
.include <bsd.port.mk>