mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
for pf in */*/Portfile
do
ed -s "$pf" <<-'EOF'
1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
1g/^[[:space:]]*$/d
w
q
EOF
done
31 lines
853 B
Plaintext
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}
|
|
}
|