aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-08-05 09:10:27 +0800
committerleeym <leeym@FreeBSD.org>2004-08-05 09:10:27 +0800
commitc496e0901848f2ab002ebfa8e8b333dc100747fc (patch)
treed4b47cbe93f01e6c2e96e8e3752cebfc251776c4 /textproc
parent1eddd1c08614f8fd1c79241c6bf6546cfbb6b51f (diff)
downloadfreebsd-ports-graphics-c496e0901848f2ab002ebfa8e8b333dc100747fc.tar.gz
freebsd-ports-graphics-c496e0901848f2ab002ebfa8e8b333dc100747fc.tar.zst
freebsd-ports-graphics-c496e0901848f2ab002ebfa8e8b333dc100747fc.zip
- p5-podlators and p5-PodParser conflict with perl 5.6 or above.
They should be conditional dependency when PERL_LEVEL < 500601. - add "CONFLICTS= perl-5.6.* perl-5.8.*" in p5-podlators and p5-PodParser PR: 68086 Submitted by: leeym Approved by: maintainer timeout
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-Pod-Constants/Makefile14
-rw-r--r--textproc/p5-Pod-Parser/Makefile9
-rw-r--r--textproc/p5-Pod-Stripper/Makefile17
-rw-r--r--textproc/p5-PodParser/Makefile9
-rw-r--r--textproc/p5-podlators/Makefile7
5 files changed, 34 insertions, 22 deletions
diff --git a/textproc/p5-Pod-Constants/Makefile b/textproc/p5-Pod-Constants/Makefile
index 11349801f60..131c67581f2 100644
--- a/textproc/p5-Pod-Constants/Makefile
+++ b/textproc/p5-Pod-Constants/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Pod-Constants
PORTVERSION= 0.15
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/S/SA/SAMV
@@ -15,12 +16,15 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Include constants from POD
-BUILD_DEPENDS= ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= Pod::Constants.3
-MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+BUILD_DEPENDS+= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Pod-Parser/Makefile b/textproc/p5-Pod-Parser/Makefile
index 85cb67c4ecb..e4fc220ae6b 100644
--- a/textproc/p5-Pod-Parser/Makefile
+++ b/textproc/p5-Pod-Parser/Makefile
@@ -16,13 +16,14 @@ MAINTAINER= skv@FreeBSD.org
COMMENT= Modules to work with POD (Plain Old Documentation)
PERL_CONFIGURE= yes
-CONFIGURE_ARGS+= INSTALLDIRS="site"
+CONFIGURE_ARGS= INSTALLDIRS="site"
MAN1= pod2usage.1 podchecker.1 podselect.1
MAN3= Pod::Checker.3 Pod::Find.3 Pod::InputObjects.3 \
Pod::ParseUtils.3 Pod::Parser.3 Pod::PlainText.3 Pod::Select.3 \
Pod::Usage.3
-MAN1PREFIX= ${PREFIX}
+
+CONFLICTS= perl-5.6.* perl-5.8.*
post-patch:
@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \;
@@ -30,8 +31,8 @@ post-patch:
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
-BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+RUN_DEPENDS+= ${BUILD_DEPENDS}
.endif
.include <bsd.port.post.mk>
diff --git a/textproc/p5-Pod-Stripper/Makefile b/textproc/p5-Pod-Stripper/Makefile
index 39e2e984409..d684b7c8e74 100644
--- a/textproc/p5-Pod-Stripper/Makefile
+++ b/textproc/p5-Pod-Stripper/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Pod-Stripper
PORTVERSION= 0.22
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Pod
@@ -15,17 +16,21 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Strip all pod, and output what's left
-BUILD_DEPENDS= ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
-CONFIGURE_ARGS+= INSTALLDIRS="site"
+CONFIGURE_ARGS= INSTALLDIRS="site"
MAN1= podstrip.1
MAN3= Pod::Stripper.3
-MAN1PREFIX= ${PREFIX}
post-patch:
@${FIND} ${WRKSRC} -type f|${XARGS} ${PERL} -pi -e 's/\x0d(?=\x0a)//;'
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+BUILD_DEPENDS+= ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-PodParser/Makefile b/textproc/p5-PodParser/Makefile
index 85cb67c4ecb..e4fc220ae6b 100644
--- a/textproc/p5-PodParser/Makefile
+++ b/textproc/p5-PodParser/Makefile
@@ -16,13 +16,14 @@ MAINTAINER= skv@FreeBSD.org
COMMENT= Modules to work with POD (Plain Old Documentation)
PERL_CONFIGURE= yes
-CONFIGURE_ARGS+= INSTALLDIRS="site"
+CONFIGURE_ARGS= INSTALLDIRS="site"
MAN1= pod2usage.1 podchecker.1 podselect.1
MAN3= Pod::Checker.3 Pod::Find.3 Pod::InputObjects.3 \
Pod::ParseUtils.3 Pod::Parser.3 Pod::PlainText.3 Pod::Select.3 \
Pod::Usage.3
-MAN1PREFIX= ${PREFIX}
+
+CONFLICTS= perl-5.6.* perl-5.8.*
post-patch:
@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \;
@@ -30,8 +31,8 @@ post-patch:
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
-BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+RUN_DEPENDS+= ${BUILD_DEPENDS}
.endif
.include <bsd.port.post.mk>
diff --git a/textproc/p5-podlators/Makefile b/textproc/p5-podlators/Makefile
index e6b80d54593..11758ac3cfe 100644
--- a/textproc/p5-podlators/Makefile
+++ b/textproc/p5-podlators/Makefile
@@ -7,6 +7,7 @@
PORTNAME= podlators
PORTVERSION= 1.27
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Pod
@@ -15,9 +16,6 @@ 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
@@ -25,10 +23,13 @@ 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 \
${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor
.endif