# -*- 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 xxdiff version 3.2 revision 1 categories devel platforms darwin license GPL-2+ maintainers nomaintainer description xxdiff is a graphical merging tool long_description xxdiff is a graphical browser for viewing the \ differences between two or three files, or between \ two directories, and can be used to produce a \ merged version. homepage http://furius.ca/xxdiff/ depends_lib port:bison \ port:flex \ port:qt3 \ port:libGLU # xxdiff links with libGLU if it is installed; so make sure it is # installed already. See also: https://trac.macports.org/ticket/47693 master_sites sourceforge:project/xxdiff/xxdiff/${version}/ use_bzip2 yes checksums md5 301ff399a1e4be8b68c38c3e27c0b1ad \ sha1 ab2848fd9279f55b5db270f319ad4791154ecf82 \ rmd160 12e7527f39713b925f05b687c2ad8b60459bb670 # https://trac.macports.org/ticket/41600#comment:47 patchfiles bison3.patch # "Configure" and build adapted from README.build. build.type gnu configure.dir ${worksrcpath}/src configure.cmd ${build.cmd} configure.pre_args -f Makefile.bootstrap configure.args QTDIR='${prefix}' makefile build.dir ${configure.dir} build.args QTDIR='${prefix}' destroot { # Destroot xxdiff. xinstall ${worksrcpath}/bin/xxdiff ${destroot}${prefix}/bin xinstall ${worksrcpath}/src/xxdiff.1 ${destroot}${prefix}/share/man/man1 # Destroot xxdiff documentation. xinstall -d ${destroot}${prefix}/share/doc file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name} file delete ${destroot}${prefix}/share/doc/${name}/Makefile file delete ${destroot}${prefix}/share/doc/${name}/xxdiff-scripts.txt file delete ${destroot}${prefix}/share/doc/${name}/xxdiff-scripts.html }