Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2002 14:29:06 +0100 (BST)
From:      Dominic Mitchell <dom@happygiraffe.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41160: new port: audio/p5-libvorbis-perl
Message-ID:  <20020730132906.7D36D5D6A@cathbad.happygiraffe.net>

next in thread | raw e-mail | index | archive | help

>Number:         41160
>Category:       ports
>Synopsis:       new port: audio/p5-libvorbis-perl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 30 06:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Mitchell
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
The HappyGiraffe Institute for Happy Giraffes
>Environment:
System: FreeBSD cathbad.happygiraffe.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Jul 30 12:22:35 BST 2002 root@cathbad.happygiraffe.net:/usr/obj/usr/src/sys/CATHBAD i386

	perl 5.6.1
	libvorbis 1.0,3
>Description:
	This is a new port of a perl module that's need for Apache::MP3
	to play .ogg files.
>How-To-Repeat:
	n/a
>Fix:

	Here's the port.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-libvorbis-perl
#	p5-libvorbis-perl/Makefile
#	p5-libvorbis-perl/distinfo
#	p5-libvorbis-perl/pkg-comment
#	p5-libvorbis-perl/files
#	p5-libvorbis-perl/files/patch-Makefile.PL
#	p5-libvorbis-perl/pkg-descr
#	p5-libvorbis-perl/pkg-plist
#
echo c - p5-libvorbis-perl
mkdir -p p5-libvorbis-perl > /dev/null 2>&1
echo x - p5-libvorbis-perl/Makefile
sed 's/^X//' >p5-libvorbis-perl/Makefile << 'END-of-p5-libvorbis-perl/Makefile'
X# New ports collection makefile for:	p5-libvorbis-perl
X# Date created:		30 Jul 2002
X# Whom:			Dominic Mitchell <dom@happygiraffe.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libvorbis-perl
XPORTVERSION=	0.04
XCATEGORIES=	audio
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=../by-authors/id/F/FO/FOOF
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	dom@happygiraffe.net
X
XLIB_DEPENDS=	vorbis.2:${PORTSDIR}/audio/libvorbis
X
XUSE_REINPLACE=	yes
X
XPERL_CONFIGURE=	yes
X
XMAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
XMAN1=		pogg.1
XMAN3=		Ogg::Vorbis.3
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/Makefile.PL
X
X.include <bsd.port.mk>
END-of-p5-libvorbis-perl/Makefile
echo x - p5-libvorbis-perl/distinfo
sed 's/^X//' >p5-libvorbis-perl/distinfo << 'END-of-p5-libvorbis-perl/distinfo'
XMD5 (libvorbis-perl-0.04.tar.gz) = 764e0ad14ce0a1ea9f7ae1e05f71ffed
END-of-p5-libvorbis-perl/distinfo
echo x - p5-libvorbis-perl/pkg-comment
sed 's/^X//' >p5-libvorbis-perl/pkg-comment << 'END-of-p5-libvorbis-perl/pkg-comment'
XPerl extension for Ogg Vorbis streams
END-of-p5-libvorbis-perl/pkg-comment
echo c - p5-libvorbis-perl/files
mkdir -p p5-libvorbis-perl/files > /dev/null 2>&1
echo x - p5-libvorbis-perl/files/patch-Makefile.PL
sed 's/^X//' >p5-libvorbis-perl/files/patch-Makefile.PL << 'END-of-p5-libvorbis-perl/files/patch-Makefile.PL'
X--- Makefile.PL.orig	Tue Jul 30 13:17:09 2002
X+++ Makefile.PL	Tue Jul 30 13:17:41 2002
X@@ -4,8 +4,8 @@
X WriteMakefile(
X     'NAME'	=> 'Ogg::Vorbis',
X     'VERSION_FROM' => 'Vorbis.pm',
X-    'LIBS'	=> ['-logg -lvorbis -lvorbisfile'],
X+    'LIBS'	=> ['-L%%PREFIX%%/lib -logg -lvorbis -lvorbisfile'],
X     'DEFINE'	=> '',
X-    'INC'	=> '-I/usr/local/include/vorbis',
X+    'INC'	=> '-I%%PREFIX%%/include',
X     'EXE_FILES' => ['pogg'],
X );
END-of-p5-libvorbis-perl/files/patch-Makefile.PL
echo x - p5-libvorbis-perl/pkg-descr
sed 's/^X//' >p5-libvorbis-perl/pkg-descr << 'END-of-p5-libvorbis-perl/pkg-descr'
XThis is an object-oriented interface to the Ogg Vorbis
Xlibvorbisfile convenience library.
X
XWWW: http://synthcode.com/code/vorbis
END-of-p5-libvorbis-perl/pkg-descr
echo x - p5-libvorbis-perl/pkg-plist
sed 's/^X//' >p5-libvorbis-perl/pkg-plist << 'END-of-p5-libvorbis-perl/pkg-plist'
Xbin/pogg
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Ogg/Vorbis.pm
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Ogg/Vorbis/Vorbis.so
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Ogg/Vorbis/Vorbis.bs
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Ogg
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Ogg/Vorbis
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Ogg
END-of-p5-libvorbis-perl/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020730132906.7D36D5D6A>