source: trunk/dports/textproc/colorsvn/Portfile @ 127374

Last change on this file since 127374 was 127374, checked in by khindenburg@…, 5 years ago

colorsvn: add notes and livehceck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 127374 2014-10-26 14:37:42Z khindenburg@macports.org $
3
4PortSystem          1.0
5
6name                colorsvn
7version             0.3.3
8categories          textproc
9license             GPL-2+
10maintainers         nomaintainer
11platforms           darwin
12supported_archs     noarch
13
14description         colorsvn is the Subversion output colorizer
15
16long_description \
17    colorsvn is the Subversion output colorizer. Colorsvn was extracted from \
18    kde-sdk and was extended with build process and configuration.
19
20homepage            http://colorsvn.tigris.org
21master_sites        http://colorsvn.tigris.org/files/documents/4414/49311
22
23checksums           rmd160  45cdbf3c4af5a54e78de6971c3428d9196615cf7 \
24                    sha256  db58d5b8f60f6d4def14f8f102ff137b87401257680c1acf2bce5680b801394e
25
26post-patch {
27    reinplace {/^confdir=/s|/etc|$(sysconfdir)|} $worksrcpath/Makefile.in
28    reinplace "/etc\\//s||${prefix}/etc/|" $worksrcpath/colorsvn-original
29
30}
31
32configure.args-append --mandir=${prefix}/share/man
33
34post-destroot {
35    set docdir ${destroot}${prefix}/share/doc/${name}
36    xinstall -d $docdir
37    xinstall -m 644 -W $worksrcpath COPYING CREDITS Changelog $docdir
38}
39
40notes "
41If you have subversion installed from macports, change \
42${prefix}/etc/colorsvnrc to contain 'svn: ${prefix}/bin/svn'
43Also, verify your terminal's \$TERM is listed in the colorsvrc file.
44"
45
46livecheck.type      regex
47livecheck.url       ${homepage}
48livecheck.regex     "${name}-(\[0-9.\]+)</b> is the latest stable version"
Note: See TracBrowser for help on using the repository browser.