# Created by: Sergey Skvortsov <skv@FreeBSD.org>
# $FreeBSD: head/textproc/p5-Pod-Parser/Makefile 554632 2020-11-08 17:49:17Z sunpoet $

PORTNAME=	Pod-Parser
PORTVERSION=	1.63
PORTREVISION=	1
CATEGORIES=	textproc perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Modules to work with POD (Plain Old Documentation)

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

USES=		perl5 dos2unix
USE_PERL5=	configure

NO_ARCH=	yes

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 503100
PLIST_SUB+=	EXE_FILES="@comment "
post-patch:
	@${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL
.else
PLIST_SUB+=	EXE_FILES=""
.endif

.include <bsd.port.post.mk>