source: trunk/dports/math/ent/Portfile @ 87583

Last change on this file since 87583 was 87583, checked in by blb@…, 8 years ago

My ports: drop maintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 87583 2011-11-26 22:50:44Z blb@macports.org $
2
3PortSystem          1.0
4name                ent
5version             20080128
6categories          math security
7license             public-domain
8maintainers         nomaintainer
9description         Entropy calculator
10long_description \
11   ent applies various tests to sequences of bytes stored in files and \
12   reports the results of those tests.  The program is useful for those \
13   evaluating pseudorandom number generators for encryption and statistical \
14   sampling applications, compression algorithms, and other applications \
15   where the information density of a file is of interest.
16
17platforms           darwin
18
19homepage            http://www.fourmilab.ch/random/
20master_sites        ${homepage}
21distname            random
22dist_subdir         ${name}/${version}
23use_zip             yes
24worksrcdir          ent
25
26checksums           md5     8104a83af1ea5b280da96c92da18eae4 \
27                    sha1    0f2f12dc67d1f02f77776709cf5fc5eee1d1b2e2 \
28                    rmd160  b21b8401fdbd2aac189fe4a442a1164b172407f8
29
30pre-extract {
31   extract.post_args   "-d ${worksrcpath}"
32}
33
34post-extract {
35   reinplace "s|^CFLAGS = |CFLAGS = -O3 |" ${worksrcpath}/Makefile
36}
37
38use_configure       no
39
40build.target        ent
41
42destroot {
43   xinstall -m 755 -d ${destroot}${prefix}/bin \
44      ${destroot}${prefix}/share/doc/${name}
45   xinstall -m 755 -W ${worksrcpath} ent ${destroot}${prefix}/bin
46   xinstall -m 644 -W ${worksrcpath} ent.html entitle.gif \
47      ${destroot}${prefix}/share/doc/${name}
48}
49
50universal_variant   no
51
52livecheck.type      none
53
Note: See TracBrowser for help on using the repository browser.