summaryrefslogtreecommitdiff
path: root/security/p5-IO-Socket-SSL/Makefile
blob: c2b45755831d45cffc89eecad8ae4e4853891992 (plain)
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
# $NetBSD: Makefile,v 1.68 2014/05/15 10:01:43 wiz Exp $

DISTNAME=	IO-Socket-SSL-1.985
PKGNAME=	p5-${DISTNAME}
SVR4_PKGNAME=	p5iss
CATEGORIES=	security net perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=../../authors/id/S/SU/SULLR/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://search.cpan.org/dist/IO-Socket-SSL/
COMMENT=	Perl5 SSL socket interface class
LICENSE=	${PERL5_LICENSE}

DEPENDS+=	p5-IO-Socket-INET6-[0-9]*:../../net/p5-IO-Socket-INET6
DEPENDS+=	p5-Net-LibIDN-[0-9]*:../../net/p5-Net-LibIDN
DEPENDS+=	p5-Net-SSLeay>=1.59:../../security/p5-Net-SSLeay

PKG_INSTALLATION_TYPES=	overwrite pkgviews

USE_LANGUAGES=		# empty
PERL5_PACKLIST=		auto/IO/Socket/SSL/.packlist

.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "MirBSD"
SUBST_CLASSES+=			openssl
SUBST_STAGE.openssl=		pre-configure
SUBST_MESSAGE.openssl=		Adapting minimum OpenSSL version.
SUBST_FILES.openssl=		Makefile.PL
SUBST_SED.openssl=		-e 's/openssl < 0x00908000/openssl < 0x00907000/'
.endif

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"