1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/security/p5-Authen-Radius/Makefile
2018-12-01 13:07:27 +00:00

38 lines
846 B
Makefile

# Created by: James FitzGibbon <jfitz@FreeBSD.org>
# $FreeBSD$
PORTNAME= Authen-Radius
PORTVERSION= 0.29
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= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Data-HexDump>=0.02:devel/p5-Data-HexDump \
p5-Net-IP>=1.26:net-mgmt/p5-Net-IP
TEST_DEPENDS= p5-Test-NoWarnings>=0:devel/p5-Test-NoWarnings
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
REINPLACE_ARGS= -i ''
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>