2010-12-03 06:46:46 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2010/12/03 11:46:46 ajacoutot Exp $
|
2001-09-28 17:44:56 -04:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT= Perl module to authenticate against a RADIUS server
|
2007-01-15 12:40:09 -05:00
|
|
|
|
|
|
|
MODULES= cpan
|
2010-07-01 05:18:54 -04:00
|
|
|
DISTNAME= RadiusPerl-0.15
|
2010-12-03 06:46:46 -05:00
|
|
|
REVISION= 0
|
2010-07-01 05:18:54 -04:00
|
|
|
PKGNAME= p5-Authen-Radius-0.15
|
2007-01-15 12:40:09 -05:00
|
|
|
CATEGORIES= security
|
2001-09-28 17:44:56 -04:00
|
|
|
|
2010-07-01 05:18:54 -04:00
|
|
|
MAINTAINER= Abel Abraham Camarillo Ojeda <acamari@the00z.org>
|
|
|
|
|
2007-01-15 12:40:09 -05:00
|
|
|
# Perl
|
2001-09-28 17:44:56 -04:00
|
|
|
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/}
|
2010-07-01 05:18:54 -04:00
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME:S/RadiusPerl/Authen-Radius/}
|
2001-09-28 17:44:56 -04:00
|
|
|
|
2010-11-20 12:22:40 -05:00
|
|
|
RUN_DEPENDS= security/p5-MD5>=1.7 \
|
|
|
|
devel/p5-Data-HexDump>=0.02
|
2004-06-26 03:35:05 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2001-09-28 17:44:56 -04:00
|
|
|
|
2010-10-18 17:41:44 -04:00
|
|
|
USE_GROFF = Yes
|
2002-10-28 11:30:34 -05:00
|
|
|
REGRESS_IS_INTERACTIVE= Yes
|
|
|
|
|
2010-07-01 05:18:54 -04:00
|
|
|
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
|
2001-09-28 17:44:56 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|