PORTNAME=	Compress-Raw-Zlib
PORTVERSION=	2.213
CATEGORIES=	archivers perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Low-Level Interface to zlib compression library
WWW=		https://metacpan.org/release/Compress-Raw-Zlib

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

TEST_DEPENDS=	p5-Test-CPAN-Meta>=0:devel/p5-Test-CPAN-Meta \
		p5-Test-Pod>=1:devel/p5-Test-Pod

USES=		perl5
USE_PERL5=	configure

TEST_ENV=	COMPRESS_ZLIB_RUN_ALL=yes

post-patch:
# Clean up bundled libraries
	@${RM} -r ${WRKSRC}/zlib-src/

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Compress/Raw/Zlib/Zlib.so

.include <bsd.port.mk>
