# -*- 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 # $Id$ PortSystem 1.0 name meld version 1.8.6 categories textproc devel license GPL-2+ platforms darwin supported_archs noarch maintainers nomaintainer homepage http://meldmerge.org/ description Visual diff and merge tool. long_description Meld is a visual diff and merge tool. You can compare \ two or three files and edit them in place (diffs \ update dynamically). You can compare two or three \ folders and launch file comparisons. You can browse \ and view a working copy from popular version control \ systems such such as CVS, Subversion, Bazaar-ng and \ Mercurial. master_sites gnome:sources/${name}/[join [lrange [split $version .] 0 1] .] use_xz yes checksums rmd160 7c981c08a015a1a0706cbe98416a25e0963af0cb \ sha256 af96682b8f4bf3ad4221c853b1516218d62a17ff43c38f4a83e7e8ac6736e8a5 depends_build port:intltool depends_lib port:desktop-file-utils \ port:shared-mime-info \ port:rarian \ port:gtk2 \ port:py27-pygtk \ port:py27-gobject \ port:py27-pygtksourceview # yelp is required to display help files depends_run port:yelp post-patch { reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/INSTALL reinplace "s|#! /usr/bin/env python|#! ${prefix}/bin/python2.7|" ${worksrcpath}/bin/meld } use_configure no build.args PYTHON=${prefix}/bin/python2.7 post-activate { system "${prefix}/bin/scrollkeeper-update" system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/HighContrast" system "${prefix}/bin/update-mime-database ${prefix}/share/mime" }