# $Id: Portfile 111465 2013-09-23 15:10:09Z jmr@macports.org $ PortSystem 1.0 name libtomcrypt version 1.17 categories security license public-domain maintainers nomaintainer description cryptographic toolkit long_description \ LibTomCrypt is a fairly comprehensive, modular and portable \ cryptographic toolkit that provides developers with a vast \ array of well known published block ciphers, one-way hash \ functions, chaining modes, pseudo-random number generators, \ public key cryptography and a plethora of other routines. homepage http://libtom.org/ platforms darwin master_sites ${homepage}files/ distname crypt-${version} use_bzip2 yes checksums sha1 9c746822c84e4276e432b64964f94d1d5ddd13ad \ rmd160 742d72d82fea2e6a9865d8c682c10cbaba69ea2f worksrcdir ${name}-${version} use_configure no build.target build.env CC=${configure.cc} CFLAGS="${configure.cc_archflags}" destroot.args LIBPATH=${prefix}/lib INCPATH=${prefix}/include \ USER=`id -u` GROUP=`id -g` NODOCS=1 post-destroot { # the makefile wants to rebuild this if you tell it to install it xinstall -d ${destroot}${prefix}/share/doc/${name} xinstall -m 444 ${worksrcpath}/doc/crypt.pdf ${destroot}${prefix}/share/doc/${name} }