1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/net/p5-Net-Radius/Makefile
Aaron Dalton ec863f374b - Update to 1.44
PR:		ports/99055
Submitted by:	aaron
Approved by:	maintainer timeout, tobez (implicit)
2006-07-01 16:04:40 +00:00

38 lines
882 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.44
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} < 500600
post-patch:
@${PERL} -pi -e '$$_ = "" if /use warnings/;' \
${WRKSRC}/Radius/Dictionary.pm
.endif
.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>