openbsd-ports/security/p5-Crypt-DH/Makefile
2011-04-16 11:52:45 +00:00

31 lines
660 B
Makefile

# $OpenBSD: Makefile,v 1.9 2011/04/16 11:52:45 jasper Exp $
COMMENT= Diffie-Hellman key exchange system
DISTNAME= Crypt-DH-0.06
PKGNAME= p5-${DISTNAME}
REVISION= 0
CATEGORIES= security perl5
# 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
USE_GROFF = Yes
# 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>