source: trunk/dports/devel/mono/Portfile @ 4240

Last change on this file since 4240 was 4240, checked in by mww, 17 years ago

new port devel/mono

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1# $Id: Portfile,v 1.1 2003/12/17 21:28:06 mww Exp $
2
3PortSystem 1.0
4
5name            mono
6version         0.29
7categories      devel
8platforms       darwin
9maintainers     mww@opendarwin.org
10description     Implementation of the .NET Development Framework
11long_description        Mono is an effort to create an open source \
12                        implementation of the .NET Development Framework \
13                        including a C# compiler.
14
15homepage        http://www.go-mono.com
16master_sites    ${homepage}/archive/
17checksums       md5 3f79461475bacc2ec4c3f85de213d8a0
18
19depends_lib     bin:pkg-config:pkgconfig \
20                lib:libglib.2:glib2
21
22variant darwin  {
23        patchfiles      patch-sockets.h.diff
24
25        configure.args  --disable-shared \
26                        --with-gc=none
27}
28
29configure.env   CPPFLAGS="-I${prefix}/include" \
30                LDFLAGS="-L${prefix}/lib"
31
32destroot.destdir        DESTDIR=${destroot}
33
34post-destroot   {
35        set doc ${worksrcpath}/docs
36        file mkdir ${destroot}${prefix}/share/doc/${name}
37        file copy ${doc}/assembly-bundle ${doc}/embedded-api ${doc}/exceptions \
38                ${doc}/gc-issues ${doc}/jit-thoughts ${doc}/jit-trampolines \
39                ${doc}/object-layout ${doc}/stack-alignment \
40                ${doc}/unmanaged-calls ${worksrcpath}/AUTHORS \
41                ${worksrcpath}/COPYING.LIB ${worksrcpath}/ChangeLog \
42                ${worksrcpath}/NEWS ${worksrcpath}/README \
43                ${destroot}${prefix}/share/doc/${name}
44}
45
Note: See TracBrowser for help on using the repository browser.