# $Id: Portfile 45307 2009-01-13 12:02:26Z mww@macports.org $ PortSystem 1.0 name botan version 1.8.0 categories security devel platforms darwin maintainers mww description cryptographic algorithms and formats library in C++ long_description Botan is a C++ library implementing a variety of \ cryptographic algorithms and formats. At this time, it is \ quite stable, and is suitable for use in a wide variety of \ programs. homepage http://botan.randombit.net/ master_sites http://files.randombit.net/botan/ distfiles Botan-${version}.tbz checksums sha1 2e584bf3b32203c22f76e033c91e2fdcdbb02972 use_bzip2 yes patchfiles patch-src-build-data-cc-gcc.diff configure.cmd ./configure.pl configure.args --docdir=share/doc # uses CC to select the compiler suite, instead of finding the C-compiler executable configure.cc gcc #platform darwin 8 { configure.args-append --cc=/usr/bin/g++-4.0 } platform darwin 9 { build.args CXX=/usr/bin/g++-4.0 } platform darwin i386 { configure.args-append --cpu=i686 } platform darwin { configure.args-append --os=darwin } destroot.destdir DESTDIR=${destroot}${prefix} #destroot.destdir INSTALLROOT=${destroot}${prefix} \ # OWNER=`id -u` \ # GROUP=`id -g`