a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
name cocoa-sharp
version 0.2
categories devel
platforms macosx
maintainers nomaintainer@macports.org
description Cocoa bindings for the Mono .NET Development Framework
long_description These are Cocoa bindings for Mono, which is an \
implementation of the .NET Development Framework.
homepage http://www.go-mono.org/
master_sites ${homepage}archive/1.1.4/
extract.suffix .tgz
checksums md5 dfbbf5871a38ecb3bd50799831b16f05
depends_lib bin:mono:mono \
bin:automake:automake
worksrcdir ${name}
pre-configure {
reinplace "s|aclocal$|aclocal -I ${prefix}/share/aclocal|" \
"${worksrcpath}/autogen.sh"
foreach fw {Foundation AppKit WebKit} {
reinplace "s|libCocoa|${prefix}/lib/libCocoa|" \
"${worksrcpath}/src/Apple.$fw/Apple.$fw.dll.config"
}
}
configure.cmd ./autogen.sh
destroot.destdir DESTDIR=${destroot} \
GACUTIL_FLAGS='/package ${name} /root ${destroot}\$(libdir)'