Ignore:
Timestamp:
May 14, 2008, 9:17:25 PM (9 years ago)
Author:
jochen@…
Message:

new port

Location:
trunk/dports/textproc/hunspell
Files:
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/hunspell/Portfile

    r36789 r36790  
    44PortSystem 1.0
    55
    6 name                            aspell
    7 version                     0.60.6
    8 categories                  textproc
    9 maintainers                 openmaintainer jochen
    10 description                 Spell checker with better logic than ispell
    11 homepage                    http://aspell.net/
    12 platforms                   darwin
     6name                    hunspell
     7version                 1.2.2
     8categories              textproc
     9maintainers             openmaintainer jochen
     10description             Spell checker and morphological analyzer
     11homepage                http://hunspell.sourceforge.net/
     12platforms               darwin
    1313
    14 long_description        Aspell is a spell checker designed to eventually replace ispell. \
    15                         Aspell's main feature is that it  does a much better job of coming up with \
    16                         possible suggestions than ispell.
     14long_description        Hunspell is a spell checker and morphological analyzer library and program \
     15                        designed for languages with rich morphology and complex word compounding or \
     16                        character encoding. Hunspell interfaces: Ispell-like terminal interface \
     17                        using Curses library, Ispell pipe interface, OpenOffice.org UNO module.
    1718
    18 master_sites            gnu freebsd
     19master_sites            sourceforge
    1920
    20 checksums                   md5 bc80f0198773d5c05086522be67334eb \
    21                                 sha1 335bcb560e00f59d89ec9e4c4114c325fb0e65f4 \
    22                                 rmd160 315638cc7cc4ce9d3dc09c7e15faf637855d504e
     21checksums               md5 e8cde1130894dcd3f732248db945d0c0 \
     22                        sha1  521063ff64b2182e92e92f5355ae2cf396f39420 \
     23                        rmd160 110c428f2b6734afefb8865dc3d63a4492594552
    2324
    24 depends_build           port:texinfo
     25depends_build           port:autoconf port:automake
     26depends_lib             port:gettext port:locale port:ncurses port:readline
    2527
    26 configure.env           LIBS="-L${prefix}/lib"
    27 configure.cflags-append "-I${prefix}/include"
    28 configure.args          --enable-dict-dir="${prefix}/share/aspell" \
    29                         --infodir="${prefix}/share/info" \
    30                         --enable-compile-in-filters
     28configure.args          --with-ui --with-readline
     29
     30use_parallel_build      yes
     31
    3132test.run                yes
    3233test.target             check
    3334
    34 
    35 post-destroot {
    36         file delete -force ${destroot}${prefix}/share/info/dir
    37     system "${prefix}/bin/install-info ${destroot}${prefix}/share/info/aspell.info ${prefix}/share/info/dir"
    38     system "${prefix}/bin/install-info ${destroot}${prefix}/share/info/aspell-dev.info ${prefix}/share/info/dir"
    39 }
    4035
    4136post-install {
     
    4540    ui_msg "******************************************************************"
    4641}
    47 
    48 variant nls description "Include natural language support; conflicts with GNUstep" conflicts nonls {
    49     configure.args-delete --disable-nls
    50     configure.args-append --enable-nls
    51 }
    52 
    53 variant nonls description "Don't include natural language support (default on Mac OS X)" conflicts nls {
    54     configure.args-delete --enable-nls
    55     configure.args-append --disable-nls
    56 }
    57 
    58 platform macosx {
    59 # gnustep-gui uses aspell and will not work if aspell is linked to gettext because
    60 # gettext is linked to CoreFoundation which is itself linked to the Apple objc runtime
    61 # (All we are saying, is give GNUstep a chance)
    62     if { ![variant_isset nls] } {
    63         default_variants        +nonls
    64     }
    65 }
Note: See TracChangeset for help on using the changeset viewer.