# -*- 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 62366 2010-01-05 04:19:11Z toby@macports.org $

PortSystem          1.0

name                gtkspell2
version             2.0.16
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     f75dcc9338f182c571b321d37c606a94 \
                    sha1    49a3eaff850d119a94fc929635270f01e87cdca1 \
                    rmd160  92c29780a43cd6fa2270d5ee77f9bc1ac09e56df

depends_build       port:pkgconfig \
                    port:gtk-doc

depends_lib         port:enchant \
                    port:gtk2

patchfiles          patch-Makefile.in.diff

configure.args      --disable-debug

livecheck.type      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.
