aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Module-Build/Makefile
blob: 829deb9317deb42401da45e2b660b501ddd174cd (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
# New ports collection makefile for:    Module::Build
# Date created:             29 June 2003
# Whom:                         Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#

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

MAINTAINER= demon@FreeBSD.org
COMMENT=    Build and install Perl modules

BUILD_DEPENDS=  ${SITE_PERL}/Module/Info.pm:${PORTSDIR}/devel/p5-Module-Info \
        ${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
        ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} > 500600
BUILD_DEPENDS+= ${SITE_PERL}/ExtUtils/ParseXS.pm:${PORTSDIR}/devel/p5-ExtUtils-ParseXS
.endif

.include <bsd.port.post.mk>