1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/security/p5-Net-SSLeay/Makefile
Mathieu Arnold 884efe5ee4 Respect DESTDIR
PR:		101853
Submitted by:	Gea-Suan Lin <gslin@gslin.org>
2006-08-14 10:43:31 +00:00

45 lines
977 B
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
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>