diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2004-08-10 19:01:26 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2004-08-10 19:01:26 +0000 |
commit | 4f7fcd1bccb37848f412426a0b168f0845ac7d68 (patch) | |
tree | cba6a402318fe1d42315e86ca1845fef651cb9b0 /textproc/p5-podlators | |
parent | 1d76dde1a4d7ce082e2d8bd8d2f6e2f5f7615b7d (diff) | |
download | ports-4f7fcd1bccb37848f412426a0b168f0845ac7d68.tar.gz ports-4f7fcd1bccb37848f412426a0b168f0845ac7d68.zip |
Notes
Diffstat (limited to 'textproc/p5-podlators')
-rw-r--r-- | textproc/p5-podlators/Makefile | 22 | ||||
-rw-r--r-- | textproc/p5-podlators/pkg-descr | 3 | ||||
-rw-r--r-- | textproc/p5-podlators/pkg-plist | 4 |
3 files changed, 18 insertions, 11 deletions
diff --git a/textproc/p5-podlators/Makefile b/textproc/p5-podlators/Makefile index 11758ac3cfe6..4998b276f429 100644 --- a/textproc/p5-podlators/Makefile +++ b/textproc/p5-podlators/Makefile @@ -7,7 +7,7 @@ PORTNAME= podlators PORTVERSION= 1.27 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Pod @@ -16,6 +16,9 @@ PKGNAMEPREFIX= p5- MAINTAINER= skv@FreeBSD.org COMMENT= Modules to convert and parse POD (Plain Old Documentation) +RUN_DEPENDS= ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser +BUILD_DEPENDS= ${RUN_DEPENDS} + PERL_CONFIGURE= yes CONFIGURE_ARGS= INSTALLDIRS=site @@ -23,14 +26,21 @@ 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 -CONFLICTS= perl-5.6.* perl-5.8.* - .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500601 -RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \ - ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser \ +PLIST_SUB= PL_FILES="" + +.if ${PERL_LEVEL} < 500600 +RUN_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \ ${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor +.elif ${PERL_LEVEL} < 500802 +.undef MAN1 +PLIST_SUB= PL_FILES="@comment " +.endif + +post-patch: +.if ${PERL_LEVEL} >= 500600 && ${PERL_LEVEL} < 500802 + @${PERL} -pi -e 'm,pod2man|pod2text, && s,.,,sg' ${WRKSRC}/Makefile.PL .endif .include <bsd.port.post.mk> diff --git a/textproc/p5-podlators/pkg-descr b/textproc/p5-podlators/pkg-descr index a75072cc0faf..bbaadb8cd590 100644 --- a/textproc/p5-podlators/pkg-descr +++ b/textproc/p5-podlators/pkg-descr @@ -7,6 +7,3 @@ Set of modules: * Pod::Text::Overstrike - convert POD data to formatted overstrike text WWW: http://search.cpan.org/dist/podlators/ - --- Sergey Skvortsov -skv@FreeBSD.org diff --git a/textproc/p5-podlators/pkg-plist b/textproc/p5-podlators/pkg-plist index 8e6d9f6acc6a..63a817c1e6f9 100644 --- a/textproc/p5-podlators/pkg-plist +++ b/textproc/p5-podlators/pkg-plist @@ -1,5 +1,5 @@ -bin/pod2man -bin/pod2text +%%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 |