diff --git a/audio/p5-libvorbis/Makefile b/audio/p5-libvorbis/Makefile new file mode 100644 index 00000000000..01486c1ebab --- /dev/null +++ b/audio/p5-libvorbis/Makefile @@ -0,0 +1,31 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2002/02/04 15:00:29 naddy Exp $ + +COMMENT= "Perl extension for Ogg Vorbis streams" + +V= 0.03-1 +DISTNAME= libvorbis-perl_${V} +PKGNAME= p5-libvorbis-${V:S/-/./} +CATEGORIES= audio perl5 +NEED_VERSION= 1.504 + +MAINTAINER= Nikolay Sturm + +# GPL or Artistic +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../by-authors/id/F/FO/FOOF/ + +LIB_DEPENDS= vorbis.1,vorbisenc.1,vorbisfile.2::audio/libvorbis + +CONFIGURE_STYLE= perl + +WRKDIST= ${WRKDIR}/libvorbis-perl-${V:S/-1//} + +post-patch: + @perl -i -p -e 's#/usr/local#${LOCALBASE}#' ${WRKDIST}/Makefile.PL + +.include diff --git a/audio/p5-libvorbis/distinfo b/audio/p5-libvorbis/distinfo new file mode 100644 index 00000000000..acbabe2e223 --- /dev/null +++ b/audio/p5-libvorbis/distinfo @@ -0,0 +1,3 @@ +MD5 (libvorbis-perl_0.03-1.tar.gz) = 7c49778ec80647b42aa6162bc8f0db22 +RMD160 (libvorbis-perl_0.03-1.tar.gz) = fdda700a82105cc59dee068c7b46be2ac4725060 +SHA1 (libvorbis-perl_0.03-1.tar.gz) = c38d34a6928ad835fe414bba18418b58ea8e163a diff --git a/audio/p5-libvorbis/patches/patch-Makefile_PL b/audio/p5-libvorbis/patches/patch-Makefile_PL new file mode 100644 index 00000000000..c98a82f8e1a --- /dev/null +++ b/audio/p5-libvorbis/patches/patch-Makefile_PL @@ -0,0 +1,12 @@ +$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2002/02/04 15:00:29 naddy Exp $ +--- Makefile.PL.orig Sun Feb 3 13:13:35 2002 ++++ Makefile.PL Sun Feb 3 13:13:49 2002 +@@ -4,7 +4,7 @@ use ExtUtils::MakeMaker; + WriteMakefile( + 'NAME' => 'Ogg::Vorbis', + 'VERSION_FROM' => 'Vorbis.pm', +- 'LIBS' => ['-logg -lvorbis -lvorbisfile'], ++ 'LIBS' => ['-L/usr/local/lib -logg -lvorbis -lvorbisfile'], + 'DEFINE' => '', + 'INC' => '-I/usr/local/include/vorbis', + 'EXE_FILES' => ['pogg'], diff --git a/audio/p5-libvorbis/pkg/DESCR b/audio/p5-libvorbis/pkg/DESCR new file mode 100644 index 00000000000..1f41c609192 --- /dev/null +++ b/audio/p5-libvorbis/pkg/DESCR @@ -0,0 +1,2 @@ +This is an object-oriented interface to the Ogg Vorbis libvorbisfile +convenience library. diff --git a/audio/p5-libvorbis/pkg/PLIST b/audio/p5-libvorbis/pkg/PLIST new file mode 100644 index 00000000000..0eb7b2def16 --- /dev/null +++ b/audio/p5-libvorbis/pkg/PLIST @@ -0,0 +1,9 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2002/02/04 15:00:29 naddy Exp $ +libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Ogg/Vorbis.pm +libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Ogg/Vorbis/Vorbis.bs +libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Ogg/Vorbis/Vorbis.so +libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Ogg/Vorbis/autosplit.ix +man/man3/Ogg::Vorbis.3p +@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Ogg/Vorbis +@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Ogg +@dirrm libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Ogg