Ticket #11075: dports_devel_libgcrypt_1_2_3.patch

File dports_devel_libgcrypt_1_2_3.patch, 3.2 KB (added by mark@…, 17 years ago)
  • libgcrypt/Portfile

    ==== Patch <dports_devel_libgcrypt> level 1
    Source: f4683a9b-5f3c-4ec4-b7f8-a7e21da36217:/local/trunk/dports/devel:20131 [local]
    Target: d073be05-634f-4543-b044-5fe20cf6d1d6:/trunk/dports/devel:20771 [mirrored]
            (http://svn.macports.org/repository/macports/trunk)
    Log:
     r19897@entropy:  mark | 2006-11-08 11:01:13 -0800
     Copy the mirrored repository to a local repository.
     r20130@entropy:  mark | 2006-11-27 23:18:11 -0800
     update to 1.2.3
    
    === libgcrypt/Portfile
    ==================================================================
     
    11# $Id$
    22
    33PortSystem 1.0
    4 name            libgcrypt
    5 version         1.2.2
    6 categories      devel
    7 maintainers     mij@macports.org
    8 description     Crypto library
    9 homepage        http://www.g10code.de/p-libgcrypt.html
    10 platforms       darwin
     4name              libgcrypt
     5version           1.2.3
     6categories        devel
     7maintainers       mij@macports.org
     8description       Crypto library
     9homepage          http://www.g10code.de/p-libgcrypt.html
     10platforms         darwin
    1111
    12 long_description This is a general purpose cryptographic library based \
    13                 on the code from GnuPG. It provides functions for all \
    14                  cryptograhic building blocks: symmetric ciphers (AES, DES, \
    15                  Blowfish, CAST5, Twofish, Arcfour), hash algorithms (MD4, \
    16                  MD5, RIPE-MD160, SHA-1, TIGER-192), MACs (HMAC for all hash \
    17                  algorithms), public key algorithms (RSA, ElGamal, DSA), \
    18                 large integer functions, random numbers and a lot of \
    19                  supporting functions.
     12long_description  This is a general purpose cryptographic library based \
     13                  on the code from GnuPG. It provides functions for all \
     14                  cryptograhic building blocks: symmetric ciphers (AES, \
     15                  DES, Blowfish, CAST5, Twofish, Arcfour), hash algorithms \
     16                  (MD4, MD5, RIPE-MD160, SHA-1, TIGER-192), MACs (HMAC for \
     17                  all hash algorithms), public key algorithms (RSA, ElGamal, \
     18                  DSA), large integer functions, random numbers and a lot of \
     19                  supporting functions.
    2020
    21 master_sites    http://ftp.gnupg.org/gcrypt/libgcrypt/ \
    22                 ftp://mirror.switch.ch/mirror/gnupg/libgcrypt/ \
    23                 ftp://ftp.gnupg.org/gcrypt/libgcrypt/
    24 checksums       md5 4a8a9a7572892ae3803a5aa558e52e02
    25 use_bzip2       yes
     21master_sites      http://ftp.gnupg.org/gcrypt/libgcrypt/ \
     22                  ftp://mirror.switch.ch/mirror/gnupg/libgcrypt/ \
     23                  ftp://ftp.gnupg.org/gcrypt/libgcrypt/
     24checksums         md5 49810175ab672b19a02509d2a670b156
     25use_bzip2         yes
    2626
    27 depends_lib     port:libgpg-error
     27depends_lib       port:libgpg-error
    2828
    29 configure.args  --disable-asm --infodir=${prefix}/share/info
     29configure.args    --disable-asm --infodir=${prefix}/share/info
    3030
    31 platform darwin 6 { patchfiles-append patch-src-ath.h }
     31platform darwin 6 {
     32   patchfiles-append    patch-src-ath.h
     33}
    3234platform darwin 8 {
    33         configure.env   CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
     35   configure.env        CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 \
     36                        CXX=/usr/bin/g++-4.0
    3437}
    3538
    3639# Delete info dir file (yuck)
    3740post-destroot {
    38         file delete ${destpath}/${prefix}/share/info/dir
     41   file delete ${destpath}/${prefix}/share/info/dir
    3942}