Ticket #18858: diff-botan_Portfile.patch

File diff-botan_Portfile.patch, 2.6 KB (added by tommyd@…, 15 years ago)

Add support for openssl, zlib and bzip2

  • Portfile

     
    22
    33PortSystem 1.0
    44
    5 name                    botan
    6 version                 1.8.1
    7 categories              security devel
    8 platforms               darwin
    9 maintainers             mww
    10 description             cryptographic algorithms and formats library in C++
    11 long_description        Botan is a C++ library implementing a variety of \
    12                                 cryptographic algorithms and formats. At this time, it is \
    13                                 quite stable, and is suitable for use in a wide variety of \
    14                                 programs.
     5name            botan
     6version         1.8.1
     7revision        1
     8categories      security devel
     9platforms       darwin
     10maintainers     mww
     11description     cryptographic algorithms and formats library in C++
     12long_description \
     13                Botan is a C++ library implementing a variety of \
     14                cryptographic algorithms and formats. At this time, it is \
     15                quite stable, and is suitable for use in a wide variety of \
     16                programs.
    1517
    16 homepage                http://botan.randombit.net/
    17 master_sites    http://files.randombit.net/botan/
    18 distfiles               Botan-${version}.tbz
    19 checksums           md5     23805517630902e0466a42a8eb596f24 \
    20                     sha1    34de2dc6bcb19958b0cd8668412f1471a18e0e1d \
    21                     rmd160  3aea2b8d2fe5d37ad06f38b390b564d100d8db60
    22 use_bzip2               yes
    23 patchfiles              patch-src-build-data-cc-gcc.diff patch-src-build-data-botan-config.in.diff
     18homepage        http://botan.randombit.net/
     19master_sites    http://files.randombit.net/botan/
     20distfiles       Botan-${version}.tbz
     21checksums       md5     23805517630902e0466a42a8eb596f24 \
     22                sha1    34de2dc6bcb19958b0cd8668412f1471a18e0e1d \
     23                rmd160  3aea2b8d2fe5d37ad06f38b390b564d100d8db60
     24use_bzip2       yes
     25patchfiles      patch-src-build-data-cc-gcc.diff \
     26                patch-src-build-data-botan-config.in.diff
    2427
    25 configure.cmd   ./configure.pl
    26 configure.args  --docdir=share/doc
     28depends_lib-append \
     29                port:zlib \
     30                port:bzip2 \
     31                port:openssl
     32
     33configure.cmd    ./configure.pl
     34# botan supports gnump as optional module to speed things up, but we won't
     35# opt-in for that because gnump does not support Apple's gcc
     36# (more info here: http://gmplib.org/macos.html)
     37configure.args  --docdir=share/doc \
     38                --with-openssl \
     39                --with-zlib \
     40                --with-bzip2
     41
    2742# uses CC to select the compiler suite, instead of finding the C-compiler executable
    28 configure.cc    gcc
     43configure.cc    gcc
    2944
    3045destroot.destdir DESTDIR=${destroot}${prefix}
    3146