aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-ExtUtils-CBuilder/Makefile
blob: 2be8df4210d2fef7093c51fd891e4175e12869d8 (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:    ExtUtils::CBuilder
# Date created:             20 Feb 2004
# Whom:                         Mathieu Arnold <mat@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   ExtUtils-CBuilder
PORTVERSION=    0.15
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ExtUtils
PKGNAMEPREFIX=  p5-

MAINTAINER= mat@FreeBSD.org
COMMENT=    Compile and link C code for Perl modules

BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       ExtUtils::CBuilder.3 ExtUtils::CBuilder::Platform::Windows.3

.if !defined(NOPORTDOCS)
PORTDOCS=   Changes

post-install:
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
    @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif

.include <bsd.port.mk>