36 lines
851 B
Makefile
36 lines
851 B
Makefile
# $OpenBSD: Makefile,v 1.13 2010/07/01 09:18:54 sthen Exp $
|
|
|
|
COMMENT= Perl module to authenticate against a RADIUS server
|
|
|
|
MODULES= cpan
|
|
DISTNAME= RadiusPerl-0.15
|
|
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
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Authen/}
|
|
WRKDIST= ${WRKDIR}/${DISTNAME:S/RadiusPerl/Authen-Radius/}
|
|
|
|
RUN_DEPENDS= :p5-MD5->=1.7:security/p5-MD5 \
|
|
:p5-Data-HexDump->=0.02:devel/p5-Data-HexDump
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
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>
|