source: trunk/dports/x11/tkdiff/Portfile

Last change on this file was 113157, checked in by ryandesign@…, 4 years ago

tkdiff: tabs to spaces; reformatting; add modeline

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 113157 2013-11-11 02:36:27Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                tkdiff
7version             4.2
8categories          x11 devel
9platforms           darwin
10maintainers         nomaintainer
11supported_archs     noarch
12license             GPL-2+
13
14description         graphical front end to the diff program
15
16long_description    tkdiff is a graphical front end to the diff program. It \
17                    provides a side-by-side view of the differences between \
18                    two files, along with several innovative features such as \
19                    diff bookmarks and a graphical map of differences for \
20                    quick navigation.
21
22homepage            http://tkdiff.sourceforge.net/
23master_sites        sourceforge:project/tkdiff/tkdiff/${version}/
24worksrcdir          ${name}-unix
25
26checksums           rmd160  96bb5b6ebc004dc5247c0f7fbce4b20816af8024 \
27                    sha256  734bb417184c10072eb64e8d274245338e41b7fdeff661b5ef30e89f3e3aa357
28
29depends_run         port:tk
30
31configure {
32    reinplace "s|exec wish|exec ${prefix}/bin/wish|g" ${worksrcpath}/tkdiff
33    reinplace "s|4\.1\.4|${version}|g" ${worksrcpath}/README.txt
34}
35
36build   {}
37
38destroot {
39    xinstall -m 755 ${worksrcpath}/tkdiff ${destroot}${prefix}/bin
40    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/
41    xinstall -m 644 -W ${worksrcpath} CHANGELOG.txt LICENSE.txt README.txt \
42        ${destroot}${prefix}/share/doc/${name}/
43}
Note: See TracBrowser for help on using the repository browser.