2012-11-19 10:47:49 +01:00
|
|
|
# Created by: James FitzGibbon <jfitz@FreeBSD.org>
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1997-09-13 19:48:51 +02:00
|
|
|
|
2000-06-17 04:37:15 +02:00
|
|
|
PORTNAME= Authen-Radius
|
2012-11-19 10:47:49 +01:00
|
|
|
PORTVERSION= 0.22
|
2000-06-02 05:18:54 +02:00
|
|
|
CATEGORIES= security perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2000-06-17 04:37:15 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
2003-08-18 15:29:52 +02:00
|
|
|
DISTNAME= RadiusPerl-${PORTVERSION}
|
1997-09-13 19:48:51 +02:00
|
|
|
|
2005-01-26 11:10:34 +01:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2013-03-29 01:44:53 +01:00
|
|
|
COMMENT= Perl5 module to provide simple Radius client facilities
|
1997-09-13 19:48:51 +02:00
|
|
|
|
2010-11-12 07:00:28 +01:00
|
|
|
RUN_DEPENDS= p5-Data-HexDump>=0.02:${PORTSDIR}/devel/p5-Data-HexDump
|
2012-06-10 20:42:48 +02:00
|
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
1997-09-13 19:48:51 +02:00
|
|
|
|
2005-01-26 11:10:34 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2001-03-01 07:39:18 +01:00
|
|
|
PERL_CONFIGURE= yes
|
1997-09-13 19:48:51 +02:00
|
|
|
MAN3= Authen::Radius.3
|
|
|
|
|
2005-02-20 17:44:31 +01:00
|
|
|
RADDBFILES= dictionary \
|
|
|
|
dictionary.ascend \
|
|
|
|
dictionary.cisco \
|
|
|
|
dictionary.compat \
|
|
|
|
dictionary.livingston \
|
|
|
|
dictionary.quintum \
|
2012-08-17 11:43:22 +02:00
|
|
|
dictionary.rfc2869 \
|
2005-02-20 17:44:31 +01:00
|
|
|
dictionary.shiva \
|
|
|
|
dictionary.tunnel \
|
|
|
|
dictionary.usr \
|
|
|
|
dictionary.versanet \
|
|
|
|
dictionary.xtradius
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${RM} ${WRKSRC}/install-radius-db.PL
|
|
|
|
@${PERL} -pi -e 's|/etc/raddb|${DATADIR}|' ${WRKSRC}/Radius.pm
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
.for FILE in ${RADDBFILES}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/raddb/${FILE} ${DATADIR}/${FILE}
|
|
|
|
.endfor
|
|
|
|
|
2009-07-22 18:27:08 +02:00
|
|
|
.include <bsd.port.mk>
|