aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Net-Server/Makefile
blob: ebfd033460426ba9b334e3a8c150176ca433cf85 (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
# New ports collection makefile for:    p5-Net-Server
# Date created:             24 Apr 2001
# Whom:                 Jesse McConnell <jesse@gallup.com>
#
# $FreeBSD$
#

PORTNAME=   Net-Server
PORTVERSION=    0.94
CATEGORIES= net perl5
MASTER_SITES=   http://www.seamons.com/net_server/ \
        ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX=  p5-

MAINTAINER= ports@FreeBSD.org
COMMENT=    A configurable base class for writing internet servers in Perl

RUN_DEPENDS=    ${SITE_PERL}/IO/Multiplex.pm:${PORTSDIR}/devel/p5-IO-Multiplex

PERL_CONFIGURE= yes

MAN3=       Net::Server.3 \
        Net::Server::Daemonize.3\
        Net::Server::Fork.3 \
        Net::Server::INET.3 \
        Net::Server::MultiType.3 \
        Net::Server::Multiplex.3 \
        Net::Server::PreFork.3 \
        Net::Server::PreForkSimple.3\
        Net::Server::Proto.3\
        Net::Server::Proto::SSL.3\
        Net::Server::Proto::TCP.3\
        Net::Server::Proto::UDP.3\
        Net::Server::Proto::UNIX.3\
        Net::Server::SIG.3\
        Net::Server::Single.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Socket/UNIX.pm:${PORTSDIR}/devel/p5-IO
RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/IO/Socket/UNIX.pm:${PORTSDIR}/devel/p5-IO
.endif

post-patch:
    ${FIND} ${WRKSRC} -name '*.orig' -delete

.include <bsd.port.post.mk>