source: trunk/dports/gnome/mlview/Portfile @ 110904

Last change on this file since 110904 was 110904, checked in by jmr@…, 6 years ago

mlview: correct license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 110904 2013-09-09 19:25:29Z jmr@macports.org $
3
4PortSystem      1.0
5
6name            mlview
7version         0.9.0
8license         GPL-2+
9set branch      [join [lrange [split ${version} .] 0 1] .]
10description     XML-editor for GNOME 2.
11long_description \
12                The MlView project is an ongoing effort to develop \
13                an XML editor for the GNOME 2 environment.
14maintainers     nomaintainer
15categories      gnome
16platforms       darwin
17homepage        http://www.freespiders.org/projects/gmlview/
18master_sites    gnome:sources/${name}/${branch}/
19
20use_bzip2       yes
21
22checksums       rmd160  6b810b478dbdb76dd4bb28fe627e455410f89ea7 \
23                sha256  568ce3fefe83eb163b4fbd7d62954ec3cad3000e966cd9f7461c2c9a3edb4dca
24
25depends_build   port:intltool \
26                port:pkgconfig
27
28depends_lib     port:desktop-file-utils \
29                port:libxml2 \
30                port:libxslt \
31                port:gtkmm \
32                port:libglademm \
33                port:libgnome \
34                port:gnome-vfs \
35                port:libgnomeui \
36                port:gconf \
37                port:gtksourceview \
38                port:vte
39
40patchfiles      patch-assert-function.diff \
41                patch-extra-qualification.diff \
42                patch-missing-links.diff \
43                patch-src-mlview-exec-command-dialog.cc.diff \
44                patch-tests-firstplugin.xml.diff
45
46post-patch {
47    reinplace "s|@@MP_PREFIX@@|${prefix}|" ${worksrcpath}/tests/firstplugin.xml
48}
49
50# TODO: Fix buggy C++ code that clang complains about
51compiler.blacklist *clang*
52
53platform darwin {
54    if {${os.major} >= 13} {
55        depends_lib
56        depends_run
57        pre-fetch {
58            ui_error "$name does not build on Mavericks or later."
59            error "unsupported platform"
60        }
61    }
62}
63
64configure.args  --mandir=${prefix}/share/man \
65                --disable-schemas-install
66
67universal_variant no
68
69post-activate {
70    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
71    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
72        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
73}
74
75livecheck.type  gnome-with-unstable
Note: See TracBrowser for help on using the repository browser.