aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Pod-Stripper/Makefile
blob: 75ca01d894ae370225c6fcd8a4ca5c6750537cae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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=   3
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

BUILD_DEPENDS=  ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-Pod-Parser
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN1=       podstrip.1
MAN3=       Pod::Stripper.3

post-patch:
    @${FIND} ${WRKSRC} -type f|${XARGS} ${PERL} -pi -e 's/\x0d(?=\x0a)//;'

.include <bsd.port.mk>