source: trunk/dports/devel/cocoa-sharp/Portfile

Last change on this file was 122789, checked in by jmr@…, 3 years ago

cocoa-sharp: add dep on autoconf, uses autom4te

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 122789 2014-07-29 20:43:01Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            cocoa-sharp
6version         0.2
7categories      devel
8license         GPL-2
9platforms       macosx
10maintainers     nomaintainer
11description     Cocoa bindings for the Mono .NET Development Framework
12long_description        These are Cocoa bindings for Mono, which is an \
13                        implementation of the .NET Development Framework.
14
15homepage        http://www.go-mono.org/
16master_sites    ${homepage}archive/1.1.4/ http://ftp.novell.com/pub/mono/archive/old/1.1.4/
17extract.suffix  .tgz
18checksums       md5 dfbbf5871a38ecb3bd50799831b16f05
19
20depends_build   port:pkgconfig bin:autom4te:autoconf bin:automake:automake
21depends_lib     port:mono
22
23# mono is not universal
24universal_variant       no
25
26worksrcdir      ${name}
27
28post-patch {
29        reinplace "s|aclocal$|aclocal -I ${prefix}/share/aclocal|" \
30                "${worksrcpath}/autogen.sh"
31        foreach fw {Foundation AppKit WebKit} {
32                reinplace "s|libCocoa|${prefix}/lib/libCocoa|" \
33                        "${worksrcpath}/src/Apple.$fw/Apple.$fw.dll.config"
34        }
35}
36configure.cmd   ./autogen.sh
37                       
38destroot.destdir        DESTDIR=${destroot} \
39        GACUTIL_FLAGS='/package ${name} /root ${destroot}\$(libdir)'
Note: See TracBrowser for help on using the repository browser.