37 lines
797 B
Makefile
37 lines
797 B
Makefile
# Created by: Sergey Skvortsov <skv@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= podlators
|
|
PORTVERSION= 2.5.1
|
|
CATEGORIES= textproc perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= Pod
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Modules to convert and parse POD (Plain Old Documentation)
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Pod::Man.3 Pod::ParseLink.3 Pod::Text.3 Pod::Text::Color.3 \
|
|
Pod::Text::Overstrike.3 Pod::Text::Termcap.3
|
|
|
|
post-patch:
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501400
|
|
MAN1= perlpodstyle.1
|
|
.endif
|
|
|
|
post-patch:
|
|
.if ${PERL_LEVEL} < 501400
|
|
${REINPLACE_CMD} -e '/pod2text/d;s/man1pod.*pod2man.*//' ${WRKSRC}/Makefile.PL
|
|
.else
|
|
${REINPLACE_CMD} -e "/man1pod (/d;/EXE_FILES/d" ${WRKSRC}/Makefile.PL
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|