aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Class-MOP/Makefile
blob: 75f49b35134ca6bda4401225589e625b2bab729e (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# New ports collection makefile for:    devel/p5-Class-MOP
# Date created:             14 Apr 2006
# Whom:                 Lars Balker Rasmussen <lbr@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Class-MOP
PORTVERSION=    1.01
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    A Meta Object Protocol for Perl 5

RUN_DEPENDS=    p5-Devel-GlobalDestruction>=0:${PORTSDIR}/devel/p5-Devel-GlobalDestruction \
        p5-MRO-Compat>=0.05:${PORTSDIR}/devel/p5-MRO-Compat \
        p5-Sub-Name>=0.04:${PORTSDIR}/devel/p5-Sub-Name \
        p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken \
        p5-Try-Tiny>=0.02:${PORTSDIR}/lang/p5-Try-Tiny \
        p5-Data-OptList>=0:${PORTSDIR}/devel/p5-Data-OptList
BUILD_DEPENDS=  ${RUN_DEPENDS}
BUILD_DEPENDS+= p5-Test-Exception>=0.27:${PORTSDIR}/devel/p5-Test-Exception

MAKE_JOBS_UNSAFE=   yes

PERL_CONFIGURE= 5.8.1+
CFLAGS=     -I.

MAN3=   Class::MOP.3 \
    Class::MOP::Attribute.3 \
    Class::MOP::Class.3 \
    Class::MOP::Class::Immutable::Trait.3 \
    Class::MOP::Deprecated.3 \
    Class::MOP::Instance.3 \
    Class::MOP::Method.3 \
    Class::MOP::Method::Accessor.3 \
    Class::MOP::Method::Constructor.3 \
    Class::MOP::Method::Generated.3 \
    Class::MOP::Method::Inlined.3 \
    Class::MOP::Method::Wrapped.3 \
    Class::MOP::Mixin.3 \
    Class::MOP::Mixin::AttributeCore.3 \
    Class::MOP::Mixin::HasAttributes.3 \
    Class::MOP::Mixin::HasMethods.3 \
    Class::MOP::Module.3 \
    Class::MOP::Object.3 \
    Class::MOP::Package.3 \
    metaclass.3

post-install:
.ifndef(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
    @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
.endif

.include <bsd.port.mk>