# $Id: Portfile 34180 2008-02-16 17:12:05Z css@macports.org $ PortSystem 1.0 name cryptlib version 3.3.1 categories devel security crypto maintainers nomaintainer description cryptlib is a powerful security toolkit (library) long_description \ cryptlib is a powerful security toolkit that allows even inexperienced \ crypto programmers to easily add encryption and authentication services \ to their software. The high-level interface provides anyone with the \ ability to add strong security capabilities to an application in as \ little as half an hour, without needing to know any of the low-level \ details that make the encryption or authentication work. platforms darwin sunos homepage http://www.cs.auckland.ac.nz/~pgut001/cryptlib/ master_sites ftp://ftp.franken.de/pub/crypt/cryptlib/ distname cl331 use_zip yes checksums md5 3e93e5aa0b33fb1d5b05b099f01e0afe \ sha1 892a891a52b946e86664909157a290e30e1b1fe3 worksrcdir cryptlib pre-extract { extract.pre_args-append "-a" extract.post_args "-d ${worksrcpath}" } use_configure no build.target default shared build.args LIBDIR=${prefix}/lib destroot { set drprefix ${destroot}${prefix} file mkdir "${drprefix}/lib" "${drprefix}/include" \ "${drprefix}/share/doc/${name}" xinstall -m 644 ${worksrcpath}/libcl.a ${worksrcpath}/${cryptlibDylib} \ ${drprefix}/lib system "ln -s ${cryptlibDylib} ${drprefix}/lib/${cryptlibDylibLink}" xinstall -m 644 ${worksrcpath}/cryptlib.h ${drprefix}/include xinstall -m 644 ${worksrcpath}/README ${drprefix}/share/doc/${name}/ system "/bin/echo ${homepage} > ${drprefix}/share/doc/${name}/website" } platform darwin 7 { patchfiles-append patch-makefile.darwin7 } platform darwin { global cryptlibDylib cryptlibDylibLink set cryptlibDylib libcl.3.3.dylib set cryptlibDylibLink libcl.dylib } platform sunos { global cryptlibDylib cryptlibDylibLink patchfiles-append patch-makefile.sunos set cryptlibDylib libcl.so.3.3 set cryptlibDylibLink libcl.so }