2010-11-20 12:22:40 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2010/11/20 17:22:44 espie Exp $
|
2005-02-23 15:08:48 -05:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT= cryptographically secure random number generator
|
2005-02-23 15:08:48 -05:00
|
|
|
|
2007-01-15 12:40:09 -05:00
|
|
|
MODULES= cpan
|
2005-12-12 14:43:57 -05:00
|
|
|
DISTNAME= Crypt-Random-1.25
|
2010-07-13 16:14:21 -04:00
|
|
|
REVISION= 0
|
2007-01-15 12:40:09 -05:00
|
|
|
CATEGORIES= security
|
2010-10-18 17:41:44 -04:00
|
|
|
USE_GROFF = Yes
|
2005-02-23 15:08:48 -05:00
|
|
|
|
|
|
|
# GPL/Artistic
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2010-11-20 12:22:40 -05:00
|
|
|
RUN_DEPENDS= devel/p5-Class-Loader \
|
|
|
|
math/p5-Math-Pari
|
2005-02-23 15:08:48 -05:00
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@perl -pi -e "s,/dev/urandom,/dev/arandom,g;" \
|
|
|
|
-e "s,/dev/random,/dev/srandom,g;" \
|
|
|
|
${WRKSRC}/lib/Crypt/Random.pm \
|
|
|
|
${WRKSRC}/lib/Crypt/Random/Provider/devrandom.pm \
|
|
|
|
${WRKSRC}/lib/Crypt/Random/Provider/devurandom.pm
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|