aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Coro/Makefile
blob: f5ec0584eaa305fd01e9c3b05788f1321ca9a4a6 (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
60
61
# $FreeBSD$

PORTNAME=   Coro
PORTVERSION=    6.23
PORTEPOCH=  1
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Coroutine process abstraction for perl

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-AnyEvent>=7:${PORTSDIR}/devel/p5-AnyEvent \
        p5-AnyEvent-AIO>=1.0:${PORTSDIR}/devel/p5-AnyEvent-AIO \
        p5-EV>=4:${PORTSDIR}/devel/p5-EV \
        p5-Event>=1.08:${PORTSDIR}/devel/p5-Event \
        p5-Guard>=0.5:${PORTSDIR}/devel/p5-Guard \
        p5-IO-AIO>=3.1:${PORTSDIR}/devel/p5-IO-AIO \
        p5-common-sense>=0:${PORTSDIR}/devel/p5-common-sense
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Coro.3 \
        Coro::AIO.3 \
        Coro::AnyEvent.3 \
        Coro::BDB.3 \
        Coro::Channel.3 \
        Coro::Debug.3 \
        Coro::EV.3 \
        Coro::Event.3 \
        Coro::Handle.3 \
        Coro::Intro.3 \
        Coro::LWP.3 \
        Coro::MakeMaker.3 \
        Coro::RWLock.3 \
        Coro::Select.3 \
        Coro::Semaphore.3 \
        Coro::SemaphoreSet.3 \
        Coro::Signal.3 \
        Coro::Socket.3 \
        Coro::Specific.3 \
        Coro::State.3 \
        Coro::Storable.3 \
        Coro::Timer.3 \
        Coro::Util.3

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}/
    ${INSTALL_DATA} ${WRKSRC}/doc/cede-vs-schedule ${DOCSDIR}/
.endif
.if !defined(NOPORTEXAMPLES)
    ${MKDIR} ${EXAMPLESDIR}/
    ${INSTALL_SCRIPT} ${WRKSRC}/eg/* ${EXAMPLESDIR}/
.endif

.include <bsd.port.mk>