Changeset 97231


Ignore:
Timestamp:
Aug 31, 2012, 6:08:47 PM (5 years ago)
Author:
jmr@…
Message:

gmp-cxx-wrappers: replaced_by gmp (#34917)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/gmp-cxx-wrappers/Portfile

    r30224 r97231  
    22
    33PortSystem 1.0
     4
    45name            gmp-cxx-wrappers
     6replaced_by     gmp
    57version         4.2.1
    6 revision        2
     8revision        3
    79categories      devel math
    810maintainers     nomaintainer
     
    1618homepage        http://www.swox.com/gmp/
    1719
    18 master_sites    gnu:gmp
     20distfiles
     21archive_sites
    1922
    20 use_bzip2       yes
    21 distfiles       gmp-${version}${extract.suffix}
    22 checksums       gmp-${version}${extract.suffix} md5 091c56e0e1cca6b09b17b69d47ef18e3
    23 
    24 depends_run     port:gmp
    25 
    26 worksrcdir      gmp-${version}
    27 
    28 configure.env   ABI=32
    29 configure.cflags-append -force_cpusubtype_ALL
    30 configure.args \
    31         --infodir=\\\${prefix}/share/info \
    32         --enable-shared \
    33         --enable-cxx
    34 
    35 test.run                yes
    36 test.target             check
    37 
    38 post-destroot {
    39         ui_msg "$UI_PREFIX Running ranlib on static libraries"
    40         system "ranlib ${destroot}${prefix}/lib/libgmpxx.a"
    41        
    42         delete ${destroot}${prefix}/include/gmp.h
    43        
    44         delete ${destroot}${prefix}/lib/libgmp.a
    45         delete ${destroot}${prefix}/lib/libgmp.la
    46         delete ${destroot}${prefix}/lib/libgmp.dylib
    47         delete ${destroot}${prefix}/lib/libgmp.3.dylib
    48         delete ${destroot}${prefix}/lib/libgmp.3.4.1.dylib
    49        
    50         delete ${destroot}${prefix}/share
     23pre-fetch {
     24    ui_error "$name is obsolete, please install $replaced_by instead."
     25    return -code error "obsolete port"
    5126}
    52 
    53 platform darwin i386 {
    54         configure.env-delete    ABI=32
    55         configure.args-append   --host=none-apple-darwin
    56         configure.cflags-delete -force_cpusubtype_ALL
    57 }
Note: See TracChangeset for help on using the changeset viewer.