summaryrefslogtreecommitdiff
path: root/devel/libview
diff options
context:
space:
mode:
authordrochner <drochner>2009-10-26 11:29:45 +0000
committerdrochner <drochner>2009-10-26 11:29:45 +0000
commitc185d2505531b666e6c389bbd2b255e39267d94e (patch)
treec6b0c15e3cd8b0bf55edef69103e5f5841ce5c81 /devel/libview
parent09fb10b674e4d375c5ab8fe1a8c69ac81c08e3ac (diff)
downloadpkgsrc-c185d2505531b666e6c389bbd2b255e39267d94e.tar.gz
add libview-0.6.4, a collection of widgets from VMware
(checked for in the gtk-vnc build, but not useful there, so I only add it in the hope that it is of use somewhere else)
Diffstat (limited to 'devel/libview')
-rw-r--r--devel/libview/DESCR6
-rw-r--r--devel/libview/Makefile24
-rw-r--r--devel/libview/PLIST28
-rw-r--r--devel/libview/buildlink3.mk15
-rw-r--r--devel/libview/distinfo6
-rw-r--r--devel/libview/patches/patch-aa19
6 files changed, 98 insertions, 0 deletions
diff --git a/devel/libview/DESCR b/devel/libview/DESCR
new file mode 100644
index 00000000000..906c90f2d65
--- /dev/null
+++ b/devel/libview/DESCR
@@ -0,0 +1,6 @@
+libview is VMware's Incredibly Exciting Widgets, a useful collection of
+GTK+ widgets used within VMware products, free for everybody's use.
+This library consists of several widgets we use in Workstation and other
+products. We have benefitted so much from open source that we decided to
+give back. These widgets are under the MIT license and are largely
+written in C++ for GTKMM.
diff --git a/devel/libview/Makefile b/devel/libview/Makefile
new file mode 100644
index 00000000000..19f6914aa49
--- /dev/null
+++ b/devel/libview/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/10/26 11:29:45 drochner Exp $
+#
+
+DISTNAME= libview-0.6.4
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=view/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://view.sourceforge.net/
+COMMENT= GTK+ widget collection
+LICENSE= modified-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+= libview.pc.in
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/gtkmm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libview/PLIST b/devel/libview/PLIST
new file mode 100644
index 00000000000..33fbc72d7d7
--- /dev/null
+++ b/devel/libview/PLIST
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/10/26 11:29:45 drochner Exp $
+include/libview/actionGroup.hh
+include/libview/autoDrawer.h
+include/libview/baseBGBox.hh
+include/libview/contentBox.hh
+include/libview/deadEntry.hh
+include/libview/defines.h
+include/libview/drawer.h
+include/libview/fieldEntry.hh
+include/libview/header.hh
+include/libview/ipEntry.hh
+include/libview/menuToggleAction.hh
+include/libview/motionTracker.hh
+include/libview/ovBox.h
+include/libview/reparenter.hh
+include/libview/spinner.hh
+include/libview/spinnerAction.hh
+include/libview/toolTip.hh
+include/libview/uiGroup.hh
+include/libview/undoableTextView.hh
+include/libview/utils.hh
+include/libview/view.hh
+include/libview/viewport.hh
+include/libview/weakPtr.hh
+include/libview/widthHeight.hh
+include/libview/wrapLabel.hh
+lib/libview.la
+lib/pkgconfig/libview.pc
diff --git a/devel/libview/buildlink3.mk b/devel/libview/buildlink3.mk
new file mode 100644
index 00000000000..6767b46d49a
--- /dev/null
+++ b/devel/libview/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/10/26 11:29:45 drochner Exp $
+
+BUILDLINK_TREE+= libview
+
+.if !defined(LIBVIEW_BUILDLINK3_MK)
+LIBVIEW_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libview+= libview>=0.6.4
+BUILDLINK_PKGSRCDIR.libview?= ../../devel/libview
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/gtkmm/buildlink3.mk"
+.endif # LIBVIEW_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libview
diff --git a/devel/libview/distinfo b/devel/libview/distinfo
new file mode 100644
index 00000000000..ac1a520c542
--- /dev/null
+++ b/devel/libview/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/10/26 11:29:45 drochner Exp $
+
+SHA1 (libview-0.6.4.tar.gz) = a664e5c86453d839d4540189215be94f4ced88d1
+RMD160 (libview-0.6.4.tar.gz) = d867272ca05d411c1c5c3dc4f2d76491670382f2
+Size (libview-0.6.4.tar.gz) = 382850 bytes
+SHA1 (patch-aa) = 65204cd9d27c8b73a3d0ace16ddd36d7f4ad1bc9
diff --git a/devel/libview/patches/patch-aa b/devel/libview/patches/patch-aa
new file mode 100644
index 00000000000..48ae12cd6d7
--- /dev/null
+++ b/devel/libview/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/10/26 11:29:45 drochner Exp $
+
+--- libview.pc.in.orig 2008-11-26 01:31:17.000000000 +0100
++++ libview.pc.in
+@@ -1,9 +1,9 @@
+-prefix=${prefix}
+-libdir=${exec_prefix}/lib
+-includedir=${prefix}/include
++prefix=@prefix@
++libdir=@prefix@/lib
++includedir=@prefix@/include
+
+ Name: libview
+ Description: VMware's Incredibly Exciting Widgets for GTK+
+ Version: @VERSION@
+-Libs: -L${libdir} -lview @PACKAGE_LIBS@
+-Cflags: -I${includedir} @PACKAGE_CFLAGS@
++Libs: -Wl,-R${libdir} -L${libdir} -lview @VIEW_LIBS@
++Cflags: -I${includedir} @VIEW_CFLAGS@