freebsd-ports/security/p5-Crypt-SSLeay/Makefile
Edwin Groothuis 927c9c2190 Conditionalize dependencies for moudules included in perl 5.8
Make dependencies on modules included in the perl 5.8
	distribution conditional on the perl version installed.
	While I'm here, remove SITE_PERL and MAN(3)PREFIX.

17 + 29 + 234 = 280 PRs. It's about time he starts doing the work himself!

PR:		ports/50588
Submitted by:	Erwin Lansing <erwin@lansing.dk>
2003-04-13 12:28:23 +00:00

36 lines
1,022 B
Makefile

# 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.49
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Crypt
PKGNAMEPREFIX= p5-
MAINTAINER= erwin@lansing.dk
COMMENT= Perl5 interface to allow p5-libwww LWP to make https connections
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI/URL.pm:${PORTSDIR}/net/p5-URI
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
CONFIGURE_ARGS+= "/usr"
USE_OPENSSL= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::SSLeay.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
.endif
.include <bsd.port.post.mk>