Ignore:
Timestamp:
Aug 13, 2003, 6:20:29 AM (17 years ago)
Author:
mij
Message:

Add a darwin variant that builds aspell's shared library, and make it
the default.

Bug: 769
Submitted by: David J. Duchscher <daved@…>
Reviewed by:
Approved by:
Obtained from:

File:
1 edited

Legend:

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

    r3173 r3216  
    1 # $Id: Portfile,v 1.6 2003/08/05 09:29:35 jkh Exp $
     1# $Id: Portfile,v 1.7 2003/08/13 06:20:29 mij Exp $
    22
    33PortSystem 1.0
    44name            aspell
    55version         0.50.3
     6revision        1
    67categories      textproc
    78maintainers     mij@opendarwin.org
     
    1516                 suggestions than ispell.
    1617
    17 master_sites    ftp://ftp.gnu.org/gnu/aspell/
     18master_sites    ftp://ftp.gnu.org/gnu/aspell/ \
     19                ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
    1820
    1921checksums       md5 a3bf0d46303ffb0beab8121bbc3311a3
    2022
    21 configure.env   LIBS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include \
     23configure.env   LIBS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include" \
     24                CFLAGS="-I${prefix}/include"
     25configure.args  --enable-dict-dir="${prefix}/share/aspell"
     26
     27default_variants +darwin
     28
     29variant darwin {
     30  post-patch {
     31    cd ${worksrcpath}
     32    system "glibtoolize --copy --force; aclocal; automake; autoconf"
     33    reinplace "s|.*Mach-O.*|lt_cv_deplibs_check_method=\"\"|" configure
     34  }
     35  configure.env LIBS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include \
    2236                -no-cpp-precomp" CFLAGS="-I${prefix}/include"
    23 configure.args  --disable-shared --enable-dict-dir="${prefix}/share/aspell"
     37}
    2438
    2539post-destroot   { ui_msg "\nYou must install one of the language dictionaries after installing\nthis port in order for it to work.\n" }
Note: See TracChangeset for help on using the changeset viewer.