b335f6a631
PR: 237556 Submitted by: Sergei Vyshenski <svysh.fbsd@gmail.com> (maintainer)
43 lines
952 B
Makefile
43 lines
952 B
Makefile
# Created by: scrappy
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= IO-Socket-SSL
|
|
PORTVERSION= 2.066
|
|
CATEGORIES= security perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= svysh.fbsd@gmail.com
|
|
COMMENT= Perl5 interface to SSL sockets
|
|
|
|
LICENSE= ART10 GPLv1+
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE= ${WRKSRC}/lib/IO/Socket/SSL.pod
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= p5-Net-SSLeay>=1.59:security/p5-Net-SSLeay \
|
|
p5-Mozilla-CA>=20130114:www/p5-Mozilla-CA
|
|
|
|
NO_ARCH= yes
|
|
USES= perl5 shebangfix
|
|
USE_PERL5= configure
|
|
|
|
CONFIGURE_ENV= NO_NETWORK_TESTING=yes
|
|
|
|
OPTIONS_DEFINE= EXAMPLES IDN IPV6
|
|
IPV6_RUN_DEPENDS= p5-IO-Socket-INET6>0:net/p5-IO-Socket-INET6
|
|
|
|
INSTALL_TARGET= pure_install
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
SHEBANG_FILES= example/ssl_mitm.pl
|
|
|
|
IDN_BUILD_DEPENDS= p5-URI>=1.50:net/p5-URI
|
|
IDN_RUN_DEPENDS= ${IDN_BUILD_DEPENDS}
|
|
|
|
post-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
|
|
${INSTALL_SCRIPT} ${WRKSRC}/example/* ${STAGEDIR}${EXAMPLESDIR}/
|
|
|
|
.include <bsd.port.mk>
|