Portfile

# $Id: Portfile 22241 2007-02-23 17:47:57Z pipping@macports.org $

PortSystem 1.0
name latexdiff
version 0.42
categories tex
maintainers aschenke@tampabay.rr.com
description determine and mark up significant differences between latex files
long_description latexdiff is a Perl script, which compares two latex files \
and marks up significant differences between them (i.e. a \
diff for latex files). Various options are available for \
visual markup using standard latex packages such as \
color.sty. Changes not directly affecting visible text, for \
example in formatting commands, are still marked in the latex \
source.
homepage http://www.ctan.org/tex-archive/support/latexdiff/
master_sites ftp://tug.ctan.org/pub/tex-archive/support/
checksums md5 c57c2e9eeb3f27c8942045faf3d4f70f \
sha1 ddc932b44da790ff7edba404f2f6f793d6cc3d0e \
rmd160 1948390d11c1af9f10e60e8cd61cac8b4cf15893
dist_subdir ${name}/${version}
distname ${name}
use_zip yes

depends_run bin:perl:perl5.8

configure {
reinplace "s|/usr/bin/perl -w|/usr/bin/env perl|g" \
${worksrcpath}/latexdiff-so ${worksrcpath}/latexdiff-vc \
${worksrcpath}/latexrevise
}

build { }

destroot.destdir INSTALLPATH=${destroot}${prefix} \
INSTALLMANPATH=${destroot}${prefix}/share/man