Ignore:
Timestamp:
Sep 24, 2013, 7:59:07 AM (7 years ago)
Author:
jmr@…
Message:

libranlib: fix bypassing of destroot, install all docs, set license, use better homepage

File:
1 edited

Legend:

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

    r83234 r111510  
    66name                libranlib
    77version             1.0
     8revision            1
    89categories          math
     10license             Restrictive/Distributable Noncommercial
    911platforms           darwin
    1012maintainers         nomaintainer
     
    2527                    random number generator calculated from a character string.
    2628
    27 homepage            ftp://ftp.netlib.org/random/
     29homepage            http://netlib.org/random/
    2830master_sites        ftp://ftp.netlib.org/random/
    2931distname            ranlib.c
     
    4547variant universal {}
    4648
    47 build.args          CC=${configure.cc} \
    48                     CFLAGS="[get_canonical_archflags] -fno-common" \
    49                     prefix=${prefix}
     49build.args          CC="${configure.cc}" \
     50                    CFLAGS="[get_canonical_archflags cc] -fno-common" \
     51                    prefix="${prefix}"
    5052
    5153eval destroot.args  ${build.args}
     54
     55pre-activate {
     56    set readmefile ${prefix}/share/doc/libranlib/README
     57    if {[file exists $readmefile] && [registry_file_registered $readmefile] == "0"} {
     58        file delete -force $readmefile
     59    }
     60}
Note: See TracChangeset for help on using the changeset viewer.