Skip to content

Commit

Permalink
colorsvn: Fix for case-sensitive filesystems
Browse files Browse the repository at this point in the history
Use the correct case for the ChangeLog file.

Also add size to checksums, remove double space in notes, and tweak
variables in post-destroot block.
  • Loading branch information
ryandesign committed Oct 27, 2018
1 parent 892c3df commit 7be3059
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions textproc/colorsvn/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ PortSystem 1.0

name colorsvn
version 0.3.3
revision 1
categories textproc
license GPL-2+
maintainers nomaintainer
Expand All @@ -20,7 +21,8 @@ homepage http://colorsvn.tigris.org
master_sites http://colorsvn.tigris.org/files/documents/4414/49311

checksums rmd160 45cdbf3c4af5a54e78de6971c3428d9196615cf7 \
sha256 db58d5b8f60f6d4def14f8f102ff137b87401257680c1acf2bce5680b801394e
sha256 db58d5b8f60f6d4def14f8f102ff137b87401257680c1acf2bce5680b801394e \
size 107961

post-patch {
reinplace {/^confdir=/s|/etc|$(sysconfdir)|} $worksrcpath/Makefile.in
Expand All @@ -31,13 +33,13 @@ post-patch {
configure.args-append --mandir=${prefix}/share/man

post-destroot {
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d $docdir
xinstall -m 644 -W $worksrcpath COPYING CREDITS Changelog $docdir
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} COPYING CREDITS ChangeLog ${destroot}${docdir}
}

notes "
If you have subversion installed from macports, change \
If you have subversion installed from macports, change\
${prefix}/etc/colorsvnrc to contain 'svn: ${prefix}/bin/svn'
Also, verify your terminal's \$TERM is listed in the colorsvrc file.
"
Expand Down

0 comments on commit 7be3059

Please sign in to comment.