aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-POE-Component-SSLify/Makefile
blob: 50df5d4f8cc062f94ab65d8815c6b2a97d968dc1 (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
# New ports collection makefile for:    POE-Component-SSLify
# Date created:    05 November 2004
# Whom:        Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=   POE-Component-SSLify
PORTVERSION=    0.05
CATEGORIES= security perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/A/AP/APOCAL
PKGNAMEPREFIX=  p5-

MAINTAINER= skv@FreeBSD.org
COMMENT=    Integrate SSL into POE

BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       POE::Component::SSLify.3 \
        POE::Component::SSLify::ClientHandle.3 \
        POE::Component::SSLify::ServerHandle.3

.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
post-patch:
    @${PERL} -pi -e 's/^our (%\w+)/use vars qw($$1); $$1/;' \
             -e '$$_ = "" if /use warnings/;' \
        $$(${FIND} ${WRKSRC} -name '*.pm')
.endif
.include <bsd.port.post.mk>