Ticket #22601: Portfile.patch

File Portfile.patch, 1.1 KB (added by neil_mayhew@…, 15 years ago)

A patch to the portfile

  • bitstream-vera/Portfile

    diff --exclude .svn -ru a/bitstream-vera/Portfile b/bitstream-vera/Portfile
    a b  
    2121platforms               darwin
    2222checksums               md5 52559ed969e74f5fca83e527163156df
    2323
    24 patchfiles              patch-local.conf
    25 
    2624use_configure   no
     25
    2726build {
    28         reinplace "s|%FONTSDIR%|${prefix}/share/fonts|" \
    29                 ${worksrcpath}/local.conf
    3027}
     28
    3129destroot {
    3230        xinstall -d ${destroot}${prefix}/share/fonts
    3331        system "install -m 444 ${worksrcpath}/*.ttf \
     
    3533
    3634        xinstall -d ${destroot}${prefix}/share/doc/${name}
    3735        xinstall -m 644 -W ${worksrcpath} COPYRIGHT.TXT README.TXT \
    38                 RELEASENOTES.TXT local.conf \
     36                RELEASENOTES.TXT \
    3937                ${destroot}${prefix}/share/doc/${name}
    4038}
    41 
    42 post-install {
    43         ui_msg "------------------------------------------------------------------
    44 --------"
    45         ui_msg "Requires modifications to ${prefix}/etc/fonts/local.conf. "
    46         ui_msg "Replacement file provided at ${prefix}/share/doc/bitstream-vera/local.conf."
    47         ui_msg "------------------------------------------------------------------
    48 --------"
    49  }
    50