[73409] trunk/dports/textproc
ryandesign at macports.org
ryandesign at macports.org
Fri Nov 12 11:52:18 PST 2010
Revision: 73409
http://trac.macports.org/changeset/73409
Author: ryandesign at macports.org
Date: 2010-11-12 11:52:14 -0800 (Fri, 12 Nov 2010)
Log Message:
-----------
daisydiff: new port, version 1.1; see #27023
Added Paths:
-----------
trunk/dports/textproc/daisydiff/
trunk/dports/textproc/daisydiff/Portfile
trunk/dports/textproc/daisydiff/files/
trunk/dports/textproc/daisydiff/files/daisydiff.in
Added: trunk/dports/textproc/daisydiff/Portfile
===================================================================
--- trunk/dports/textproc/daisydiff/Portfile (rev 0)
+++ trunk/dports/textproc/daisydiff/Portfile 2010-11-12 19:52:14 UTC (rev 73409)
@@ -0,0 +1,71 @@
+# -*- 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 daisydiff
+version 1.1
+categories textproc
+platforms darwin
+maintainers nomaintainer
+supported_archs noarch
+
+description Daisy Diff compares HTML files.
+
+long_description Daisy Diff is a Java library that diffs (compares) \
+ HTML files. It highlights added and removed words \
+ and annotates changes to the styling.
+
+homepage http://code.google.com/p/daisydiff/
+master_sites googlecode
+
+use_zip yes
+
+checksums sha1 550ac190c771ec9162b374f1c429baa230837f1d \
+ rmd160 0f0c74f4d2a778acdbeb49d97ec83f6c45bbca7b
+
+depends_run bin:java:kaffe
+
+use_configure no
+
+build {}
+
+destroot {
+
+ # path to the daisydiff java files (without ${destroot}):
+
+ set daisydiff ${prefix}/share/java/daisydiff
+
+ # install the template daisydiff script from files:
+
+ xinstall ${filespath}/daisydiff.in ${destroot}${prefix}/bin/daisydiff
+
+ # set the correct path to daisydiff.jar in the daisydiff script:
+
+ reinplace "s|@@DAISYDIFF@@|${daisydiff}|g" ${destroot}${prefix}/bin/daisydiff
+
+ # install the daisydiff java files:
+
+ xinstall -d ${destroot}${daisydiff}
+
+ xinstall ${worksrcpath}/${name}.jar ${destroot}${daisydiff}
+ copy ${worksrcpath}/css ${worksrcpath}/images ${destroot}${daisydiff}
+
+ # install documentation files:
+
+ set docdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ LICENSE.TXT \
+ NOTICE.txt \
+ README.txt \
+ ${docdir}
+}
+
+notes "\
+Daisy Diff generates an HTML file as a report. The differences are highlighted\
+by styling specified in a CSS file. Use the command line argument --css to\
+specify this file. For example:
+
+ daisydiff file1 file2 --css=${prefix}/share/java/daisydiff/css/diff.css
+"
Property changes on: trunk/dports/textproc/daisydiff/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/textproc/daisydiff/files/daisydiff.in
===================================================================
--- trunk/dports/textproc/daisydiff/files/daisydiff.in (rev 0)
+++ trunk/dports/textproc/daisydiff/files/daisydiff.in 2010-11-12 19:52:14 UTC (rev 73409)
@@ -0,0 +1,2 @@
+#!/usr/bin/env sh
+exec java -Xmx2G -classpath @@DAISYDIFF@@ -jar @@DAISYDIFF@@/daisydiff.jar "$@"
Property changes on: trunk/dports/textproc/daisydiff/files/daisydiff.in
___________________________________________________________________
Added: svn:executable
+ *
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101112/20960ccf/attachment.html>
More information about the macports-changes
mailing list