# Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD: head/devel/p5-Pod-Usage/Makefile 552641 2020-10-18 15:35:08Z sunpoet $ PORTNAME= Pod-Usage PORTVERSION= 2.01 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Print a usage message from embedded pod documentation LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-podlators>=4:textproc/p5-podlators USES= perl5 USE_PERL5= configure NO_ARCH= yes .include .if ${PERL_LEVEL} < 503200 BUILD_DEPENDS+= p5-Pod-Simple>=3.40:textproc/p5-Pod-Simple RUN_DEPENDS+= p5-Pod-Simple>=3.40:textproc/p5-Pod-Simple .endif post-patch: # Do not conflict with lang/perl5.* @${RM} ${WRKSRC}/scripts/pod2usage.PL ${WRKSRC}/t/pod/pod2usage.t .include