freebsd-ports/net/p5-Net-Radius/Makefile
Erwin Lansing 51dc1137f5 - Update to 1.51
- Add WWW

Inspired by:
PR:		101737
Submitted by:	Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
Approved by:	maintainer timeout
2006-12-25 18:47:35 +00:00

37 lines
880 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.51
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
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
BUILD_DEPENDS= ${RUN_DEPENDS}
.endif
.include <bsd.port.post.mk>