Skip to content
Browse files

new port devel/libffi

this is the libffi checkout from the py-objc project (as there is currently no separat recent version available - at least I didn't find one)

git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Jan 13, 2004
1 parent 7519533 commit 60fc2b103daaf8d7579919ecb8e637202b49592a
Showing with 40 additions and 0 deletions.
  1. +40 −0 devel/libffi/Portfile
@@ -0,0 +1,40 @@
# $Id: Portfile,v 1.1 2004/01/13 21:06:10 mww Exp $

PortSystem 1.0

name libffi
version 20030921
categories devel
platforms darwin
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.

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 \

0 comments on commit 60fc2b1

Please sign in to comment.
You can’t perform that action at this time.