[122020] trunk/dports/textproc

Ryan Schmidt ryandesign at macports.org
Sun Jul 13 01:26:50 PDT 2014


On Jul 13, 2014, at 3:24 AM, and.damore at macports.org wrote:

> Revision
> 122020
> Author
> and.damore at macports.org
> Date
> 2014-07-13 01:24:34 -0700 (Sun, 13 Jul 2014)
> Log Message
> 
> new port colorsvn
> Added Paths
> 
> 	• trunk/dports/textproc/colorsvn/
> 	• trunk/dports/textproc/colorsvn/Portfile
> Diff
> 
> Added: trunk/dports/textproc/colorsvn/Portfile (0 => 122020)
> 
> --- trunk/dports/textproc/colorsvn/Portfile	                        (rev 0)
> +++ trunk/dports/textproc/colorsvn/Portfile	2014-07-13 08:24:34 UTC (rev 122020)
> 
> @@ -0,0 +1,37 @@

There should be a modeline here.

> +# $Id$
> +
> +PortSystem          1.0
> +
> +name                colorsvn
> +version             0.3.3
> +categories          textproc
> +license             GPL-2+
> +maintainers         nomaintainer
> +platforms           darwin
> +supported_archs     noarch
> +
> +description         colorsvn is the Subversion output colorizer
> +
> +long_description \
> +    colorsvn is the Subversion output colorizer. Colorsvn was extracted from \
> +    kde-sdk and was extended with build process and configuration.
> +
> +homepage            
> http://colorsvn.tigris.org
> 
> +master_sites        
> http://colorsvn.tigris.org/files/documents/4414/49311
> 
> +
> +checksums           rmd160  45cdbf3c4af5a54e78de6971c3428d9196615cf7 \
> +                    sha256  db58d5b8f60f6d4def14f8f102ff137b87401257680c1acf2bce5680b801394e
> +
> +post-patch {
> +    reinplace {/^confdir=/s|/etc|$(sysconfdir)|} $worksrcpath/Makefile.in
> +    reinplace {/etc\//s||opt/local/etc/|} $worksrcpath/colorsvn-original
> +
> +}

Could we use patchfiles instead of reinplaces, and not hardcode /opt/local?




More information about the macports-dev mailing list