1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/devel/p5-Event-RPC/Makefile
Renato Botelho 5d31075cb4 Event::RPC supports you in developing Event based networking client/server
applications with transparent object/method access from the client to the
server. Network communication is optionally encrypted using IO::Socket::SSL.
Several event loop managers are supported due to an extensible API. Currently
Event and Glib are implemented.

WWW: http://search.cpan.org/dist/Event::RPC/

PR:		ports/97350
Submitted by:	Vivek Khera <vivek@khera.org>
2006-05-17 10:02:24 +00:00

56 lines
1.4 KiB
Makefile

# 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= 0.90
CATEGORIES= devel net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Event
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= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
.if !defined(WITHOUT_EVENT)
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Event.pm:${PORTSDIR}/devel/p5-Event
.endif
.if defined(WITH_GLIB)
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Glib.pm:${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+= ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL
.endif
RUN_DEPENDS= ${BUILD_DEPENDS}
.include <bsd.port.post.mk>