[101769] trunk/dports/tex/latexdiff/Portfile

aschenke at macports.org aschenke at macports.org
Fri Jan 18 13:51:55 PST 2013


Revision: 101769
          https://trac.macports.org/changeset/101769
Author:   aschenke at macports.org
Date:     2013-01-18 13:51:55 -0800 (Fri, 18 Jan 2013)
Log Message:
-----------
latexdiff: update to version 1.02; updated homepage; added dependency on p5-algorithm-diff

Modified Paths:
--------------
    trunk/dports/tex/latexdiff/Portfile

Modified: trunk/dports/tex/latexdiff/Portfile
===================================================================
--- trunk/dports/tex/latexdiff/Portfile	2013-01-18 21:32:37 UTC (rev 101768)
+++ trunk/dports/tex/latexdiff/Portfile	2013-01-18 21:51:55 UTC (rev 101769)
@@ -4,7 +4,7 @@
 PortSystem       1.0
 
 name		     latexdiff
-version		     0.5
+version		     1.0.2
 revision         1
 categories	     tex
 maintainers	     aschenke
@@ -19,16 +19,16 @@
                  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 70fdec50c25c5807e7ec071b88d4af49 \
-				 sha1 804eddcfb117204ba2ada69193a4432c486fb69e \
-				 rmd160 6a88afb1ca605dc9fd42721356c9d2322e55d54a
-dist_subdir      ${name}/${version}
+homepage         http://latexdiff.berlios.de
+master_sites	 tex_ctan:support
+checksums	     md5 6353392165de3066aba8323ffe5eb9c3 \
+				 sha1 6a13b516514360998c033d310a8b114bc661cddb \
+				 rmd160 76bd16b964f37ad74da0591c51d6bea7f137278d
 distname         ${name}
 use_zip          yes
 
-depends_run      path:bin/perl:perl5
+depends_run      path:bin/perl:perl5 \
+				 port:p5-algorithm-diff
 
 configure {
 	reinplace "s|/usr/bin/perl -w|${prefix}/bin/perl -w|g" \
@@ -41,13 +41,28 @@
 destroot.destdir INSTALLPATH=${destroot}${prefix} \
                  INSTALLMANPATH=${destroot}${prefix}/share/man
 
-post-destroot {
+destroot {
+	# install scripts
+	xinstall -m 755 ${worksrcpath}/latexdiff ${destroot}${prefix}/bin
+	xinstall -m 755 ${worksrcpath}/latexdiff-fast ${destroot}${prefix}/bin
+	xinstall -m 755 ${worksrcpath}/latexdiff-so ${destroot}${prefix}/bin
+	xinstall -m 755 ${worksrcpath}/latexdiff-vc ${destroot}${prefix}/bin
+	xinstall -m 755 ${worksrcpath}/latexrevise ${destroot}${prefix}/bin
+
+	# install man pages
+	xinstall -m 644 ${worksrcpath}/latexdiff.1 ${destroot}${prefix}/share/man/man1
+	xinstall -m 644 ${worksrcpath}/latexdiff-vc.1 ${destroot}${prefix}/share/man/man1
+	xinstall -m 644 ${worksrcpath}/latexrevise.1 ${destroot}${prefix}/share/man/man1
+
+	# install docs
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 ${worksrcpath}/latexdiff-man.pdf ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 ${worksrcpath}/CHANGES ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/${name}
+	xinstall -m 644 ${worksrcpath}/doc/latexdiff-man.pdf ${destroot}${prefix}/share/doc/${name}
+	xinstall -m 644 ${worksrcpath}/doc/latexdiff-man.tex ${destroot}${prefix}/share/doc/${name}
+	xinstall -m 644 ${worksrcpath}/doc/example-diff.tex ${destroot}${prefix}/share/doc/${name}
+	xinstall -m 644 ${worksrcpath}/COPYING ${destroot}${prefix}/share/doc/${name}
 	xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
 	
+	# install examples
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/example
 	xinstall -m 644 ${worksrcpath}/example/example-draft.tex ${destroot}${prefix}/share/doc/${name}/example
 	xinstall -m 644 ${worksrcpath}/example/example-rev.tex ${destroot}${prefix}/share/doc/${name}/example
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130118/d70768ef/attachment.html>


More information about the macports-changes mailing list