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
checksums sha1 473f7e82f57cc3a5ce0378eea8aede19a3f2a9df \
sha256 c1d3b79bba9352fcb9aa4003537d3fece248fb824781c5e21f3fcccafd42df2b \
rmd160 c424ba8e48a86d0eeab2b51b15bb6f81dd23e95d
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
reinplace "s|/usr/bin/env python|${pythonexec}|g" \
${worksrcpath}/src/usr/bin/diffuse
system "cd ${worksrcpath} && ${pythonexec} \
--sysconfdir=${prefix}/etc"