# $Id: Portfile,v 1.2 2004/01/22 11:12:30 jkh Exp $ PortSystem 1.0 name libffi version 20030921 categories devel platforms darwin maintainers mww@opendarwin.org description libffi provides a high level api to various calling conventions long_description libffi library provides a portable, high level \ programming interface to various calling conventions. \ This allows a programmer to call any function \ specified by a call interface description at run-time. \ Some programs may not know at the time of compilation \ what arguments are to be passed to a function. For \ instance, an interpreter may be told at run-time about \ the number and types of arguments used to call a given \ function. Libffi can be used in such programs to \ provide a bridge from the interpreter program to \ compiled code. homepage http://sources.redhat.com/libffi/ master_sites sourceforge:pyobjc distname ${name}-src-${version} checksums md5 309eb4815cbafdee7f951ac1692e4394 set worksrcpath ${workpath}/libffi-src/src configure.cmd ../configure build.dir ${configure.dir} post-destroot { file mkdir ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/../ChangeLog \ ${worksrcpath}/../ChangeLog.libgcj \ ${worksrcpath}/../ChangeLog.v1 ${worksrcpath}/../LICENSE \ ${worksrcpath}/../README ${worksrcpath}/../ReadMe.PyObjC \ ${destroot}${prefix}/share/doc/${name} }