aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Crypt-SSLeay/Makefile
blob: f44486c4a1d2821634d430d2eaa4432f9f6c2ede (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:	p5-Crypt-SSLeay
# Date created:				December-15-2000
# Whom:	      				Alfred Perlstein <alfred@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=	Crypt-SSLeay
PORTVERSION=	0.64
CATEGORIES=	security perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Perl5 interface to allow p5-libwww LWP to make https connections

LICENSE=	ART20

BUILD_DEPENDS=	p5-LWP-Protocol-https>=6.02:${PORTSDIR}/www/p5-LWP-Protocol-https
RUN_DEPENDS:=	${BUILD_DEPENDS}
TEST_DEPENDS=	p5-Try-Tiny>=0.09:${PORTSDIR}/lang/p5-Try-Tiny

CONFIGURE_ENV=	CRYPT_SSLEAY_LIVE_TEST_WANTED=0
MAKE_ARGS=	PASTHRU_INC=-I${OPENSSLINC}
PERL_CONFIGURE=	yes
USE_OPENSSL=	yes

MAN3=		Crypt::SSLeay.3 Net::SSL.3

post-patch:
	@${REINPLACE_CMD} -e '/LIBS/ s|-lssl32 -lssleay32 -leay32|-L${OPENSSLLIB}|' \
		-e '/is_live_test_wanted()/d' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>