source: trunk/dports/devel/xxdiff/Portfile

Last change on this file was 136235, checked in by michaelld@…, 2 years ago

xxdiff: add dependency on libGLU; addresses ticket #47693.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 136235 2015-05-12 18:14:34Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                xxdiff
7version             3.2
8revision            1
9categories          devel
10platforms           darwin
11license             GPL-2+
12maintainers         nomaintainer
13
14description         xxdiff is a graphical merging tool
15long_description    xxdiff is a graphical browser for viewing the \
16                    differences between two or three files, or between \
17                    two directories, and can be used to produce a \
18                    merged version.
19homepage            http://furius.ca/xxdiff/
20
21depends_lib         port:bison \
22                    port:flex \
23                    port:qt3 \
24                    port:libGLU
25
26# xxdiff links with libGLU if it is installed; so make sure it is
27# installed already.  See also: https://trac.macports.org/ticket/47693
28
29master_sites        sourceforge:project/xxdiff/xxdiff/${version}/
30use_bzip2           yes
31checksums           md5     301ff399a1e4be8b68c38c3e27c0b1ad \
32                    sha1    ab2848fd9279f55b5db270f319ad4791154ecf82 \
33                    rmd160  12e7527f39713b925f05b687c2ad8b60459bb670
34
35# https://trac.macports.org/ticket/41600#comment:47
36patchfiles          bison3.patch
37
38# "Configure" and build adapted from README.build.
39
40build.type          gnu
41
42configure.dir       ${worksrcpath}/src
43configure.cmd       ${build.cmd}
44configure.pre_args  -f Makefile.bootstrap
45configure.args      QTDIR='${prefix}' makefile
46
47build.dir           ${configure.dir}
48build.args          QTDIR='${prefix}'
49
50destroot {
51
52    # Destroot xxdiff.
53    xinstall ${worksrcpath}/bin/xxdiff   ${destroot}${prefix}/bin
54    xinstall ${worksrcpath}/src/xxdiff.1 ${destroot}${prefix}/share/man/man1
55
56    # Destroot xxdiff documentation.
57    xinstall -d ${destroot}${prefix}/share/doc
58    file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
59    file delete ${destroot}${prefix}/share/doc/${name}/Makefile
60    file delete ${destroot}${prefix}/share/doc/${name}/xxdiff-scripts.txt
61    file delete ${destroot}${prefix}/share/doc/${name}/xxdiff-scripts.html
62}
Note: See TracBrowser for help on using the repository browser.