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

Last change on this file since 122028 was 122028, checked in by and.damore@…, 6 years ago

port colorsvn: use prefix variable instead of hardcoded path; nomaintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 122028 2014-07-13 09:09:31Z and.damore@macports.org $
2
3PortSystem          1.0
4
5name                colorsvn
6version             0.3.3
7categories          textproc
8license             GPL-2+
9maintainers         nomaintainer
10platforms           darwin
11supported_archs     noarch
12
13description         colorsvn is the Subversion output colorizer
14
15long_description \
16    colorsvn is the Subversion output colorizer. Colorsvn was extracted from \
17    kde-sdk and was extended with build process and configuration.
18
19homepage            http://colorsvn.tigris.org
20master_sites        http://colorsvn.tigris.org/files/documents/4414/49311
21
22checksums           rmd160  45cdbf3c4af5a54e78de6971c3428d9196615cf7 \
23                    sha256  db58d5b8f60f6d4def14f8f102ff137b87401257680c1acf2bce5680b801394e
24
25post-patch {
26    reinplace {/^confdir=/s|/etc|$(sysconfdir)|} $worksrcpath/Makefile.in
27    reinplace "/etc\\//s||${prefix}/etc/|" $worksrcpath/colorsvn-original
28
29}
30
31configure.args-append --mandir=${prefix}/share/man
32
33post-destroot {
34    set docdir ${destroot}${prefix}/share/doc/${name}
35    xinstall -d $docdir
36    xinstall -m 644 -W $worksrcpath COPYING CREDITS Changelog $docdir
37}
Note: See TracBrowser for help on using the repository browser.