PORTNAME=	libvorbis
PORTVERSION=	0.05
PORTREVISION=	6
CATEGORIES=	audio perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:FOOF
PKGNAMEPREFIX=	p5-
DISTNAME=	${PORTNAME}-perl-${PORTVERSION}

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Perl extension for Ogg Vorbis streams
WWW=		https://synthcode.com/code/vorbis

LIB_DEPENDS=	libvorbis.so:audio/libvorbis

USES=		perl5
USE_PERL5=	configure

post-extract:
	@${RM} -r ${WRKSRC}/blib ${WRKSRC}/pm_to_blib

post-patch:
	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>
