Ignore:
Timestamp:
Apr 15, 2005, 6:10:49 AM (12 years ago)
Author:
blb
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/ent/Portfile

    r4315 r11815  
    1 # $Id: Portfile,v 1.1 2003/12/27 16:38:29 mww Exp $
     1# $Id: Portfile,v 1.2 2005/04/15 06:10:49 blb Exp $
    22
    3 PortSystem      1.0
    4 name            ent
    5 version         19981020
    6 categories      math security
    7 maintainers     blb@pobox.com
    8 description     Entropy calculation and analysis of putative random sequences.
     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.
    916
    10 long_description ${description}
     17platforms                       darwin
    1118
    12 platforms       darwin
     19homepage                        http://www.fourmilab.ch/random/
     20master_sites            ${homepage}
     21distname                        random
     22use_zip                         yes
     23worksrcdir                      ent
    1324
    14 homepage        http://www.fourmilab.ch/random/
    15 master_sites    ${homepage}
    16 distname        random
    17 use_zip         yes
    18 checksums       md5 ccaa3fffd4d84d46e9b712d0c88f008c
     25checksums                       md5 ccaa3fffd4d84d46e9b712d0c88f008c
    1926
    20 worksrcdir      ent
    2127pre-extract {
    2228        extract.post_args       "-d ${worksrcpath}"
    2329}
    2430
    25 patchfiles      patch-Makefile
     31patchfiles                      patch-Makefile
    2632
    27 use_configure   no
     33use_configure           no
    2834
    29 build.target    ent
     35build.target            ent
    3036
    3137destroot {
    32         file mkdir "${destroot}/${prefix}/bin" \
    33                 "${destroot}/${prefix}/share/doc/${name}"
    34         file copy "${worksrcpath}/ent" "${destroot}/${prefix}/bin/"
    35         file copy "${worksrcpath}/ent.html" \
    36                 "${destroot}/${prefix}/share/doc/${name}"
     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}
    3743}
    3844
Note: See TracChangeset for help on using the changeset viewer.