# -*- 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
PortGroup active_variants 1.1
set my_name gtksourceview
# respository indicates they were in process of shift
# from LGPL-2+ to LGPL-2.1+
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers mit.edu:wdc openmaintainer
description GtkSourceView is a text widget
GtkSourceView is a text widget that extends the standard \
gtk+ 2.x text widget GtkTextView. It improves GtkTextView \
by implementing syntax highlighting and other features \
typical of a source editor. This port contains version 2 of the \
GtkSourceView widget. Port GtkSourceView contains version 1 of the \
homepage https://wiki.gnome.org/Projects/GtkSourceView
master_sites gnome:sources/${my_name}/${branch}/
distname ${my_name}-${version}
checksums md5 1219ad1694df136f126507466aeb41aa \
sha1 5081dc7a081954d0af73852c22e874a746bda30e \
rmd160 081679debc8ca021749136e952329bb3ea0aa4f2
depends_build port:intltool \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
patchfiles patch-configure.ac.diff \
patch-gtkosxapplication.diff
# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
configure.cmd ./autogen.sh
configure.args --enable-compile-warnings=minimum