source: trunk/dports/math/diehard/Portfile

Last change on this file was 122277, checked in by jmr@…, 3 years ago

diehard: fix build

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 861 bytes
Line 
1# $Id: Portfile 122277 2014-07-19 04:24:35Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    diehard
6version                 0.1
7categories              math
8license                 none
9platforms               darwin
10maintainers             nomaintainer
11description             Marsaglia's Diehard Battery of Tests of Randomness
12long_description        ${description}
13
14homepage                http://stat.fsu.edu/pub/diehard/
15master_sites    http://www.cs.hku.hk/~diehard/cdrom/ \
16                                http://stat.fsu.edu/pub/diehard/ freebsd
17distname                die.c
18checksums               md5 854ea157c0ff73dd0d58928c834b6122
19
20patchfiles              diehard.c.patch Makefile.patch cdomso.c.patch
21
22use_configure   no
23
24build.target
25build.args      CC=${configure.cc} LDFLAGS="${configure.ld_archflags}" \
26                CFLAGS="${configure.cflags} ${configure.cc_archflags}"
27
28destroot {
29        xinstall -m 755 ${worksrcpath}/diehard ${destroot}${prefix}/bin
30        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
31        xinstall -m 644 ${worksrcpath}/NOTES ${destroot}${prefix}/share/doc/${name}
32}
Note: See TracBrowser for help on using the repository browser.