freebsd-ports/security/p5-Net-SSLeay/Makefile
Anton Berezin 9b9ef97040 Use OPENSSLBASE instead of hardcoded path. Bump portrevision.
PR:		91562
Submitted by:	oliver
2006-01-10 08:40:12 +00:00

45 lines
1 KiB
Makefile

# New ports collection makefile for: p5-Net-SSLeay
# Date created: April 17th 2000
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$
#
PORTNAME= Net-SSLeay
PORTVERSION= 1.30
PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
DISTNAME= Net_SSLeay.pm-${PORTVERSION}
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 interface to SSL
PERL_CONFIGURE= yes
CONFIGURE_ARGS= "${OPENSSLBASE}"
USE_OPENSSL= yes
MAN3= Net::SSLeay.3 Net::SSLeay::Handle.3
EXAMPLESDIR= ${PREFIX}/share/examples/p5-Net-SSLeay
SRCDIR= ${WRKSRC}/examples
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${SRCDIR}/*.pl ${EXAMPLESDIR}/
${INSTALL_DATA} ${SRCDIR}/req.conf ${EXAMPLESDIR}/req.conf
.endif
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-SSLeay.xs
post-patch:
${PERL} -pi -e 's/\$\^V/\$\]/' ${WRKSRC}/Net-SSLeay-Handle-*/Handle.pm
.endif
.include <bsd.port.post.mk>