Changeset 41580


Ignore:
Timestamp:
Nov 6, 2008, 11:45:22 AM (12 years ago)
Author:
aschenke@…
Message:

added requested enhancements (ticket #17097)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/latexdiff/Portfile

    r36980 r41580  
    22
    33PortSystem       1.0
     4
    45name                 latexdiff
    56version              0.5
    67categories           tex
    7 maintainers          aschenke@macports.org
     8maintainers          aschenke
     9platforms            darwin
    810description          determine and mark up significant differences between latex files
    911long_description latexdiff is a Perl script, which compares two latex files \
     
    2325use_zip          yes
    2426
    25 depends_run      bin:perl:perl5.8
     27depends_run      path:bin/perl:perl5
    2628
    2729configure {
    28         reinplace "s|/usr/bin/perl -w|/usr/bin/env perl|g" \
     30        reinplace "s|/usr/bin/perl -w|${prefix}/bin/perl -w|g" \
    2931                ${worksrcpath}/latexdiff-so ${worksrcpath}/latexdiff-vc \
    3032                ${worksrcpath}/latexrevise
     
    3537destroot.destdir INSTALLPATH=${destroot}${prefix} \
    3638                 INSTALLMANPATH=${destroot}${prefix}/share/man
     39
     40post-destroot {
     41        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     42        xinstall -m 644 ${worksrcpath}/latexdiff-man.pdf ${destroot}${prefix}/share/doc/${name}
     43        xinstall -m 644 ${worksrcpath}/CHANGES ${destroot}${prefix}/share/doc/${name}
     44        xinstall -m 644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/${name}
     45        xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
     46       
     47        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/example
     48        xinstall -m 644 ${worksrcpath}/example/example-draft.tex ${destroot}${prefix}/share/doc/${name}/example
     49        xinstall -m 644 ${worksrcpath}/example/example-rev.tex ${destroot}${prefix}/share/doc/${name}/example
     50}
Note: See TracChangeset for help on using the changeset viewer.