PORTNAME=	IO-AIO
PORTVERSION=	4.81
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Asynchronous/Advanced Input/Output
WWW=		https://metacpan.org/release/IO-AIO

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-common-sense>=0:devel/p5-common-sense

USES=		perl5
USE_PERL5=	configure

pre-build:
	cd ${WRKSRC}/ && ${PERL} gendef0

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/IO/AIO/AIO.so

.include <bsd.port.mk>
