1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/security/p5-Authen-Radius/Makefile
Mathieu Arnold d77405fd6d - Wrap up cd && foo in parenthesis, it'd break with bmake -j
- Replace some FIND ... CPIO with COPYTREE_SHARE.
2013-11-24 17:40:44 +00:00

45 lines
1.0 KiB
Makefile

# Created by: James FitzGibbon <jfitz@FreeBSD.org>
# $FreeBSD$
PORTNAME= Authen-Radius
PORTVERSION= 0.24
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 module to provide simple Radius client facilities
LICENSE= ART20
RUN_DEPENDS= p5-Data-HexDump>=0.02:${PORTSDIR}/devel/p5-Data-HexDump
BUILD_DEPENDS:= ${RUN_DEPENDS}
#WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
REINPLACE_ARGS= -i ''
USES= perl5
USE_PERL5= configure
RADDBFILES= dictionary \
dictionary.ascend \
dictionary.cisco \
dictionary.compat \
dictionary.livingston \
dictionary.quintum \
dictionary.rfc2869 \
dictionary.shiva \
dictionary.tunnel \
dictionary.usr \
dictionary.versanet \
dictionary.xtradius
post-patch:
@${REINPLACE_CMD} -e 's|/etc/raddb|${DATADIR}|' ${WRKSRC}/Radius.pm
@${RM} ${WRKSRC}/install-radius-db.PL
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/raddb/ && ${INSTALL_DATA} ${RADDBFILES} ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>