summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2018-03-11 20:23:23 +0000
committerwiz <wiz@pkgsrc.org>2018-03-11 20:23:23 +0000
commitabe242126448349a066e7bb02eba5e4b6ef041c7 (patch)
treeb353fce8df0d8d639df3c0f8325c93dbbd7556bc /x11
parent768a02fe78c2e0edd7bad9ab26828963c8cdab94 (diff)
downloadpkgsrc-abe242126448349a066e7bb02eba5e4b6ef041c7.tar.gz
x11/gtksourceview4: import gtksourceview4-4.0.0
GtkSourceView is a text widget that extends the standard GTK+ 3.x text widget GtkTextView. It improves GtkTextView by implementing syntax highlighting and other features typical of a source code editor. This package contains major version 4 of the widget.
Diffstat (limited to 'x11')
-rw-r--r--x11/gtksourceview4/DESCR5
-rw-r--r--x11/gtksourceview4/Makefile35
-rw-r--r--x11/gtksourceview4/PLIST339
-rw-r--r--x11/gtksourceview4/buildlink3.mk15
-rw-r--r--x11/gtksourceview4/distinfo6
-rw-r--r--x11/gtksourceview4/options.mk16
6 files changed, 416 insertions, 0 deletions
diff --git a/x11/gtksourceview4/DESCR b/x11/gtksourceview4/DESCR
new file mode 100644
index 00000000000..e98b3a1ec48
--- /dev/null
+++ b/x11/gtksourceview4/DESCR
@@ -0,0 +1,5 @@
+GtkSourceView is a text widget that extends the standard GTK+ 3.x text
+widget GtkTextView. It improves GtkTextView by implementing syntax
+highlighting and other features typical of a source code editor.
+
+This package contains major version 4 of the widget.
diff --git a/x11/gtksourceview4/Makefile b/x11/gtksourceview4/Makefile
new file mode 100644
index 00000000000..434c8d6e851
--- /dev/null
+++ b/x11/gtksourceview4/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2018/03/11 20:23:23 wiz Exp $
+
+DISTNAME= gtksourceview-4.0.0
+PKGNAME= ${DISTNAME:S/gtksourceview/gtksourceview4/}
+CATEGORIES= x11 gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtksourceview/${PKGVERSION_NOREV:R}/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= prlw1@cam.ac.uk
+HOMEPAGE= https://wiki.gnome.org/Projects/GtkSourceView
+COMMENT= Text widget that extends GTK3's GtkTextView widget (v4)
+LICENSE= gnu-lgpl-v2.1
+
+BUILD_DEPENDS+= itstool-[0-9]*:../../textproc/itstool
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake gsed intltool msgfmt pkg-config
+USE_PKGLOCALEDIR= yes
+CONFIGURE_ARGS+= --disable-maintainer-mode
+CONFIGURE_ARGS+= --disable-vala
+
+# needs DISPLAY
+TEST_TARGET= check
+
+PKGCONFIG_OVERRIDE+= gtksourceview.pc.in
+
+.include "options.mk"
+
+BUILDLINK_API_DEPENDS.glib2+= glib2>=2.48
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gtk3+= gtk3+>=3.20
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/gtksourceview4/PLIST b/x11/gtksourceview4/PLIST
new file mode 100644
index 00000000000..ae8dcd80c15
--- /dev/null
+++ b/x11/gtksourceview4/PLIST
@@ -0,0 +1,339 @@
+@comment $NetBSD: PLIST,v 1.1 2018/03/11 20:23:23 wiz Exp $
+include/gtksourceview-4/gtksourceview/completion-providers/words/gtksourcecompletionwords.h
+include/gtksourceview-4/gtksourceview/gtksource-enumtypes.h
+include/gtksourceview-4/gtksourceview/gtksource.h
+include/gtksourceview-4/gtksourceview/gtksourceautocleanups.h
+include/gtksourceview-4/gtksourceview/gtksourcebuffer.h
+include/gtksourceview-4/gtksourceview/gtksourcecompletion.h
+include/gtksourceview-4/gtksourceview/gtksourcecompletioncontext.h
+include/gtksourceview-4/gtksourceview/gtksourcecompletioninfo.h
+include/gtksourceview-4/gtksourceview/gtksourcecompletionitem.h
+include/gtksourceview-4/gtksourceview/gtksourcecompletionproposal.h
+include/gtksourceview-4/gtksourceview/gtksourcecompletionprovider.h
+include/gtksourceview-4/gtksourceview/gtksourceencoding.h
+include/gtksourceview-4/gtksourceview/gtksourcefile.h
+include/gtksourceview-4/gtksourceview/gtksourcefileloader.h
+include/gtksourceview-4/gtksourceview/gtksourcefilesaver.h
+include/gtksourceview-4/gtksourceview/gtksourcegutter.h
+include/gtksourceview-4/gtksourceview/gtksourcegutterrenderer.h
+include/gtksourceview-4/gtksourceview/gtksourcegutterrendererpixbuf.h
+include/gtksourceview-4/gtksourceview/gtksourcegutterrenderertext.h
+include/gtksourceview-4/gtksourceview/gtksourceinit.h
+include/gtksourceview-4/gtksourceview/gtksourcelanguage.h
+include/gtksourceview-4/gtksourceview/gtksourcelanguagemanager.h
+include/gtksourceview-4/gtksourceview/gtksourcemap.h
+include/gtksourceview-4/gtksourceview/gtksourcemark.h
+include/gtksourceview-4/gtksourceview/gtksourcemarkattributes.h
+include/gtksourceview-4/gtksourceview/gtksourceprintcompositor.h
+include/gtksourceview-4/gtksourceview/gtksourceregion.h
+include/gtksourceview-4/gtksourceview/gtksourcesearchcontext.h
+include/gtksourceview-4/gtksourceview/gtksourcesearchsettings.h
+include/gtksourceview-4/gtksourceview/gtksourcespacedrawer.h
+include/gtksourceview-4/gtksourceview/gtksourcestyle.h
+include/gtksourceview-4/gtksourceview/gtksourcestylescheme.h
+include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooser.h
+include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserbutton.h
+include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserwidget.h
+include/gtksourceview-4/gtksourceview/gtksourcestyleschememanager.h
+include/gtksourceview-4/gtksourceview/gtksourcetag.h
+include/gtksourceview-4/gtksourceview/gtksourcetypes.h
+include/gtksourceview-4/gtksourceview/gtksourceundomanager.h
+include/gtksourceview-4/gtksourceview/gtksourceutils.h
+include/gtksourceview-4/gtksourceview/gtksourceversion.h
+include/gtksourceview-4/gtksourceview/gtksourceview.h
+lib/girepository-1.0/GtkSource-4.typelib
+lib/libgtksourceview-4.la
+lib/pkgconfig/gtksourceview-4.pc
+share/gir-1.0/GtkSource-4.gir
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceBuffer.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletion.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionContext.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionInfo.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionItem.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProposal.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProvider.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionWords.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceEncoding.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceFile.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileLoader.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileSaver.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutter.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRenderer.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererPixbuf.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererText.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguage.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguageManager.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceMap.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceMark.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceMarkAttributes.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourcePrintCompositor.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceRegion.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchContext.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchSettings.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceSpaceDrawer.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyle.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleScheme.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooser.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserButton.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserWidget.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeManager.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceTag.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceUndoManager.html
+share/gtk-doc/html/gtksourceview-4.0/GtkSourceView.html
+share/gtk-doc/html/gtksourceview-4.0/annexes.html
+share/gtk-doc/html/gtksourceview-4.0/annotation-glossary.html
+share/gtk-doc/html/gtksourceview-4.0/api-index-full.html
+share/gtk-doc/html/gtksourceview-4.0/api-reference.html
+share/gtk-doc/html/gtksourceview-4.0/completion.html
+share/gtk-doc/html/gtksourceview-4.0/file-loading-and-saving.html
+share/gtk-doc/html/gtksourceview-4.0/general.html
+share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceUtils.html
+share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceView-Initialization-and-Finalization.html
+share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-Version-Information.html
+share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0.devhelp2
+share/gtk-doc/html/gtksourceview-4.0/gutter.html
+share/gtk-doc/html/gtksourceview-4.0/home.png
+share/gtk-doc/html/gtksourceview-4.0/index.html
+share/gtk-doc/html/gtksourceview-4.0/intro.html
+share/gtk-doc/html/gtksourceview-4.0/lang-reference.html
+share/gtk-doc/html/gtksourceview-4.0/lang-tutorial.html
+share/gtk-doc/html/gtksourceview-4.0/left-insensitive.png
+share/gtk-doc/html/gtksourceview-4.0/left.png
+share/gtk-doc/html/gtksourceview-4.0/main-classes.html
+share/gtk-doc/html/gtksourceview-4.0/misc.html
+share/gtk-doc/html/gtksourceview-4.0/object-tree.html
+share/gtk-doc/html/gtksourceview-4.0/porting-guide-3-to-4.html
+share/gtk-doc/html/gtksourceview-4.0/porting-guide.html
+share/gtk-doc/html/gtksourceview-4.0/printing.html
+share/gtk-doc/html/gtksourceview-4.0/right-insensitive.png
+share/gtk-doc/html/gtksourceview-4.0/right.png
+share/gtk-doc/html/gtksourceview-4.0/search-and-replace.html
+share/gtk-doc/html/gtksourceview-4.0/style-reference.html
+share/gtk-doc/html/gtksourceview-4.0/style.css
+share/gtk-doc/html/gtksourceview-4.0/styling.html
+share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting-reference.html
+share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting.html
+share/gtk-doc/html/gtksourceview-4.0/up-insensitive.png
+share/gtk-doc/html/gtksourceview-4.0/up.png
+share/gtksourceview-4/language-specs/R.lang
+share/gtksourceview-4/language-specs/abnf.lang
+share/gtksourceview-4/language-specs/actionscript.lang
+share/gtksourceview-4/language-specs/ada.lang
+share/gtksourceview-4/language-specs/ansforth94.lang
+share/gtksourceview-4/language-specs/asp.lang
+share/gtksourceview-4/language-specs/automake.lang
+share/gtksourceview-4/language-specs/awk.lang
+share/gtksourceview-4/language-specs/bennugd.lang
+share/gtksourceview-4/language-specs/bibtex.lang
+share/gtksourceview-4/language-specs/bluespec.lang
+share/gtksourceview-4/language-specs/boo.lang
+share/gtksourceview-4/language-specs/c.lang
+share/gtksourceview-4/language-specs/cg.lang
+share/gtksourceview-4/language-specs/changelog.lang
+share/gtksourceview-4/language-specs/chdr.lang
+share/gtksourceview-4/language-specs/cmake.lang
+share/gtksourceview-4/language-specs/cobol.lang
+share/gtksourceview-4/language-specs/cpp.lang
+share/gtksourceview-4/language-specs/cpphdr.lang
+share/gtksourceview-4/language-specs/csharp.lang
+share/gtksourceview-4/language-specs/css.lang
+share/gtksourceview-4/language-specs/csv.lang
+share/gtksourceview-4/language-specs/cuda.lang
+share/gtksourceview-4/language-specs/d.lang
+share/gtksourceview-4/language-specs/def.lang
+share/gtksourceview-4/language-specs/desktop.lang
+share/gtksourceview-4/language-specs/diff.lang
+share/gtksourceview-4/language-specs/docbook.lang
+share/gtksourceview-4/language-specs/dosbatch.lang
+share/gtksourceview-4/language-specs/dot.lang
+share/gtksourceview-4/language-specs/dpatch.lang
+share/gtksourceview-4/language-specs/dtd.lang
+share/gtksourceview-4/language-specs/dtl.lang
+share/gtksourceview-4/language-specs/eiffel.lang
+share/gtksourceview-4/language-specs/erlang.lang
+share/gtksourceview-4/language-specs/fcl.lang
+share/gtksourceview-4/language-specs/forth.lang
+share/gtksourceview-4/language-specs/fortran.lang
+share/gtksourceview-4/language-specs/fsharp.lang
+share/gtksourceview-4/language-specs/gap.lang
+share/gtksourceview-4/language-specs/gdb-log.lang
+share/gtksourceview-4/language-specs/genie.lang
+share/gtksourceview-4/language-specs/glsl.lang
+share/gtksourceview-4/language-specs/go.lang
+share/gtksourceview-4/language-specs/groovy.lang
+share/gtksourceview-4/language-specs/gtk-doc.lang
+share/gtksourceview-4/language-specs/gtkrc.lang
+share/gtksourceview-4/language-specs/haddock.lang
+share/gtksourceview-4/language-specs/haskell-literate.lang
+share/gtksourceview-4/language-specs/haskell.lang
+share/gtksourceview-4/language-specs/haxe.lang
+share/gtksourceview-4/language-specs/html.lang
+share/gtksourceview-4/language-specs/idl-exelis.lang
+share/gtksourceview-4/language-specs/idl.lang
+share/gtksourceview-4/language-specs/imagej.lang
+share/gtksourceview-4/language-specs/ini.lang
+share/gtksourceview-4/language-specs/j.lang
+share/gtksourceview-4/language-specs/jade.lang
+share/gtksourceview-4/language-specs/java.lang
+share/gtksourceview-4/language-specs/javascript.lang
+share/gtksourceview-4/language-specs/json.lang
+share/gtksourceview-4/language-specs/julia.lang
+share/gtksourceview-4/language-specs/kotlin.lang
+share/gtksourceview-4/language-specs/language.dtd
+share/gtksourceview-4/language-specs/language.rng
+share/gtksourceview-4/language-specs/language2.rng
+share/gtksourceview-4/language-specs/latex.lang
+share/gtksourceview-4/language-specs/lex.lang
+share/gtksourceview-4/language-specs/libtool.lang
+share/gtksourceview-4/language-specs/llvm.lang
+share/gtksourceview-4/language-specs/logcat.lang
+share/gtksourceview-4/language-specs/lua.lang
+share/gtksourceview-4/language-specs/m4.lang
+share/gtksourceview-4/language-specs/makefile.lang
+share/gtksourceview-4/language-specs/mallard.lang
+share/gtksourceview-4/language-specs/markdown.lang
+share/gtksourceview-4/language-specs/matlab.lang
+share/gtksourceview-4/language-specs/maxima.lang
+share/gtksourceview-4/language-specs/mediawiki.lang
+share/gtksourceview-4/language-specs/meson.lang
+share/gtksourceview-4/language-specs/modelica.lang
+share/gtksourceview-4/language-specs/mxml.lang
+share/gtksourceview-4/language-specs/nemerle.lang
+share/gtksourceview-4/language-specs/netrexx.lang
+share/gtksourceview-4/language-specs/nsis.lang
+share/gtksourceview-4/language-specs/objc.lang
+share/gtksourceview-4/language-specs/objj.lang
+share/gtksourceview-4/language-specs/ocaml.lang
+share/gtksourceview-4/language-specs/ocl.lang
+share/gtksourceview-4/language-specs/octave.lang
+share/gtksourceview-4/language-specs/ooc.lang
+share/gtksourceview-4/language-specs/opal.lang
+share/gtksourceview-4/language-specs/opencl.lang
+share/gtksourceview-4/language-specs/pascal.lang
+share/gtksourceview-4/language-specs/perl.lang
+share/gtksourceview-4/language-specs/php.lang
+share/gtksourceview-4/language-specs/pig.lang
+share/gtksourceview-4/language-specs/pkgconfig.lang
+share/gtksourceview-4/language-specs/po.lang
+share/gtksourceview-4/language-specs/prolog.lang
+share/gtksourceview-4/language-specs/protobuf.lang
+share/gtksourceview-4/language-specs/puppet.lang
+share/gtksourceview-4/language-specs/python.lang
+share/gtksourceview-4/language-specs/python3.lang
+share/gtksourceview-4/language-specs/rpmspec.lang
+share/gtksourceview-4/language-specs/rst.lang
+share/gtksourceview-4/language-specs/ruby.lang
+share/gtksourceview-4/language-specs/rust.lang
+share/gtksourceview-4/language-specs/scala.lang
+share/gtksourceview-4/language-specs/scheme.lang
+share/gtksourceview-4/language-specs/scilab.lang
+share/gtksourceview-4/language-specs/sh.lang
+share/gtksourceview-4/language-specs/sml.lang
+share/gtksourceview-4/language-specs/sparql.lang
+share/gtksourceview-4/language-specs/sql.lang
+share/gtksourceview-4/language-specs/sweave.lang
+share/gtksourceview-4/language-specs/swift.lang
+share/gtksourceview-4/language-specs/systemverilog.lang
+share/gtksourceview-4/language-specs/t2t.lang
+share/gtksourceview-4/language-specs/tcl.lang
+share/gtksourceview-4/language-specs/tera.lang
+share/gtksourceview-4/language-specs/texinfo.lang
+share/gtksourceview-4/language-specs/thrift.lang
+share/gtksourceview-4/language-specs/vala.lang
+share/gtksourceview-4/language-specs/vbnet.lang
+share/gtksourceview-4/language-specs/verilog.lang
+share/gtksourceview-4/language-specs/vhdl.lang
+share/gtksourceview-4/language-specs/xml.lang
+share/gtksourceview-4/language-specs/xslt.lang
+share/gtksourceview-4/language-specs/yacc.lang
+share/gtksourceview-4/language-specs/yaml.lang
+share/gtksourceview-4/styles/classic.xml
+share/gtksourceview-4/styles/cobalt.xml
+share/gtksourceview-4/styles/kate.xml
+share/gtksourceview-4/styles/oblivion.xml
+share/gtksourceview-4/styles/solarized-dark.xml
+share/gtksourceview-4/styles/solarized-light.xml
+share/gtksourceview-4/styles/styles.rng
+share/gtksourceview-4/styles/tango.xml
+share/locale/ar/LC_MESSAGES/gtksourceview-4.mo
+share/locale/as/LC_MESSAGES/gtksourceview-4.mo
+share/locale/ast/LC_MESSAGES/gtksourceview-4.mo
+share/locale/az/LC_MESSAGES/gtksourceview-4.mo
+share/locale/be/LC_MESSAGES/gtksourceview-4.mo
+share/locale/bg/LC_MESSAGES/gtksourceview-4.mo
+share/locale/bn/LC_MESSAGES/gtksourceview-4.mo
+share/locale/bn_IN/LC_MESSAGES/gtksourceview-4.mo
+share/locale/bs/LC_MESSAGES/gtksourceview-4.mo
+share/locale/ca/LC_MESSAGES/gtksourceview-4.mo
+share/locale/ca@valencia/LC_MESSAGES/gtksourceview-4.mo
+share/locale/cs/LC_MESSAGES/gtksourceview-4.mo
+share/locale/cy/LC_MESSAGES/gtksourceview-4.mo
+share/locale/da/LC_MESSAGES/gtksourceview-4.mo
+share/locale/de/LC_MESSAGES/gtksourceview-4.mo
+share/locale/dz/LC_MESSAGES/gtksourceview-4.mo
+share/locale/el/LC_MESSAGES/gtksourceview-4.mo
+share/locale/en@shaw/LC_MESSAGES/gtksourceview-4.mo
+share/locale/en_CA/LC_MESSAGES/gtksourceview-4.mo
+share/locale/en_GB/LC_MESSAGES/gtksourceview-4.mo
+share/locale/eo/LC_MESSAGES/gtksourceview-4.mo
+share/locale/es/LC_MESSAGES/gtksourceview-4.mo
+share/locale/et/LC_MESSAGES/gtksourceview-4.mo
+share/locale/eu/LC_MESSAGES/gtksourceview-4.mo
+share/locale/fa/LC_MESSAGES/gtksourceview-4.mo
+share/locale/fi/LC_MESSAGES/gtksourceview-4.mo
+share/locale/fr/LC_MESSAGES/gtksourceview-4.mo
+share/locale/fur/LC_MESSAGES/gtksourceview-4.mo
+share/locale/ga/LC_MESSAGES/gtksourceview-4.mo
+share/locale/gl/LC_MESSAGES/gtksourceview-4.mo
+share/locale/gu/LC_MESSAGES/gtksourceview-4.mo
+share/locale/he/LC_MESSAGES/gtksourceview-4.mo
+share/locale/hi/LC_MESSAGES/gtksourceview-4.mo
+share/locale/hr/LC_MESSAGES/gtksourceview-4.mo
+share/locale/hu/LC_MESSAGES/gtksourceview-4.mo
+share/locale/id/LC_MESSAGES/gtksourceview-4.mo
+share/locale/it/LC_MESSAGES/gtksourceview-4.mo
+share/locale/ja/LC_MESSAGES/gtksourceview-4.mo
+share/locale/kk/LC_MESSAGES/gtksourceview-4.mo
+share/locale/kn/LC_MESSAGES/gtksourceview-4.mo
+share/locale/ko/LC_MESSAGES/gtksourceview-4.mo
+share/locale/lt/LC_MESSAGES/gtksourceview-4.mo
+share/locale/lv/LC_MESSAGES/gtksourceview-4.mo
+share/locale/mai/LC_MESSAGES/gtksourceview-4.mo
+share/locale/mg/LC_MESSAGES/gtksourceview-4.mo
+share/locale/mk/LC_MESSAGES/gtksourceview-4.mo
+share/locale/ml/LC_MESSAGES/gtksourceview-4.mo
+share/locale/mn/LC_MESSAGES/gtksourceview-4.mo
+share/locale/mr/LC_MESSAGES/gtksourceview-4.mo
+share/locale/ms/LC_MESSAGES/gtksourceview-4.mo
+share/locale/nb/LC_MESSAGES/gtksourceview-4.mo
+share/locale/ne/LC_MESSAGES/gtksourceview-4.mo
+share/locale/nl/LC_MESSAGES/gtksourceview-4.mo
+share/locale/nn/LC_MESSAGES/gtksourceview-4.mo
+share/locale/oc/LC_MESSAGES/gtksourceview-4.mo
+share/locale/or/LC_MESSAGES/gtksourceview-4.mo
+share/locale/pa/LC_MESSAGES/gtksourceview-4.mo
+share/locale/pl/LC_MESSAGES/gtksourceview-4.mo
+share/locale/pt/LC_MESSAGES/gtksourceview-4.mo
+share/locale/pt_BR/LC_MESSAGES/gtksourceview-4.mo
+share/locale/ro/LC_MESSAGES/gtksourceview-4.mo
+share/locale/ru/LC_MESSAGES/gtksourceview-4.mo
+share/locale/rw/LC_MESSAGES/gtksourceview-4.mo
+share/locale/si/LC_MESSAGES/gtksourceview-4.mo
+share/locale/sk/LC_MESSAGES/gtksourceview-4.mo
+share/locale/sl/LC_MESSAGES/gtksourceview-4.mo
+share/locale/sq/LC_MESSAGES/gtksourceview-4.mo
+share/locale/sr/LC_MESSAGES/gtksourceview-4.mo
+share/locale/sr@latin/LC_MESSAGES/gtksourceview-4.mo
+share/locale/sv/LC_MESSAGES/gtksourceview-4.mo
+share/locale/ta/LC_MESSAGES/gtksourceview-4.mo
+share/locale/te/LC_MESSAGES/gtksourceview-4.mo
+share/locale/tg/LC_MESSAGES/gtksourceview-4.mo
+share/locale/th/LC_MESSAGES/gtksourceview-4.mo
+share/locale/tr/LC_MESSAGES/gtksourceview-4.mo
+share/locale/ug/LC_MESSAGES/gtksourceview-4.mo
+share/locale/uk/LC_MESSAGES/gtksourceview-4.mo
+share/locale/vi/LC_MESSAGES/gtksourceview-4.mo
+share/locale/xh/LC_MESSAGES/gtksourceview-4.mo
+share/locale/zh_CN/LC_MESSAGES/gtksourceview-4.mo
+share/locale/zh_HK/LC_MESSAGES/gtksourceview-4.mo
+share/locale/zh_TW/LC_MESSAGES/gtksourceview-4.mo
diff --git a/x11/gtksourceview4/buildlink3.mk b/x11/gtksourceview4/buildlink3.mk
new file mode 100644
index 00000000000..68cd3b1aff8
--- /dev/null
+++ b/x11/gtksourceview4/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/03/11 20:23:23 wiz Exp $
+
+BUILDLINK_TREE+= gtksourceview4
+
+.if !defined(GTKSOURCEVIEW4_BUILDLINK3_MK)
+GTKSOURCEVIEW4_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gtksourceview4+= gtksourceview4>=4.0.0
+BUILDLINK_PKGSRCDIR.gtksourceview4?= ../../x11/gtksourceview4
+
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.endif # GTKSOURCEVIEW4_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -gtksourceview4
diff --git a/x11/gtksourceview4/distinfo b/x11/gtksourceview4/distinfo
new file mode 100644
index 00000000000..4ec9a0d4a0b
--- /dev/null
+++ b/x11/gtksourceview4/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/03/11 20:23:23 wiz Exp $
+
+SHA1 (gtksourceview-4.0.0.tar.xz) = 36446f2ff3443fc29afbbf105644f7ff527ec962
+RMD160 (gtksourceview-4.0.0.tar.xz) = e83485cc439f36efeb9b93022ae35c285ff4bb6b
+SHA512 (gtksourceview-4.0.0.tar.xz) = 2f8e211ae2e351db143da2eb164ed702161de91073c0c9bcfc4dbecf5d93243c842694fbaf850fd50ab7994858d63f15684c357bdd2436f26b983affc7864705
+Size (gtksourceview-4.0.0.tar.xz) = 1352196 bytes
diff --git a/x11/gtksourceview4/options.mk b/x11/gtksourceview4/options.mk
new file mode 100644
index 00000000000..5ef779b2d28
--- /dev/null
+++ b/x11/gtksourceview4/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2018/03/11 20:23:23 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.gtksourceview4
+PKG_SUPPORTED_OPTIONS= introspection
+PKG_SUGGESTED_OPTIONS= introspection
+PLIST_VARS+= introspection
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mintrospection)
+PLIST.introspection= yes
+BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=1.42.0
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --enable-introspection=no
+.endif