aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Pod-Stripper
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2004-08-11 03:01:26 +0800
committerskv <skv@FreeBSD.org>2004-08-11 03:01:26 +0800
commit26fb7cb829fdb0d8b39134a9dce3bbe919bb7b01 (patch)
tree47d1f4d3055ef407648b6d7eb6590dffb6064d5c /textproc/p5-Pod-Stripper
parenta2a33cb138ee8dd1c58a0c9b3ee9eb64eda15a41 (diff)
downloadfreebsd-ports-gnome-26fb7cb829fdb0d8b39134a9dce3bbe919bb7b01.tar.gz
freebsd-ports-gnome-26fb7cb829fdb0d8b39134a9dce3bbe919bb7b01.tar.zst
freebsd-ports-gnome-26fb7cb829fdb0d8b39134a9dce3bbe919bb7b01.zip
Unbreak build of p5-[Pp]od*
PR: ports/70185 Submitted by: Yen-Ming Lee <leeym@FreeBSD.org>
Diffstat (limited to 'textproc/p5-Pod-Stripper')
-rw-r--r--textproc/p5-Pod-Stripper/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/textproc/p5-Pod-Stripper/Makefile b/textproc/p5-Pod-Stripper/Makefile
index d684b7c8e74a..cca5d55dc9ce 100644
--- a/textproc/p5-Pod-Stripper/Makefile
+++ b/textproc/p5-Pod-Stripper/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Pod-Stripper
PORTVERSION= 0.22
-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= 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"
@@ -25,12 +28,4 @@ MAN3= Pod::Stripper.3
post-patch:
@${FIND} ${WRKSRC} -type f|${XARGS} ${PERL} -pi -e 's/\x0d(?=\x0a)//;'
-.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>
+.include <bsd.port.mk>