# $Id: Portfile 149824 2016-07-01 13:15:03Z mf2k@macports.org $ PortSystem 1.0 name diffuse version 0.4.8 categories devel platforms darwin maintainers nomaintainer license GPL-2+ supported_archs noarch description diffuse is a graphical diffing and merging tool long_description Diffuse is a small and simple text merge tool \ written in Python. With Diffuse, you can easily \ merge, edit, and review changes to your code. homepage http://diffuse.sourceforge.net master_sites sourceforge checksums sha1 473f7e82f57cc3a5ce0378eea8aede19a3f2a9df \ sha256 c1d3b79bba9352fcb9aa4003537d3fece248fb824781c5e21f3fcccafd42df2b \ rmd160 c424ba8e48a86d0eeab2b51b15bb6f81dd23e95d use_bzip2 yes set pythonexec "" variant python26 conflicts python27 description {Use python26} { depends_lib-append port:py26-pygtk set pythonexec ${prefix}/bin/python2.6 } variant python27 conflicts python26 description {Use python27} { depends_lib-append port:py27-pygtk set pythonexec ${prefix}/bin/python2.7 } if {![variant_isset python26]} { default_variants +python27 } use_configure no post-patch { reinplace "s|/usr/bin/env python|${pythonexec}|g" \ ${worksrcpath}/src/usr/bin/diffuse } build {} destroot { system "cd ${worksrcpath} && ${pythonexec} \ ./install.py \ --prefix=${prefix} \ --destdir=${destroot} \ --sysconfdir=${prefix}/etc" }