[Lunar-commits] <moonbase> colordiff: compile properly

Duncan Gibson engelsman at lunar-linux.org
Tue Jan 11 22:07:53 CET 2011


commit acc08ae061ae6506f8fbda4a292499e8fd61c830
Author: Paul Bredbury <brebs at sent.com>
Date:   Tue Jan 11 22:07:53 2011 +0100

    colordiff: compile properly
    
    Installs cdiff.
    Removes the silly .pl extension from /usr/bin/colordiff
---
 devel/colordiff/BUILD   |   10 ++++------
 devel/colordiff/DEPENDS |    6 +++++-
 devel/colordiff/DETAILS |    2 +-
 3 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/devel/colordiff/BUILD b/devel/colordiff/BUILD
index 25f56f2..eb661f2 100644
--- a/devel/colordiff/BUILD
+++ b/devel/colordiff/BUILD
@@ -1,11 +1,9 @@
 (
 
-  sedit "s:^banner=.*:banner=no:" colordiffrc     &&
+  sedit "s:^banner=.*:banner=no:" colordiffrc &&
+  sedit "s:xmlto:xmlto --skip-validation:" Makefile &&
+  sedit "s:/usr/local:/usr:" Makefile &&
 
-  prepare_install  &&
-
-  install -m0755 colordiff.pl $MODULE_PREFIX/bin  &&
-  install -m0644 colordiffrc  /etc                &&
-  install -m0644 colordiff.1  $MODULE_PREFIX/man/man1
+  default_build
 
 ) > $C_FIFO 2>&1
diff --git a/devel/colordiff/DEPENDS b/devel/colordiff/DEPENDS
index 1e73dd8..43da30b 100644
--- a/devel/colordiff/DEPENDS
+++ b/devel/colordiff/DEPENDS
@@ -1,2 +1,6 @@
-depends diffutils &&
+depends diffutils
 depends perl
+depends xmlto
+
+# Used by cdiff
+depends which
diff --git a/devel/colordiff/DETAILS b/devel/colordiff/DETAILS
index 3574e6b..6820378 100644
--- a/devel/colordiff/DETAILS
+++ b/devel/colordiff/DETAILS
@@ -5,7 +5,7 @@
       SOURCE_VFY=sha1:52aa37957660b8060b186b949de58790ba816ab8
         WEB_SITE=http://colordiff.sourceforge.net/
          ENTERED=20050711
-         UPDATED=20090625
+         UPDATED=20110110
            SHORT="a colorization wrapper for diff"
 
 cat << EOF


More information about the Lunar-commits mailing list