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

Last change on this file since 11815 was 11815, checked in by blb, 12 years ago

Port: ent
Version: 19981020
Revision: 1

Update port math/ent
Install gif referenced in HTML doc; clean up style; expand long_description;
switch to xinstall

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.2 2005/04/15 06:10:49 blb Exp $
2
3PortSystem                      1.0
4name                            ent
5version                         19981020
6revision                        1
7categories                      math security
8maintainers                     blb@pobox.com
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
22use_zip                         yes
23worksrcdir                      ent
24
25checksums                       md5 ccaa3fffd4d84d46e9b712d0c88f008c
26
27pre-extract {
28        extract.post_args       "-d ${worksrcpath}"
29}
30
31patchfiles                      patch-Makefile
32
33use_configure           no
34
35build.target            ent
36
37destroot {
38        xinstall -m 755 -d ${destroot}${prefix}/bin \
39                ${destroot}${prefix}/share/doc/${name}
40        xinstall -m 755 -W ${worksrcpath} ent ${destroot}${prefix}/bin
41        xinstall -m 644 -W ${worksrcpath} ent.html entitle.gif \
42                ${destroot}${prefix}/share/doc/${name}
43}
44
Note: See TracBrowser for help on using the repository browser.