openbsd-ports/security/p5-Authen-Radius/Makefile

38 lines
856 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.16 2010/12/03 11:46:46 ajacoutot Exp $
COMMENT= Perl module to authenticate against a RADIUS server
MODULES= cpan
DISTNAME= RadiusPerl-0.15
REVISION= 0
PKGNAME= p5-Authen-Radius-0.15
CATEGORIES= security
MAINTAINER= Abel Abraham Camarillo Ojeda <acamari@the00z.org>
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2002-05-15 13:58:49 -04:00
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Authen/}
WRKDIST= ${WRKDIR}/${DISTNAME:S/RadiusPerl/Authen-Radius/}
2010-11-20 12:22:40 -05:00
RUN_DEPENDS= security/p5-MD5>=1.7 \
devel/p5-Data-HexDump>=0.02
BUILD_DEPENDS= ${RUN_DEPENDS}
2010-10-18 17:41:44 -04:00
USE_GROFF = Yes
2002-10-28 11:30:34 -05:00
REGRESS_IS_INTERACTIVE= Yes
pre-configure:
perl -pi -e \
s,/etc/raddb,${WRKINST}/${PREFIX}/share/examples/p5-Authen-Radius, \
${WRKSRC}/install-radius-db.PL
regress:
cd ${WRKSRC}; make test
.include <bsd.port.mk>