Ticket #7759: advi-1.6.0_1.diff

File advi-1.6.0_1.diff, 1.9 KB (added by pierre@…, 18 years ago)

Portfile patch

  • Portfile

    old new  
    44
    55name            advi
    66version         1.6.0
     7revision        1
    78categories      x11 graphics
    89maintainers     pierre@queinnec.org
    910platforms       darwin
     
    1314    programmable presenter for slides written in LaTeX.
    1415
    1516homepage        http://pauillac.inria.fr/advi/
    16 master_sites    ftp://ftp.inria.fr/INRIA/Projects/cristal/advi/
     17
     18# same format as the original, .tgz
     19master_sites    http://queinnec.org/ports
     20# master_sites  ftp://ftp.inria.fr/INRIA/Projects/cristal/advi/
    1721extract.suffix  .tgz
    18 checksums       md5 da0e71cbc99a8def27873d4f3c756fa6
    1922
    20 depends_lib     port:teTeX lib:libX11.6:XFree86 port:camlimages
     23# some quirks remain
     24# set debian_patch ${name}_${version}-10.diff.gz
     25# patch_sites   http://ftp.debian.org/debian/pool/main/a/advi
     26# patchfiles    ${debian_patch}
     27# patch.args    -p1
     28
     29checksums       sha1 881b130ad361e803fccebd6cc5a82bd4b90efff2
     30
     31# you can install hevea if you want additional functionality
     32depends_lib     port:teTeX lib:libX11.6:XFree86 port:camlimages port:ocaml
    2133
    2234destroot {
    23                 xinstall -m 755 -W ${worksrcpath} advi.opt \
     35                xinstall -m 755 -W ${worksrcpath} advi.bin \
    2436                         ${destroot}${prefix}/bin/advi
    25                 xinstall -d ${destroot}${prefix}/lib/${name}
     37                xinstall -m 755 -W ${worksrcpath} advi.byt \
     38                         ${destroot}${prefix}/bin
     39                xinstall -d ${destroot}${prefix}/share/texmf/tex/latex/${name}
    2640                xinstall -m 644 -W ${worksrcpath} doc/splash.dvi \
    2741                         doc/scratch_write_splash.dvi \
    2842                         doc/scratch_draw_splash.dvi tex/advilogo.eps \
     
    3145                         tex/superpose.sty tex/advi-graphicx.sty \
    3246                         tex/advi.sty tex/bubble.sty \
    3347                         tex/xwindows-colors.sty \
    34                          ${destroot}${prefix}/lib/${name}
     48                         ${destroot}${prefix}/share/texmf/tex/latex/${name}
    3549                xinstall -m 444 -W ${worksrcpath} doc/advi.1 \
    3650                         ${destroot}${prefix}/share/man/man1
    3751}
     52
     53post-install {
     54                ui_msg "You should run texhash now."
     55}