# -*- 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: Portfile 81758 2011-08-04 18:02:16Z jmr@macports.org $ 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 "