summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-06-12 11:38:32 +0000
committernia <nia@pkgsrc.org>2020-06-12 11:38:32 +0000
commite0b7b2aab1ce23dae296c65bb4e9ffd97498b53c (patch)
treefb2a15e8388f5e3984178a24b4681b1760a5194e /devel
parent9142e43a227d9d4619bbcf53124748ded66d77c1 (diff)
downloadpkgsrc-e0b7b2aab1ce23dae296c65bb4e9ffd97498b53c.tar.gz
devel: Add libgnt
GNT is an ncurses toolkit for creating text-mode graphical user interfaces in a fast and easy way. It is based on GLib and ncurses. It was born out of the console-based UI, Finch, for the libpurple project, but has now been split into its own independent repository.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile3
-rw-r--r--devel/libgnt/DESCR5
-rw-r--r--devel/libgnt/Makefile30
-rw-r--r--devel/libgnt/PLIST91
-rw-r--r--devel/libgnt/buildlink3.mk16
-rw-r--r--devel/libgnt/distinfo6
6 files changed, 150 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 26f882563fc..10855a12cf9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3142 2020/06/12 06:58:26 adam Exp $
+# $NetBSD: Makefile,v 1.3143 2020/06/12 11:38:32 nia Exp $
#
COMMENT= Development utilities
@@ -741,6 +741,7 @@ SUBDIR+= libgnome
SUBDIR+= libgnomemm
SUBDIR+= libgnomeui
SUBDIR+= libgnomeuimm
+SUBDIR+= libgnt
SUBDIR+= libgphoto2
SUBDIR+= libgsf
SUBDIR+= libgweather
diff --git a/devel/libgnt/DESCR b/devel/libgnt/DESCR
new file mode 100644
index 00000000000..0b01b087248
--- /dev/null
+++ b/devel/libgnt/DESCR
@@ -0,0 +1,5 @@
+GNT is an ncurses toolkit for creating text-mode graphical user interfaces
+in a fast and easy way. It is based on GLib and ncurses.
+
+It was born out of the console-based UI, Finch, for the libpurple project,
+but has now been split into its own independent repository.
diff --git a/devel/libgnt/Makefile b/devel/libgnt/Makefile
new file mode 100644
index 00000000000..3a6bbef8899
--- /dev/null
+++ b/devel/libgnt/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2020/06/12 11:38:32 nia Exp $
+
+DISTNAME= libgnt-2.14.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pidgin/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://bitbucket.org/pidgin/libgnt
+COMMENT= GLib Ncurses Toolkit
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= pkg-config
+
+SUBST_CLASSES+= nc
+SUBST_STAGE.nc= pre-configure
+SUBST_MESSAGE.nc= Correcting the path to ncurses.
+SUBST_FILES.nc+= meson.build
+SUBST_SED.nc+= -e "s,ncurses_sys_prefix = '/usr',ncurses_sys_prefix = '${PREFIX}',g"
+
+PYTHON_FOR_BUILD_ONLY= tool
+
+PKGCONFIG_OVERRIDE_STAGE= pre-install
+PKGCONFIG_OVERRIDE+= output/meson-private/gnt.pc
+
+.include "../../devel/meson/build.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/ncursesw/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libgnt/PLIST b/devel/libgnt/PLIST
new file mode 100644
index 00000000000..f3876d45d58
--- /dev/null
+++ b/devel/libgnt/PLIST
@@ -0,0 +1,91 @@
+@comment $NetBSD: PLIST,v 1.1 2020/06/12 11:38:32 nia Exp $
+include/gnt/gnt.h
+include/gnt/gntbindable.h
+include/gnt/gntbox.h
+include/gnt/gntbutton.h
+include/gnt/gntcheckbox.h
+include/gnt/gntclipboard.h
+include/gnt/gntcolors.h
+include/gnt/gntcombobox.h
+include/gnt/gntentry.h
+include/gnt/gntfilesel.h
+include/gnt/gntkeys.h
+include/gnt/gntlabel.h
+include/gnt/gntline.h
+include/gnt/gntmarshal.h
+include/gnt/gntmenu.h
+include/gnt/gntmenuitem.h
+include/gnt/gntmenuitemcheck.h
+include/gnt/gntprogressbar.h
+include/gnt/gntslider.h
+include/gnt/gntstyle.h
+include/gnt/gnttextview.h
+include/gnt/gnttree.h
+include/gnt/gntutils.h
+include/gnt/gntwidget.h
+include/gnt/gntwindow.h
+include/gnt/gntwm.h
+include/gnt/gntws.h
+lib/gnt/irssi.so
+lib/gnt/s.so
+lib/libgnt.so
+lib/libgnt.so.0
+lib/libgnt.so.0.14.0
+lib/pkgconfig/gnt.pc
+share/gtk-doc/html/libgnt/annotation-glossary.html
+share/gtk-doc/html/libgnt/api-2.1.0.html
+share/gtk-doc/html/libgnt/api-2.1.1.html
+share/gtk-doc/html/libgnt/api-${PKGVERSION}.html
+share/gtk-doc/html/libgnt/api-2.2.0.html
+share/gtk-doc/html/libgnt/api-2.3.0.html
+share/gtk-doc/html/libgnt/api-2.4.0.html
+share/gtk-doc/html/libgnt/api-2.4.2.html
+share/gtk-doc/html/libgnt/api-2.6.0.html
+share/gtk-doc/html/libgnt/api-2.7.3.html
+share/gtk-doc/html/libgnt/api-deprecated.html
+share/gtk-doc/html/libgnt/api-index-full.html
+share/gtk-doc/html/libgnt/ch01.html
+share/gtk-doc/html/libgnt/ch02.html
+share/gtk-doc/html/libgnt/ch03.html
+share/gtk-doc/html/libgnt/ch04.html
+share/gtk-doc/html/libgnt/ch05.html
+share/gtk-doc/html/libgnt/ch06.html
+share/gtk-doc/html/libgnt/core.html
+share/gtk-doc/html/libgnt/home.png
+share/gtk-doc/html/libgnt/index.html
+share/gtk-doc/html/libgnt/left-insensitive.png
+share/gtk-doc/html/libgnt/left.png
+share/gtk-doc/html/libgnt/libgnt-gnt.html
+share/gtk-doc/html/libgnt/libgnt-gntbindable.html
+share/gtk-doc/html/libgnt/libgnt-gntbox.html
+share/gtk-doc/html/libgnt/libgnt-gntbutton.html
+share/gtk-doc/html/libgnt/libgnt-gntcheckbox.html
+share/gtk-doc/html/libgnt/libgnt-gntclipboard.html
+share/gtk-doc/html/libgnt/libgnt-gntcolors.html
+share/gtk-doc/html/libgnt/libgnt-gntcombobox.html
+share/gtk-doc/html/libgnt/libgnt-gntentry.html
+share/gtk-doc/html/libgnt/libgnt-gntfilesel.html
+share/gtk-doc/html/libgnt/libgnt-gntkeys.html
+share/gtk-doc/html/libgnt/libgnt-gntlabel.html
+share/gtk-doc/html/libgnt/libgnt-gntline.html
+share/gtk-doc/html/libgnt/libgnt-gntmenu.html
+share/gtk-doc/html/libgnt/libgnt-gntmenuitem.html
+share/gtk-doc/html/libgnt/libgnt-gntmenuitemcheck.html
+share/gtk-doc/html/libgnt/libgnt-gntprogressbar.html
+share/gtk-doc/html/libgnt/libgnt-gntslider.html
+share/gtk-doc/html/libgnt/libgnt-gntstyle.html
+share/gtk-doc/html/libgnt/libgnt-gnttextview.html
+share/gtk-doc/html/libgnt/libgnt-gnttree.html
+share/gtk-doc/html/libgnt/libgnt-gntutils.html
+share/gtk-doc/html/libgnt/libgnt-gntwidget.html
+share/gtk-doc/html/libgnt/libgnt-gntwindow.html
+share/gtk-doc/html/libgnt/libgnt-gntwm.html
+share/gtk-doc/html/libgnt/libgnt-gntws.html
+share/gtk-doc/html/libgnt/libgnt.devhelp2
+share/gtk-doc/html/libgnt/pt03.html
+share/gtk-doc/html/libgnt/right-insensitive.png
+share/gtk-doc/html/libgnt/right.png
+share/gtk-doc/html/libgnt/style.css
+share/gtk-doc/html/libgnt/up-insensitive.png
+share/gtk-doc/html/libgnt/up.png
+share/gtk-doc/html/libgnt/widgets.html
diff --git a/devel/libgnt/buildlink3.mk b/devel/libgnt/buildlink3.mk
new file mode 100644
index 00000000000..fce35171bb1
--- /dev/null
+++ b/devel/libgnt/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/06/12 11:38:32 nia Exp $
+
+BUILDLINK_TREE+= libgnt
+
+.if !defined(LIBGNT_BUILDLINK3_MK)
+LIBGNT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libgnt+= libgnt>=2.14.0
+BUILDLINK_PKGSRCDIR.libgnt?= ../../devel/libgnt
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/ncursesw/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.endif # LIBGNT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libgnt
diff --git a/devel/libgnt/distinfo b/devel/libgnt/distinfo
new file mode 100644
index 00000000000..5bb274d1ba4
--- /dev/null
+++ b/devel/libgnt/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/06/12 11:38:32 nia Exp $
+
+SHA1 (libgnt-2.14.0.tar.xz) = c179da4a23fdf123fc4f7221b8aa6096828d7d50
+RMD160 (libgnt-2.14.0.tar.xz) = e759253b992c31c02ce7c44ca0ef3d0b9080d80b
+SHA512 (libgnt-2.14.0.tar.xz) = 0d9c5550374696a0e6ede5246cda3c372d7055d21b9ffaf10be88d6a469bdf18c7dd1113ec612acf4889c0e5686ea87bb0e8348ca8985fd5ff8913afc5813b38
+Size (libgnt-2.14.0.tar.xz) = 102444 bytes