diff --git a/www/p5-WWW-YouTube-Download/Makefile b/www/p5-WWW-YouTube-Download/Makefile new file mode 100644 index 00000000000..b3f481c3ec5 --- /dev/null +++ b/www/p5-WWW-YouTube-Download/Makefile @@ -0,0 +1,32 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2011/04/25 13:04:17 todd Exp $ + +COMMENT = simple YouTube interface for downloading videos + +MODULES = cpan +DISTNAME = WWW-YouTube-Download-0.25 +CATEGORIES = www + +MAINTAINER = Mikolaj Kucharski + +# Perl +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM =Yes +PERMIT_DISTFILES_FTP = Yes + +CPAN_AUTHOR = XAICRON +CONFIGURE_STYLE = modinst + +MODCPAN_EXAMPLES = Yes +MODCPAN_EXAMPLES_DIST = eg + +RUN_DEPENDS = www/p5-libwww \ + www/p5-URI \ + converters/p5-JSON \ + www/p5-HTML-Parser + +post-extract: + find -d "${WRKDIST}" \ + -type d -name PaxHeader -exec rm -rf "{}" \; + +.include diff --git a/www/p5-WWW-YouTube-Download/distinfo b/www/p5-WWW-YouTube-Download/distinfo new file mode 100644 index 00000000000..810baebecf3 --- /dev/null +++ b/www/p5-WWW-YouTube-Download/distinfo @@ -0,0 +1,5 @@ +MD5 (WWW-YouTube-Download-0.25.tar.gz) = UgUqbB7HlELHbxzITA++dA== +RMD160 (WWW-YouTube-Download-0.25.tar.gz) = zHboIL1aGQtTVt10IJAfBCVVK2E= +SHA1 (WWW-YouTube-Download-0.25.tar.gz) = fRtFJ0SdCxioddHqtpHMgJgKdj0= +SHA256 (WWW-YouTube-Download-0.25.tar.gz) = yKuFWa15eRJ130X838Tu8EnwSbH4A2KIhKGKAWNUuuQ= +SIZE (WWW-YouTube-Download-0.25.tar.gz) = 32739 diff --git a/www/p5-WWW-YouTube-Download/patches/patch-Makefile_PL b/www/p5-WWW-YouTube-Download/patches/patch-Makefile_PL new file mode 100644 index 00000000000..30808100d25 --- /dev/null +++ b/www/p5-WWW-YouTube-Download/patches/patch-Makefile_PL @@ -0,0 +1,15 @@ + +Module::Install::AuthorTests is missing in ports tree, +but not really essential. + +$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2011/04/25 13:04:17 todd Exp $ +--- Makefile.PL.orig Tue Jan 4 15:17:14 2011 ++++ Makefile.PL Mon Jan 10 22:22:02 2011 +@@ -8,7 +8,6 @@ requires 'JSON'; + requires 'HTML::Entities'; + + tests 't/*.t t/*/*.t'; +-author_tests 'xt'; + + test_requires 'Test::More', '0.96'; + auto_include; diff --git a/www/p5-WWW-YouTube-Download/pkg/DESCR b/www/p5-WWW-YouTube-Download/pkg/DESCR new file mode 100644 index 00000000000..6fc67ad77d4 --- /dev/null +++ b/www/p5-WWW-YouTube-Download/pkg/DESCR @@ -0,0 +1 @@ +WWW::YouTube::Download lets you download video files from YouTube. diff --git a/www/p5-WWW-YouTube-Download/pkg/PLIST b/www/p5-WWW-YouTube-Download/pkg/PLIST new file mode 100644 index 00000000000..f48932f1fb0 --- /dev/null +++ b/www/p5-WWW-YouTube-Download/pkg/PLIST @@ -0,0 +1,7 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2011/04/25 13:04:17 todd Exp $ +${P5SITE}/WWW/YouTube/ +${P5SITE}/WWW/YouTube/Download.pm +@man man/man3p/WWW::YouTube::Download.3p +share/examples/p5-WWW-YouTube-Download/ +share/examples/p5-WWW-YouTube-Download/cb.pl +share/examples/p5-WWW-YouTube-Download/parallel.pl