aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Module-ScanDeps/Makefile
blob: 4a59cf2a6d90e882f5e80465b162179fbdb62eb1 (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
31
32
33
34
# New ports collection makefile for:    devel/p5-Module-ScanDeps
# Date created:             Aug 27 2003
# Whom:                 Autrijus Tang <autrijus@autrijus.org>
#
# $FreeBSD$
#

PORTNAME=   Module-ScanDeps
PORTVERSION=    0.60
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Module
PKGNAMEPREFIX=  p5-

MAINTAINER= rafan@FreeBSD.org
COMMENT=    Recursively scan Perl code for dependencies

PERL_CONFIGURE= yes

MAN1=       scandeps.pl.1
MAN3=       Module::ScanDeps.3 Module::ScanDeps::DataFeed.3

pre-install:
    @${REINPLACE_CMD} -e \
        's|/usr/bin/perl|${PERL}|' ${WRKSRC}/script/scandeps.pl

.include <bsd.port.pre.mk>

# workaround
.if ${PERL_LEVEL} < 500600
IGNORE=     requires perl 5.6.0 or above to build and run
.endif

.include <bsd.port.post.mk>