aboutsummaryrefslogtreecommitdiff
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
parentf6b66503481590d03791f259c7db4962682b6b2c (diff)
downloadports-cc069c0358d872b92eaf6478a95a94a51328c7d7.tar.gz
ports-cc069c0358d872b92eaf6478a95a94a51328c7d7.zip
Update to 1.25, fix p5-File-Spec dependency.
PR: ports/44728
Notes
Notes: svn path=/head/; revision=75292
-rw-r--r--textproc/p5-podlators/Makefile16
-rw-r--r--textproc/p5-podlators/distinfo2
-rw-r--r--textproc/p5-podlators/pkg-plist20
3 files changed, 22 insertions, 16 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>
diff --git a/textproc/p5-podlators/distinfo b/textproc/p5-podlators/distinfo
index f04c67dc19a7..123b60db3faf 100644
--- a/textproc/p5-podlators/distinfo
+++ b/textproc/p5-podlators/distinfo
@@ -1 +1 @@
-MD5 (podlators-1.21.tar.gz) = e1b2b602f70fe028f342f02f8ee902f2
+MD5 (podlators-1.25.tar.gz) = f73da8f90b889025baf8a8ded57665e2
diff --git a/textproc/p5-podlators/pkg-plist b/textproc/p5-podlators/pkg-plist
index 7765105ef0a1..8e6d9f6acc6a 100644
--- a/textproc/p5-podlators/pkg-plist
+++ b/textproc/p5-podlators/pkg-plist
@@ -1,12 +1,12 @@
bin/pod2man
bin/pod2text
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Pod/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Pod/Man.pm
-lib/perl5/site_perl/%%PERL_VER%%/Pod/ParseLink.pm
-lib/perl5/site_perl/%%PERL_VER%%/Pod/Text.pm
-lib/perl5/site_perl/%%PERL_VER%%/Pod/Text/Color.pm
-lib/perl5/site_perl/%%PERL_VER%%/Pod/Text/Overstrike.pm
-lib/perl5/site_perl/%%PERL_VER%%/Pod/Text/Termcap.pm
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Pod/Text 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Pod 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Pod 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod/.packlist
+%%SITE_PERL%%/Pod/Man.pm
+%%SITE_PERL%%/Pod/ParseLink.pm
+%%SITE_PERL%%/Pod/Text.pm
+%%SITE_PERL%%/Pod/Text/Color.pm
+%%SITE_PERL%%/Pod/Text/Overstrike.pm
+%%SITE_PERL%%/Pod/Text/Termcap.pm
+@unexec rmdir %D/%%SITE_PERL%%/Pod/Text 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Pod 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Pod 2>/dev/null || true