Ignore:
Timestamp:
Sep 19, 2011, 5:48:51 PM (6 years ago)
Author:
mww@…
Message:

openssl: whitespace/ordering changes only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/openssl/Portfile

    r84151 r84153  
    44PortGroup  muniversal 1.0
    55
    6 name                    openssl
    7 version                 1.0.0e
    8 revision                1
    9 epoch                   1
    10 platforms               darwin freebsd
    11 categories              devel security
    12 maintainers             mww
    13 homepage                http://www.openssl.org/
    14 license                 OpenSSL SSLeay
    15 description             OpenSSL SSL/TLS cryptography library
     6name                openssl
     7version             1.0.0e
     8revision            1
     9epoch               1
     10platforms           darwin
     11categories          devel security
     12maintainers         mww
     13homepage            http://www.openssl.org/
     14license             OpenSSL SSLeay
     15description         OpenSSL SSL/TLS cryptography library
    1616
    1717long_description \
    18         The OpenSSL Project is a collaborative effort to develop a robust, \
    19         commercial-grade, full-featured, and Open Source toolkit implementing \
    20         the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security \
    21         (TLS v1) protocols as well as a full-strength general purpose \
    22         cryptography library.
     18    The OpenSSL Project is a collaborative effort to develop a robust, \
     19    commercial-grade, full-featured, and Open Source toolkit implementing \
     20    the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security \
     21    (TLS v1) protocols as well as a full-strength general purpose \
     22    cryptography library.
    2323
    24 master_sites    http://www.openssl.org/source/
    25 checksums           md5     7040b89c4c58c7a1016c0dfa6e821c86 \
    26                     sha1    235eb68e5a31b0f7a23bc05f52d7a39c596e2e69 \
    27                     rmd160  f7b7c8146592bb0924f145b1e3382b5a1d9283e4 \
    28                     sha256  e361dc2775733fb84de7b5bf7b504778b772869e8f7bfac0b28b935cbf7380f7
     24master_sites        http://www.openssl.org/source/
     25checksums           md5    7040b89c4c58c7a1016c0dfa6e821c86 \
     26                    sha1   235eb68e5a31b0f7a23bc05f52d7a39c596e2e69 \
     27                    rmd160 f7b7c8146592bb0924f145b1e3382b5a1d9283e4 \
     28                    sha256 e361dc2775733fb84de7b5bf7b504778b772869e8f7bfac0b28b935cbf7380f7
    2929
    30 depends_lib             port:zlib
     30depends_lib         port:zlib
    3131
    32 platform darwin {
    33         patchfiles      patch-Makefile.org.diff patch-crypto-Makefile.diff patch-bn_internal.pod.diff
     32patchfiles          patch-Makefile.org.diff patch-crypto-Makefile.diff patch-bn_internal.pod.diff
     33post-patch {
     34    # Ensure that the correct compiler is used
     35    reinplace "s|cc:|${configure.cc}:|" ${worksrcpath}/Configure
     36    # use SDK if necessary
     37    if {${configure.sdkroot} != ""} {
     38        reinplace "s|\\(-arch \[_a-zA-Z0-9\]*\\)|\\1 -isysroot ${configure.sdkroot}|" ${worksrcpath}/Configure
     39    }
    3440}
    3541
    36 configure.cmd   ./config
    37 configure.args  -L${prefix}/lib --openssldir=${prefix}/etc/openssl zlib no-asm no-krb5 shared
    38 configure.ccache        no
     42configure.cmd       ./config
     43configure.args      -L${prefix}/lib --openssldir=${prefix}/etc/openssl zlib no-asm no-krb5 shared
     44configure.ccache    no
     45
     46use_parallel_build  no
     47
     48destroot.destdir    INSTALL_PREFIX=${destroot}
     49destroot.args       MANDIR=${prefix}/share/man MANSUFFIX=ssl
     50
     51# the test suite can only be run *after* destrooting
     52test.run            yes
     53test.dir            ${worksrcpath}/test
     54test.target         alltests
     55
     56livecheck.type      regex
     57livecheck.url       ${master_sites}
     58livecheck.regex     ${name}-(\[0-9.\]+\[a-z\]?)\\.tar\\.gz
    3959
    4060variant rfc3779 description {enable RFC 3779: X.509 Extensions for IP Addresses and AS Identifiers} {
    41         configure.args-append   enable-rfc3779
     61    configure.args-append    enable-rfc3779
    4262}
    4363
    44 use_parallel_build      no
    45 
    46 destroot.destdir        INSTALL_PREFIX=${destroot}
    47 destroot.args           MANDIR=${prefix}/share/man MANSUFFIX=ssl
    48 
    49 test.run                yes
    50 
    51 livecheck.type  regex
    52 livecheck.url   ${master_sites}
    53 livecheck.regex ${name}-(\[0-9.\]+\[a-z\]?)\\.tar\\.gz
    54 
    55 post-patch {
    56         # Ensure that the correct compiler is used
    57         reinplace "s|cc:|${configure.cc}:|" ${worksrcpath}/Configure
    58         # use SDK if necessary
    59         if {${configure.sdkroot} != ""} {
    60                 reinplace "s|\\(-arch \[_a-zA-Z0-9\]*\\)|\\1 -isysroot ${configure.sdkroot}|" ${worksrcpath}/Configure
    61         }
    62 }
    63 
     64# code for universal build
    6465array set merger_configure_args {
    65         ppc     darwin-ppc-cc
    66         i386    darwin-i386-cc
    67         ppc64   darwin64-ppc-cc
    68         x86_64 darwin64-x86_64-cc
     66    ppc    darwin-ppc-cc
     67    i386   darwin-i386-cc
     68    ppc64  darwin64-ppc-cc
     69    x86_64 darwin64-x86_64-cc
    6970}
    7071
    7172if { [variant_isset universal] } {
    72         configure.cmd   ./Configure
     73    configure.cmd    ./Configure
    7374
    74         set merger_arch_compiler "no"
     75    set merger_arch_compiler "no"
    7576
    76         configure.universal_args-delete --disable-dependency-tracking
    77         configure.args-delete  --disable-dependency-tracking
     77    configure.universal_args-delete --disable-dependency-tracking
     78    configure.args-delete  --disable-dependency-tracking
    7879
    79         pre-destroot {
    80                 global merger_dont_diff
    81                 if { [llength ${universal_archs_to_use}] > 2 } {
    82                         lappend merger_dont_diff ${prefix}/include/openssl/opensslconf.h
    83                 }
    84         }
     80    pre-destroot {
     81        global merger_dont_diff
     82        if { [llength ${universal_archs_to_use}] > 2 } {
     83            lappend merger_dont_diff ${prefix}/include/openssl/opensslconf.h
     84        }
     85    }
    8586
    86         # Do not set --host.
    87         array set merger_host {
    88                 ppc     ""
    89                 i386    ""
    90                 ppc64   ""
    91                 x86_64 ""
    92         }
     87    # Do not set --host.
     88    array set merger_host {
     89        ppc    ""
     90        i386   ""
     91        ppc64  ""
     92        x86_64 ""
     93    }
    9394} elseif {[info exists merger_configure_args($build_arch)]} {
    9495    configure.cmd           ./Configure
     
    9697}
    9798
    98 # the test suite can only be run *after* destrooting
    99     test.run            yes
    100     test.dir            ${worksrcpath}/test
    101     test.target         alltests
Note: See TracChangeset for help on using the changeset viewer.