openbsd-ports/security/p5-Crypt-DH/Makefile
2007-09-15 23:29:57 +00:00

33 lines
695 B
Makefile

# $OpenBSD: Makefile,v 1.4 2007/09/15 23:29:59 merdely Exp $
COMMENT= Diffie-Hellman key exchange system
DISTNAME= Crypt-DH-0.06
PKGNAME= p5-${DISTNAME}
CATEGORIES= security perl5
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
# GPL/Artistic
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/}
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::security/p5-Crypt-Random
CONFIGURE_STYLE=perl
PKG_ARCH= *
# use a fast computer, tests will finish eventually
#NO_REGRESS= tests take ages to complete
pre-build:
@perl -pi -e "s/urandom/arandom/g" ${WRKSRC}/lib/Crypt/DH.pm
.include <bsd.port.mk>