aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Event-RPC/Makefile
blob: 0df1c63fb7e2d4d916cb7db364b473441a25a961 (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
# New ports collection makefile for:    p5-Event-RPC
# Date created:             Tue May 16 10:45:27 EDT 2006
# Whom:                 Vivek Khera <vivek@khera.org>
#
# $FreeBSD$
#

PORTNAME=   Event-RPC
PORTVERSION=    1.01
CATEGORIES= devel net perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= vivek@khera.org
COMMENT=    Event based transparent Client/Server RPC framework

PERL_CONFIGURE= yes

MAN3=   Event::RPC.3 \
    Event::RPC::Client.3 \
    Event::RPC::Connection.3 \
    Event::RPC::LogConnection.3 \
    Event::RPC::Logger.3 \
    Event::RPC::Loop.3 \
    Event::RPC::Loop::Event.3 \
    Event::RPC::Loop::Glib.3 \
    Event::RPC::Message.3 \
    Event::RPC::Server.3

OPTIONS=    GLIB    "Use Glib event handler"    off \
        EVENT   "Use Event.pm event handler"    on \
        SSL "Register dependency to SSL lib"    on

.include <bsd.port.pre.mk>

BUILD_DEPENDS=  p5-Storable>=0:${PORTSDIR}/devel/p5-Storable

.if !defined(WITHOUT_EVENT)
BUILD_DEPENDS+= p5-Event>=0:${PORTSDIR}/devel/p5-Event
.endif

.if defined(WITH_GLIB)
BUILD_DEPENDS+= p5-Glib2>=0:${PORTSDIR}/devel/p5-Glib2
.endif

.if !defined(WITHOUT_SSL)
# we can't use USE_OPENSSL=yes after including bsd.port.pre.mk
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
BUILD_DEPENDS+= p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL
.endif

RUN_DEPENDS:=   ${BUILD_DEPENDS}

.include <bsd.port.post.mk>