blob: 878aa14a0b72d072af23f5c1a940dac9f42102f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Created by: James FitzGibbon <jfitz@FreeBSD.org>
# $FreeBSD$
PORTNAME= Authen-Radius
PORTVERSION= 0.26
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 module to provide simple Radius client facilities
LICENSE= ART20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= p5-Data-HexDump>=0.02:devel/p5-Data-HexDump \
p5-Net-IP>=1.26:net-mgmt/p5-Net-IP
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-NoWarnings>=0:devel/p5-Test-NoWarnings
REINPLACE_ARGS= -i ''
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
PORTDATA= *
post-patch:
@${REINPLACE_CMD} -e 's|/etc/raddb|${DATADIR}|' ${WRKSRC}/Radius.pm
@${RM} ${WRKSRC}/install-radius-db.PL
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/raddb/dictionary* ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
|