freebsd-ports/security/p5-Net-SSLeay/Makefile
Emanuel Haupt 7c8c62db8a - Update to 1.49
- Trim header

Feature safe:	yes
2012-11-03 11:33:22 +00:00

38 lines
936 B
Makefile

# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$
PORTNAME= Net-SSLeay
PORTVERSION= 1.49
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 interface to SSL
TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
p5-Test-NoWarnings>=0:${PORTSDIR}/devel/p5-Test-NoWarnings \
p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn
PERL_CONFIGURE= yes
CONFIGURE_ENV= OPENSSL_PREFIX=${OPENSSLBASE}
REINPLACE_ARGS= -i ''
USE_OPENSSL= yes
MAN3= Net::SSLeay.3 Net::SSLeay::Handle.3
PORTEXAMPLES= *
post-patch:
.if !defined(NOPORTEXAMPLES)
@${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/examples/*.pl
.endif
post-install:
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/examples/req.conf ${EXAMPLESDIR}/req.conf
.endif
.include <bsd.port.mk>