Ticket #44148: freetype+infinality.diff

File freetype+infinality.diff, 2.5 KB (added by RJVB (René Bertin), 10 years ago)

freetype Portfile diff

  • /opt/local/site-ports/print/freetype/

    old new  
    66
    77name                    freetype
    88version                 2.5.3
    9 revision                1
     9revision                20141029
    1010categories              print graphics
    1111maintainers             ryandesign
    1212license                 {FreeType GPL-2}
     
    2020
    2121long_description \
    2222    FreeType2 is a software font engine that is designed to \
    23     be small, efficient, highly customizable and portable while \
     23    be small, efficient, highly customisable and portable while \
    2424    capable of producing high-quality output (glyph images). \
    2525    It can be used in graphics libraries, display servers, font \
    2626    conversion tools, text image generation tools, and many \
     
    6969
    7070set docdir              ${prefix}/share/doc/${name}
    7171
     72variant infinality description {patched for improved font rendering, bohoomil ultimate style} {
     73        # bohoomil's freetype-2.5.3-enable-valid.patch is already taken care of by patch-modules.cfg.diff above
     74    # 20140828: I had to redo the builds/unix/configure.raw patch, for reasons unclear.
     75# 20141107: something like this could serve to fetch the patch files, but they need to be edited to drop the 1st path component...
     76#    pre-fetch {
     77#        catch {eval exec sh -c "\"cd ${workpath} ; git clone --depth=1 --no-single-branch https://github.com/bohoomil/fontconfig-ultimate\""} result
     78#        ui_debug "checkout fontconfig-ultimate repository: $result"
     79#        copy ${workpath}/fontconfig-ultimate/freetype/upstream-2014.10.29.patch ${filespath}/upstream.patch
     80#        copy ${workpath}/fontconfig-ultimate/freetype/infinality-2.5.3-2014.10.29.patch ${filespath}/infinality-2.5.3.patch
     81#    }
     82    patchfiles-append     upstream-2014.10.29.patch \
     83                          infinality-2.5.3-2014.10.29.patch
     84    configure.args-replace --without-harfbuzz --with-harfbuzz
     85    depends_lib-append    port:harfbuzz
     86}
     87
    7288post-destroot {
    7389    xinstall -m 0755 -d ${destroot}${docdir}
    7490   
     
    106122
    107123livecheck.type          sourceforge
    108124livecheck.regex         {/freetype2/([0-9.]+)/}
     125
     126notes-append "Copy `port dir freetype`/files/infinality-settings.sh (or .csh) to an appropriate location
     127 and make sure it gets read when you log in. See infinality-settings-explained.sh for explanation
     128 of the various settings and variables."