summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2003-02-11 13:12:26 +0000
committerskv <skv@FreeBSD.org>2003-02-11 13:12:26 +0000
commit8a2a10153507f08f697d4c2c2fb813f25ce5ec4a (patch)
treecc63f6573a530eced18ffec62804d07c363895ab /textproc
parente143dddc5de25abdf3f76af5cb8874a6973471ab (diff)
downloadFreeBSD-ports-8a2a10153507f08f697d4c2c2fb813f25ce5ec4a.zip
FreeBSD-ports-8a2a10153507f08f697d4c2c2fb813f25ce5ec4a.tar.gz
Update to 1.25, fix p5-File-Spec dependency.
PR: ports/44728
Diffstat (limited to 'textproc')
-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 0721c67..e5f0a26 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 f04c67d..123b60d 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 7765105..8e6d9f6 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
OpenPOWER on IntegriCloud