[102491] trunk/dports/textproc

sean at macports.org sean at macports.org
Mon Feb 4 09:11:46 PST 2013


Revision: 102491
          https://trac.macports.org/changeset/102491
Author:   sean at macports.org
Date:     2013-02-04 09:11:45 -0800 (Mon, 04 Feb 2013)
Log Message:
-----------
cwdiff: add new port that colorizes the wdiff command

Added Paths:
-----------
    trunk/dports/textproc/cwdiff/
    trunk/dports/textproc/cwdiff/Portfile

Added: trunk/dports/textproc/cwdiff/Portfile
===================================================================
--- trunk/dports/textproc/cwdiff/Portfile	                        (rev 0)
+++ trunk/dports/textproc/cwdiff/Portfile	2013-02-04 17:11:45 UTC (rev 102491)
@@ -0,0 +1,42 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+
+name                cwdiff
+version             0.2.3
+categories          textproc
+platforms           darwin
+maintainers         sean openmaintainer
+license             GPL-2+
+supported_archs     noarch
+
+description         A script that wraps wdiff to support directories and colorize the output
+
+long_description    ${description}
+
+homepage            http://code.google.com/p/cj-overlay/source/browse/${name}?repo=evergreens
+master_sites        http://evergreens.cj-overlay.googlecode.com/hg
+
+depends_lib         port:wdiff
+
+checksums           rmd160  dbaa5c8459aa7c36ccb851f2464fcc713af82df2 \
+                    sha256  131c5a7930ad9cf3e0c7eec04829bd455d4eeed082727185c9c6cd86242c8802
+
+# this block seems a bit obtuse but is needed because we are downloading the script
+# directly (which is not compressed)
+distfiles           ${name}
+use_configure       no
+
+extract {
+    file copy ${distpath}/${distfiles} ${workpath}
+}
+
+build {}
+
+destroot {
+    xinstall -m 755 ${workpath}/${distfiles} ${destroot}${prefix}/bin/
+}
+
+livecheck.type      regex
+livecheck.regex     "#version (\[0-9.\]+)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130204/25ca4dda/attachment.html>


More information about the macports-changes mailing list