1 | --- Portfile 2007-07-11 17:42:59.000000000 -0600 |
---|
2 | +++ Portfile.new 2007-08-14 14:46:52.000000000 -0600 |
---|
3 | @@ -1,48 +1,48 @@ |
---|
4 | # $Id: Portfile 26898 2007-07-11 05:23:51Z yves@macports.org $ |
---|
5 | |
---|
6 | -PortSystem 1.0 |
---|
7 | -name ent |
---|
8 | -version 19981020 |
---|
9 | -revision 2 |
---|
10 | -categories math security |
---|
11 | -maintainers blb@macports.org |
---|
12 | -description Entropy calculator |
---|
13 | +PortSystem 1.0 |
---|
14 | +name ent |
---|
15 | +version 19981020 |
---|
16 | +revision 2 |
---|
17 | +categories math security |
---|
18 | +maintainers blb@macports.org |
---|
19 | +description Entropy calculator |
---|
20 | long_description \ |
---|
21 | - ent applies various tests to sequences of bytes stored in files and \ |
---|
22 | - reports the results of those tests. The program is useful for those \ |
---|
23 | - evaluating pseudorandom number generators for encryption and statistical \ |
---|
24 | - sampling applications, compression algorithms, and other applications \ |
---|
25 | - where the information density of a file is of interest. |
---|
26 | - |
---|
27 | -platforms darwin |
---|
28 | - |
---|
29 | -homepage http://www.fourmilab.ch/random/ |
---|
30 | -master_sites ${homepage} |
---|
31 | -distname random |
---|
32 | -use_zip yes |
---|
33 | -worksrcdir ent |
---|
34 | + ent applies various tests to sequences of bytes stored in files and \ |
---|
35 | + reports the results of those tests. The program is useful for those \ |
---|
36 | + evaluating pseudorandom number generators for encryption and statistical \ |
---|
37 | + sampling applications, compression algorithms, and other applications \ |
---|
38 | + where the information density of a file is of interest. |
---|
39 | + |
---|
40 | +platforms darwin |
---|
41 | + |
---|
42 | +homepage http://www.fourmilab.ch/random/ |
---|
43 | +master_sites ${homepage} |
---|
44 | +distname random |
---|
45 | +use_zip yes |
---|
46 | +worksrcdir ent |
---|
47 | |
---|
48 | -checksums md5 ccaa3fffd4d84d46e9b712d0c88f008c |
---|
49 | +checksums md5 ccaa3fffd4d84d46e9b712d0c88f008c |
---|
50 | |
---|
51 | pre-extract { |
---|
52 | - extract.post_args "-d ${worksrcpath}" |
---|
53 | + extract.post_args "-d ${worksrcpath}" |
---|
54 | } |
---|
55 | |
---|
56 | -patchfiles patch-Makefile patch-randtest.c |
---|
57 | +patchfiles patch-Makefile patch-randtest.c |
---|
58 | |
---|
59 | -use_configure no |
---|
60 | +use_configure no |
---|
61 | |
---|
62 | -build.target ent |
---|
63 | +build.target ent |
---|
64 | |
---|
65 | destroot { |
---|
66 | - xinstall -m 755 -d ${destroot}${prefix}/bin \ |
---|
67 | - ${destroot}${prefix}/share/doc/${name} |
---|
68 | - xinstall -m 755 -W ${worksrcpath} ent ${destroot}${prefix}/bin |
---|
69 | - xinstall -m 644 -W ${worksrcpath} ent.html entitle.gif \ |
---|
70 | - ${destroot}${prefix}/share/doc/${name} |
---|
71 | + xinstall -m 755 -d ${destroot}${prefix}/bin \ |
---|
72 | + ${destroot}${prefix}/share/doc/${name} |
---|
73 | + xinstall -m 755 -W ${worksrcpath} ent ${destroot}${prefix}/bin |
---|
74 | + xinstall -m 644 -W ${worksrcpath} ent.html entitle.gif \ |
---|
75 | + ${destroot}${prefix}/share/doc/${name} |
---|
76 | } |
---|
77 | |
---|
78 | platform darwin { |
---|
79 | - build.args-append CFLAGS="-O3 -DHAVE_LOG2" |
---|
80 | + build.args-append CFLAGS="-O3 -DHAVE_LOG2" |
---|
81 | } |
---|
82 | |
---|