source: trunk/dports/devel/gecko-sharp2/Portfile

Last change on this file was 115837, checked in by jmr@…, 4 years ago

gecko-sharp2: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 115837 2014-01-12 20:07:17Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            gecko-sharp2
7set my_name     gecko-sharp-2.0
8version         0.13
9categories      devel
10license         {MPL-1.1 LGPL-2.1}
11maintainers     nomaintainer
12platforms       darwin
13description     GeckoSharp is a wrapper for the GtkEmbedMoz widget.
14
15long_description \
16    GeckoSharp is a wrapper for the GtkEmbedMoz widget. It provides \
17    the abilty to embed the Mozilla rendering engine (Gecko) into your \
18    Gtk# application.
19
20homepage        http://www.mono-project.com/GeckoSharp
21master_sites    http://ftp.novell.com/pub/mono/sources/$name/
22distname        ${my_name}-${version}
23use_bzip2       yes
24
25checksums       md5     f88eaa06e71f8d8fa34cf59a3e034a6b \
26                sha1    2435ce6fdb130d59e7479758d1bd98d334704e58 \
27                rmd160  af1eafb98583f2eb5e3f3ee877ea3f8fd0e6757f
28
29depends_build   port:pkgconfig
30
31depends_lib     port:mono \
32                port:gtk2 \
33                port:gtk-sharp2
34
35# mono is not universal
36universal_variant   no
37
38configure.args  ac_cv_path_MONODOCER=no
39
40post-configure {
41    # TODO This shouldn't be needed, we need to fix Mono dllmap library path.
42    fs-traverse {f} ${worksrcpath} {
43        if {[string match *.dll.config ${f}]} {
44            reinplace -E "s|(target=\")|\\1${prefix}/lib/|" ${f}
45        }
46    }
47
48    reinplace "s/libgtk-x11-2\\.0\\.0\\.dylib/[glob -tail -path $prefix/lib/ libgtk-*-2.0.0.dylib]/" \
49        $worksrcpath/gtkmozembed/gecko-sharp.dll.config
50}
51
52use_parallel_build  yes
53
54livecheck.type  regex
55livecheck.url   http://go-mono.com/sources-stable/
56livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.