blob: 64a7d98e87455ea5a8f1a6df35c2712a636322b7 (
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
35
36
37
38
39
40
41
|
# 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= 1.04
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:RSCHUPP
PKGNAMEPREFIX= p5-
MAINTAINER= rafan@FreeBSD.org
COMMENT= Recursively scan Perl code for dependencies
PERL_CONFIGURE= yes
MAN1= scandeps.pl.1
MAN3= Module::ScanDeps.3
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/bin/perl|${PERL}|' ${WRKSRC}/script/scandeps.pl \
${WRKSRC}/Makefile.PL
regression-test:
cd ${WRKSRC} && ${MAKE} test
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500904
RUN_DEPENDS+= p5-Module-Build>=0:${PORTSDIR}/devel/p5-Module-Build
.endif
.if ${PERL_LEVEL} < 500900
RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
.endif
.include <bsd.port.post.mk>
|