source: trunk/dports/gnome/gtksourceview-sharp2/Portfile

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

gtksourceview-sharp2: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 112596 2013-10-27 19:10:30Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            gtksourceview-sharp2
7set my_name     gtksourceview-sharp-2.0
8version         0.12
9categories      gnome devel
10license         LGPL-2
11maintainers     nomaintainer
12platforms       darwin
13description     C# Bindings for GtkSourceView.
14
15long_description \
16    ${description}
17
18homepage        http://www.mono-project.com/GtkSharp
19master_sites    http://download.mono-project.com/sources/${name}/
20distname        ${my_name}-${version}
21use_bzip2       yes
22
23checksums       md5     f0c9c6dc24b677d9208b0c8c38e769a4 \
24                sha1    36e673a67922b35b9b28b91e20464aa2fd9b457d \
25                rmd160  b9f54d87a4f61e81040f05ff9fddc389b3470510
26
27patchfiles      patch-Makefile.in.diff
28
29depends_build   port:pkgconfig
30
31depends_lib     port:mono \
32                path:lib/pkgconfig/glib-2.0.pc:glib2 \
33                port:gtk-sharp2 \
34                port:gnome-sharp2 \
35                port:gtksourceview
36
37configure.args  ac_cv_path_MONODOCER=no
38
39post-configure {
40    # TODO This shouldn't be needed, we need to fix Mono dllmap library path.
41    fs-traverse {f} ${worksrcpath} {
42        if {[string match *.dll.config ${f}]} {
43            reinplace -E "s|(target=\")|\\1${prefix}/lib/|" ${f}
44        }
45    }
46}
47
48universal_variant   no
49
50livecheck.type  regex
51livecheck.url   ${master_sites}
52livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.