aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-podlators
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2007-09-08 08:45:08 +0800
committerlinimon <linimon@FreeBSD.org>2007-09-08 08:45:08 +0800
commit07d9e093a64a0c7f96ed0775d50e0f818d98fd80 (patch)
tree02dbbd994569afd4c5091886b42b9fc57a56da98 /textproc/p5-podlators
parent19b5365f6b139c7191946e258da022ec68b68aae (diff)
downloadfreebsd-ports-gnome-07d9e093a64a0c7f96ed0775d50e0f818d98fd80.tar.gz
freebsd-ports-gnome-07d9e093a64a0c7f96ed0775d50e0f818d98fd80.tar.zst
freebsd-ports-gnome-07d9e093a64a0c7f96ed0775d50e0f818d98fd80.zip
Remove support for antique perl.
Hat: portmgr
Diffstat (limited to 'textproc/p5-podlators')
-rw-r--r--textproc/p5-podlators/Makefile15
-rw-r--r--textproc/p5-podlators/pkg-plist2
2 files changed, 1 insertions, 16 deletions
diff --git a/textproc/p5-podlators/Makefile b/textproc/p5-podlators/Makefile
index 2aaf9adcdaf1..5eebdc7093a5 100644
--- a/textproc/p5-podlators/Makefile
+++ b/textproc/p5-podlators/Makefile
@@ -22,26 +22,13 @@ BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
-MAN1= pod2man.1 pod2text.1
MAN3= Pod::Man.3 Pod::ParseLink.3 Pod::Text.3 Pod::Text::Color.3 \
Pod::Text::Overstrike.3 Pod::Text::Termcap.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} >= 500600
-.undef MAN1
-PLIST_SUB= PL_FILES="@comment "
-.else
-RUN_DEPENDS+= ${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor
-PLIST_SUB= PL_FILES=""
-.endif
-
post-patch:
-.if ${PERL_LEVEL} >= 500600
@${REINPLACE_CMD} -Ee '/(pod2man|pod2text)/d' ${WRKSRC}/Makefile.PL
-.endif
@${REINPLACE_CMD} -e 's/->\$$method;/->\$$method\(\);/g' ${WRKSRC}/lib/Pod/*.pm
@${REINPLACE_CMD} -e 's/\$${char}/(\$${char})/g' ${WRKSRC}/lib/Pod/Text/*.pm
@${FIND} ${WRKSRC} -name "*.bak" -delete
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/textproc/p5-podlators/pkg-plist b/textproc/p5-podlators/pkg-plist
index 7bfaf495571b..eb2a3d046815 100644
--- a/textproc/p5-podlators/pkg-plist
+++ b/textproc/p5-podlators/pkg-plist
@@ -1,5 +1,3 @@
-%%PL_FILES%%bin/pod2man
-%%PL_FILES%%bin/pod2text
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod/.packlist
%%SITE_PERL%%/Pod/Man.pm
%%SITE_PERL%%/Pod/ParseLink.pm