aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-IO-Socket-SSL/Makefile
blob: e07b87adfd1afe2f34db081d2390164347105e15 (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
# Created by: scrappy
# $FreeBSD$

PORTNAME=   IO-Socket-SSL
PORTVERSION=    1.984
CATEGORIES= security perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:SULLR
PKGNAMEPREFIX=  p5-

MAINTAINER= jadawin@FreeBSD.org
COMMENT=    Perl5 interface to SSL sockets

LICENSE=    ARTPERL10

BUILD_DEPENDS=  p5-Net-SSLeay>=1.59:${PORTSDIR}/security/p5-Net-SSLeay
RUN_DEPENDS:=   ${BUILD_DEPENDS}

USES=       perl5 shebangfix
USE_PERL5=  configure

CONFIGURE_ARGS= < /dev/null

OPTIONS_DEFINE= EXAMPLES IDN IPV6

INSTALL_TARGET= pure_install

PORTEXAMPLES=   *

SHEBANG_FILES=  example/ssl_mitm.pl

IDN_BUILD_DEPENDS=  p5-URI>=1.50:${PORTSDIR}/net/p5-URI
IDN_RUN_DEPENDS=    ${IDN_BUILD_DEPENDS}
IPV6_BUILD_DEPENDS= p5-IO-Socket-IP>=0.11:${PORTSDIR}/net/p5-IO-Socket-IP \
            p5-Socket>=1.95:${PORTSDIR}/net/p5-Socket
IPV6_RUN_DEPENDS=   ${IPV6_BUILD_DEPENDS}

post-install:
    ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
    ${INSTALL_SCRIPT} ${WRKSRC}/example/* ${STAGEDIR}${EXAMPLESDIR}/

.include <bsd.port.mk>