PORTNAME=	Sub-Name
PORTVERSION=	0.28
PORTEPOCH=	1
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Module to assign new names to Perl subroutines
WWW=		https://metacpan.org/release/Sub-Name

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual
LICENSE_FILE=	${WRKSRC}/LICENCE

TEST_DEPENDS=	p5-B-C>=1.48:devel/p5-B-C \
		p5-Devel-CheckBin>=0:devel/p5-Devel-CheckBin

USES=		perl5
USE_PERL5=	configure

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Sub/Name/Name.so

.include <bsd.port.mk>
