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

ryandesign at macports.org ryandesign at macports.org
Sun Aug 16 17:56:37 PDT 2015


Revision: 139426
          https://trac.macports.org/changeset/139426
Author:   ryandesign at macports.org
Date:     2015-08-16 17:56:37 -0700 (Sun, 16 Aug 2015)
Log Message:
-----------
latexdiff: move example files to the accepted usual location

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

Modified: trunk/dports/tex/latexdiff/Portfile
===================================================================
--- trunk/dports/tex/latexdiff/Portfile	2015-08-17 00:53:58 UTC (rev 139425)
+++ trunk/dports/tex/latexdiff/Portfile	2015-08-17 00:56:37 UTC (rev 139426)
@@ -5,6 +5,7 @@
 
 name                latexdiff
 version             1.1.0
+revision            1
 categories          tex
 maintainers         nomaintainer
 license             GPL-3+
@@ -52,12 +53,12 @@
     xinstall -m 644 -W ${worksrcpath} latexdiff.1 latexdiff-vc.1 latexrevise.1 ${destroot}${prefix}/share/man/man1
 
     # install docs
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-    xinstall -m 644 -W ${worksrcpath} COPYING README doc/example-diff.tex doc/latexdiff-man.pdf doc/latexdiff-man.tex ${destroot}${prefix}/share/doc/${name}
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -m 755 -d ${destroot}${docdir}/examples
+    xinstall -m 644 -W ${worksrcpath} COPYING README doc/example-diff.tex doc/latexdiff-man.pdf doc/latexdiff-man.tex ${destroot}${docdir}
 
     # install examples
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/example
-    xinstall -m 644 -W ${worksrcpath}/example example-draft.tex example-rev.tex ${destroot}${prefix}/share/doc/${name}/example
+    xinstall -m 644 -W ${worksrcpath}/example example-draft.tex example-rev.tex ${destroot}${docdir}/examples
 }
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150816/b9723e54/attachment.html>


More information about the macports-changes mailing list