source: trunk/dports/security/botan/Portfile @ 69160

Last change on this file since 69160 was 69160, checked in by mww@…, 9 years ago

version 1.8.9

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 69160 2010-06-26 08:49:27Z mww@macports.org $
2
3PortSystem 1.0
4
5name                    botan
6version                 1.8.9
7categories              security devel
8platforms               darwin
9maintainers             mww
10description             cryptographic algorithms and formats library in C++
11long_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.
15
16homepage                http://botan.randombit.net/
17master_sites    http://files.randombit.net/botan/
18distfiles               Botan-${version}.tbz
19worksrcdir      Botan-${version}
20checksums           md5     2c1c55ae4f5bae9f6ad516e1ada2100f \
21                    sha1    e223023487e1851295c705de186077e0829a1cc0 \
22                    rmd160  f260c7a15f1f9317489a1d75cb581aa8308142a1
23use_bzip2               yes
24
25worksrcdir      Botan-${version}
26
27configure.cmd   ./configure.py
28configure.args  --docdir=share/doc --cc=gcc
29
30destroot.destdir DESTDIR=${destroot}${prefix}
31
32platform darwin   { configure.args-append --os=darwin }
33
34if {[info exists build_arch] && ${os.platform} == "darwin"} {
35    if {(${build_arch} == "i386")} {
36        configure.args-append --cpu=ia32
37        build.args CXX="${configure.cxx} -m32"
38    } elseif {(${build_arch} == "x86_64")} {
39        configure.args-append --cpu=amd64
40        build.args CXX="${configure.cxx} -m64"
41    } elseif {(${build_arch} == "ppc")} {
42        configure.args-append --cpu=ppc
43        build.args CXX="${configure.cxx} -m32"
44    } elseif {(${build_arch} == "ppc64")} {
45        configure.args-append --cpu=ppc64
46        build.args CXX="${configure.cxx} -m64"
47    }
48} else {
49    build.args CXX="${configure.cxx}"
50}
51
52livecheck.regex "(?i)<title>botan (1.8.*)</title>"
53
Note: See TracBrowser for help on using the repository browser.