diff options
author | skv <skv@FreeBSD.org> | 2012-06-20 04:34:25 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2012-06-20 04:34:25 +0800 |
commit | 89ed481e9f87fb4f7b8dd64d95368d218290c9f7 (patch) | |
tree | 07fc99ac5a12661eda13d48a2d0b1dc9f8020e09 /textproc/p5-podlators | |
parent | 4c65f91e32c6f68bef570a83a27a53d615f0529f (diff) | |
download | freebsd-ports-gnome-89ed481e9f87fb4f7b8dd64d95368d218290c9f7.tar.gz freebsd-ports-gnome-89ed481e9f87fb4f7b8dd64d95368d218290c9f7.tar.zst freebsd-ports-gnome-89ed481e9f87fb4f7b8dd64d95368d218290c9f7.zip |
Fix plist for perl 5.14+
Diffstat (limited to 'textproc/p5-podlators')
-rw-r--r-- | textproc/p5-podlators/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/textproc/p5-podlators/Makefile b/textproc/p5-podlators/Makefile index 0d729e28bafa..9dbd29a59f8a 100644 --- a/textproc/p5-podlators/Makefile +++ b/textproc/p5-podlators/Makefile @@ -20,12 +20,10 @@ LICENSE_COMB= dual PERL_CONFIGURE= yes -MAN1= perlpodstyle.1 MAN3= Pod::Man.3 Pod::ParseLink.3 Pod::Text.3 Pod::Text::Color.3 \ Pod::Text::Overstrike.3 Pod::Text::Termcap.3 post-patch: - ${REINPLACE_CMD} -e '/pod2text/d;s/man1pod.*pod2man.*//' ${WRKSRC}/Makefile.PL .include <bsd.port.pre.mk> @@ -33,4 +31,15 @@ post-patch: RUN_DEPENDS+= p5-Pod-Simple>=3.06:${PORTSDIR}/textproc/p5-Pod-Simple .endif +.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> |