aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-podlators/Makefile
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2003-02-11 13:12:26 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2003-02-11 13:12:26 +0000
commitcc069c0358d872b92eaf6478a95a94a51328c7d7 (patch)
tree194b15ba241132842396137cd7dc627fdf467f08 /textproc/p5-podlators/Makefile
parentf6b66503481590d03791f259c7db4962682b6b2c (diff)
Notes
Diffstat (limited to 'textproc/p5-podlators/Makefile')
-rw-r--r--textproc/p5-podlators/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/textproc/p5-podlators/Makefile b/textproc/p5-podlators/Makefile
index 0721c67c8126..e5f0a26c530a 100644
--- a/textproc/p5-podlators/Makefile
+++ b/textproc/p5-podlators/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= podlators
-PORTVERSION= 1.21
+PORTVERSION= 1.25
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Pod
@@ -14,15 +14,21 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
+CONFIGURE_ARGS+= INSTALLDIRS=site
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
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
+
+.include <bsd.port.post.mk>