1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/textproc/p5-Pod-Stripper/Makefile
Yen-Ming Lee 18d6084424 - 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
2004-08-05 01:10:27 +00:00

37 lines
774 B
Makefile

# New ports collection makefile for: Pod-Stripper
# Date created: 18 November 2003
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= Pod-Stripper
PORTVERSION= 0.22
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Pod
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Strip all pod, and output what's left
PERL_CONFIGURE= yes
CONFIGURE_ARGS= INSTALLDIRS="site"
MAN1= podstrip.1
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>