# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 43585 2008-12-12 07:21:38Z blb@macports.org $

PortSystem          1.0

name                gtkspell2
version             2.0.15
categories          x11 gnome textproc
platforms           darwin
maintainers         nomaintainer
description         Library for highlighting and replacement of misspelled words
long_description \
   GtkSpell provides word-processor-style highlighting and replacement of \
   misspelled words in a GtkTextView widget. Right-clicking a misspelled \
   word pops up a menu of suggested replacements.
homepage            http://gtkspell.sourceforge.net
master_sites        ${homepage}/download
distname            gtkspell-${version}

checksums           md5     d90a7fe883f29caca149f04f31e2f0f9 \
                    sha1    2eaf2de22e2bec39552416b66dcb2d5a7bbb833e \
                    rmd160  bdfb9f432c93aec7c43c5df6663bac5270d97b1d

depends_build       port:pkgconfig \
                    port:gtk-doc

depends_lib         port:enchant \
                    port:gtk2

configure.args      --disable-debug

livecheck.check     regex
livecheck.url       ${homepage}
livecheck.regex     "The latest version is <b>(\\d+(?:\\.\\d+)*)</b>"

#NOTES   Port is named gtkspell2 due to ongoing development of gtkspell3
#        Although there are no ports that require this port, there are a
#        number of ports that will build with it if it is present.

