blob: 8599bfc9fcdcb10f40acbc9fcfb1d649f2ca132c (
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
|
# Created by: scrappy
# $FreeBSD$
PORTNAME= IO-Socket-SSL
PORTVERSION= 1.953
CATEGORIES= security perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:SULLR
PKGNAMEPREFIX= p5-
MAINTAINER= jadawin@FreeBSD.org
COMMENT= Perl5 interface to SSL sockets
BUILD_DEPENDS= p5-Net-SSLeay>=1.21:${PORTSDIR}/security/p5-Net-SSLeay
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
OPTIONS_DEFINE= EXAMPLES IDN IPV6
INSTALL_TARGET= pure_install
MAN3= IO::Socket::SSL.3 IO::Socket::SSL::Intercept.3 \
IO::Socket::SSL::Utils.3
PORTEXAMPLES= *
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIDN}
RUN_DEPENDS+= p5-URI>=1.50:${PORTSDIR}/net/p5-URI
.endif
.if ${PORT_OPTIONS:MIPV6}
RUN_DEPENDS+= p5-IO-Socket-IP>=0.11:${PORTSDIR}/net/p5-IO-Socket-IP \
p5-Socket>=1.95:${PORTSDIR}/net/p5-Socket
.endif
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/example/* ${EXAMPLESDIR}/
.endif
regression-test: build
cd ${WRKSRC}/ && ${MAKE} test
.include <bsd.port.mk>
|