Ticket #26232: Portfile-ispell-emul.diff

File Portfile-ispell-emul.diff, 1.1 KB (added by mwest@…, 14 years ago)
  • Portfile

    old new  
    55
    66name                            aspell
    77version                     0.60.6
    8 revision                3
     8revision                4
    99categories                  textproc
    1010maintainers                 openmaintainer jochen
    1111description                 Spell checker with better logic than ispell
     
    4141    file copy ${filespath}/u-deva.cmap ${destroot}${prefix}/lib/aspell-0.60/
    4242    file copy ${filespath}/u-deva.cset ${destroot}${prefix}/lib/aspell-0.60/
    4343        file delete -force ${destroot}${prefix}/share/info/dir
     44    if {[variant_isset ispell]} {
     45        file copy ${worksrcpath}/scripts/ispell ${destroot}${prefix}/bin/
     46    }
    4447}
    4548
    4649post-activate {
     
    6265    configure.args-append --disable-nls
    6366}
    6467
     68variant ispell description {Install ispell emulation script} {
     69    conflicts-append ispell
     70}
     71
    6572platform macosx {
    6673# gnustep-gui uses aspell and will not work if aspell is linked to gettext because
    6774# gettext is linked to CoreFoundation which is itself linked to the Apple objc runtime