df4e1203e4
ok jasper@ (final commit)
38 lines
856 B
Makefile
38 lines
856 B
Makefile
# $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
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Authen/}
|
|
WRKDIST= ${WRKDIR}/${DISTNAME:S/RadiusPerl/Authen-Radius/}
|
|
|
|
RUN_DEPENDS= security/p5-MD5>=1.7 \
|
|
devel/p5-Data-HexDump>=0.02
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
USE_GROFF = Yes
|
|
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>
|