freebsd-ports/net/p5-Net-Radius/Makefile
Kelly Yancey 44aa2f8f69 Update to use the Digest::MD5 module shipped with perl5.8 rather than the
port version if perl 5.8.0 or later is installed.

Submitted by:	David Lay <dsl (at) webize (dot) com (dot) au>
PR:		73222
2005-01-10 23:33:13 +00:00

31 lines
753 B
Makefile

# New ports collection makefile for: p5-Net-Radius
# Date created: 20 Mar 2002
# Whom: Kelly Yancey <kbyanc@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Net-Radius
PORTVERSION= 1.43
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= kbyanc@FreeBSD.org
COMMENT= A perl module to manipulate RADIUS packets
PERL_CONFIGURE= yes
MAN3= Net::Radius::Dictionary.3 Net::Radius::Packet.3
post-extract:
${FIND} ${WRKDIR} -type f | ${XARGS} ${PERL5} -pi -e "s:\r::g"
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
RUN_DEPENDS= ${BUILD_DEPENDS}
.endif
.include <bsd.port.post.mk>