source: trunk/dports/textproc/meld/Portfile

Last change on this file was 142698, checked in by landonf@…, 23 months ago

Drop maintainership of (almost) all my ports, as I'm no longer using Mac OS X as my desktop OS.

The dict port here dates back to ~2002; it was the first port used as a test case when we were developing MacPorts.

  • 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 142698 2015-11-20 16:55:09Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    meld
7version                 1.8.6
8categories              textproc devel
9license                 GPL-2+
10platforms               darwin
11supported_archs noarch
12maintainers             nomaintainer
13homepage                http://meldmerge.org/
14description             Visual diff and merge tool.
15long_description        Meld is a visual diff and merge tool. You can compare \
16                        two or three files and edit them in place (diffs \
17                        update dynamically). You can compare two or three \
18                        folders and launch file comparisons. You can browse \
19                        and view a working copy from popular version control \
20                        systems such such as CVS, Subversion, Bazaar-ng and \
21                        Mercurial.
22
23master_sites            gnome:sources/${name}/[join [lrange [split $version .] 0 1] .]
24use_xz                  yes
25
26checksums               rmd160  7c981c08a015a1a0706cbe98416a25e0963af0cb \
27                        sha256  af96682b8f4bf3ad4221c853b1516218d62a17ff43c38f4a83e7e8ac6736e8a5
28
29depends_build           port:intltool
30
31depends_lib             port:desktop-file-utils \
32                        port:shared-mime-info \
33                        port:rarian \
34                        port:gtk2 \
35                        port:py27-pygtk \
36                        port:py27-gobject \
37                        port:py27-pygtksourceview
38
39# yelp is required to display help files
40
41depends_run             port:yelp
42
43post-patch {
44    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/INSTALL
45    reinplace "s|#! /usr/bin/env python|#! ${prefix}/bin/python2.7|" ${worksrcpath}/bin/meld
46}
47
48use_configure           no
49
50build.args              PYTHON=${prefix}/bin/python2.7
51
52post-activate {
53    system "${prefix}/bin/scrollkeeper-update"
54    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
55    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
56    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/HighContrast"
57    system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
58}
Note: See TracBrowser for help on using the repository browser.