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 122773 2014-07-29 15:41:45Z devans@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name meld |
---|
8 | version 3.12.3 |
---|
9 | categories textproc devel |
---|
10 | license GPL-2+ |
---|
11 | platforms darwin |
---|
12 | supported_archs noarch |
---|
13 | maintainers landonf openmaintainer |
---|
14 | homepage http://meldmerge.org/ |
---|
15 | description Visual diff and merge tool. |
---|
16 | long_description Meld is a visual diff and merge tool. You can compare \ |
---|
17 | two or three files and edit them in place (diffs \ |
---|
18 | update dynamically). You can compare two or three \ |
---|
19 | folders and launch file comparisons. You can browse \ |
---|
20 | and view a working copy from popular version control \ |
---|
21 | systems such such as CVS, Subversion, Bazaar-ng and \ |
---|
22 | Mercurial. |
---|
23 | |
---|
24 | master_sites gnome:sources/${name}/[join [lrange [split $version .] 0 1] .] |
---|
25 | use_xz yes |
---|
26 | |
---|
27 | checksums rmd160 be705d1839b4bb91cc7c211dbce1489ca9ba2870 \ |
---|
28 | sha256 db3572c5c6905b09f4fc28415a7f6f223014391492dd2165ed1bc8512ac4e6fd |
---|
29 | |
---|
30 | depends_build port:intltool \ |
---|
31 | port:itstool |
---|
32 | # port:rarian |
---|
33 | |
---|
34 | depends_lib port:gtk3 \ |
---|
35 | port:glib2 \ |
---|
36 | port:py27-gobject3 \ |
---|
37 | port:gtksourceview3 |
---|
38 | |
---|
39 | # yelp is required to display help files |
---|
40 | |
---|
41 | depends_run port:gsettings-desktop-schemas \ |
---|
42 | port:adwaita-icon-theme |
---|
43 | #depends_run port:yelp |
---|
44 | |
---|
45 | #post-patch { |
---|
46 | #reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/meld/conf.py |
---|
47 | # reinplace "s|#! /usr/bin/env python2|#! ${prefix}/bin/python2.7|" ${worksrcpath}/bin/meld |
---|
48 | #} |
---|
49 | |
---|
50 | python.default_version 27 |
---|
51 | #python.versions 27 |
---|
52 | destroot.destdir --prefix=${prefix} --root=${destroot} |
---|
53 | |
---|
54 | #post-activate { |
---|
55 | # system "${prefix}/bin/scrollkeeper-update" |
---|
56 | # system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" |
---|
57 | # system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" |
---|
58 | # system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/HighContrast" |
---|
59 | # system "${prefix}/bin/update-mime-database ${prefix}/share/mime" |
---|
60 | #} |
---|
61 | |
---|