Files
Lawrence VelázquezandMojca Miklavec 34b3070336 Remove all $Id$ lines
for pf in */*/Portfile
do
    ed -s "$pf" <<-'EOF'
	1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
	1g/^[[:space:]]*$/d
	w
	q
	EOF
done
2016-12-28 18:14:04 +01:00

31 lines
853 B
Plaintext

PortSystem 1.0
name diehard
version 0.1
categories math
license none
platforms darwin
maintainers nomaintainer
description Marsaglia's Diehard Battery of Tests of Randomness
long_description ${description}
homepage http://stat.fsu.edu/pub/diehard/
master_sites http://www.cs.hku.hk/~diehard/cdrom/ \
http://stat.fsu.edu/pub/diehard/ freebsd
distname die.c
checksums md5 854ea157c0ff73dd0d58928c834b6122
patchfiles diehard.c.patch Makefile.patch cdomso.c.patch
use_configure no
build.target
build.args CC=${configure.cc} LDFLAGS="${configure.ld_archflags}" \
CFLAGS="${configure.cflags} ${configure.cc_archflags}"
destroot {
xinstall -m 755 ${worksrcpath}/diehard ${destroot}${prefix}/bin
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 ${worksrcpath}/NOTES ${destroot}${prefix}/share/doc/${name}
}