Files

30 lines
1.3 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup ruby 1.0
ruby.branches 3.3 3.2 3.1
ruby.setup crypt-isaac 1.2.0 gem {} rubygems
maintainers nomaintainer
license MIT
description Implementation of the ISAAC psuedo random number generator
long_description This is a Ruby implementation of the ISAAC \
cryptographically secure PRNG. One can use it \
when one wants independent sources of high \
quality random numbers.
homepage https://github.com/wyhaines/crypt-isaac
categories-append crypto security
checksums rmd160 42de41b18e2a167aec1d07adab72fc83705fe2db \
sha256 4a5e48e279e4338c843e934dc58b049f74f562bbbeea54a9da694ef6196168d7 \
size 17408
if {${name} ne ${subport}} {
if {[string match *clang* ${configure.compiler}]} {
destroot.post_args-append \
-- --with-cflags="-fms-extensions -Wno-incompatible-function-pointer-types"
} elseif {[string match *gcc* ${configure.compiler}]} {
destroot.post_args-append \
-- --with-cflags="-fms-extensions -Wno-incompatible-pointer-types"
}
}