summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/libunique3/DESCR11
-rw-r--r--x11/libunique3/Makefile24
-rw-r--r--x11/libunique3/PLIST26
-rw-r--r--x11/libunique3/buildlink3.mk13
-rw-r--r--x11/libunique3/distinfo5
5 files changed, 79 insertions, 0 deletions
diff --git a/x11/libunique3/DESCR b/x11/libunique3/DESCR
new file mode 100644
index 00000000000..74e81c2c5d4
--- /dev/null
+++ b/x11/libunique3/DESCR
@@ -0,0 +1,11 @@
+Unique is a library for writing single instance application. If
+you launch a single instance application twice, the second instance
+will either just quit or will send a message to the running instance.
+
+Unique makes it easy to write this kind of applications, by providing
+a base class, taking care of all the IPC machinery needed to send
+messages to a running instance, and also handling the startup
+notification side.
+
+Unique aims to replace the BaconMessageConnection code that has
+been copied by many projects and the code using Bonobo and D-Bus.
diff --git a/x11/libunique3/Makefile b/x11/libunique3/Makefile
new file mode 100644
index 00000000000..3f798e7c406
--- /dev/null
+++ b/x11/libunique3/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/07/14 21:03:57 ryoon Exp $
+#
+
+DISTNAME= libunique-3.0.2
+PKGNAME= ${DISTNAME:S/libunique/libunique3/}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libunique/3.0/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://live.gnome.org/LibUnique
+COMMENT= Library for writing single instance applications
+LICENSE= gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config gmake
+
+PKGCONFIG_OVERRIDE+= unique.pc.in
+
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/libunique3/PLIST b/x11/libunique3/PLIST
new file mode 100644
index 00000000000..953326ad0c0
--- /dev/null
+++ b/x11/libunique3/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/07/14 21:03:57 ryoon Exp $
+include/unique-3.0/unique/unique.h
+include/unique-3.0/unique/uniqueapp.h
+include/unique-3.0/unique/uniquebackend.h
+include/unique-3.0/unique/uniqueenumtypes.h
+include/unique-3.0/unique/uniquemessage.h
+include/unique-3.0/unique/uniqueversion.h
+lib/libunique-3.0.la
+lib/pkgconfig/unique-3.0.pc
+share/gtk-doc/html/unique-3.0/UniqueApp.html
+share/gtk-doc/html/unique-3.0/UniqueBackend.html
+share/gtk-doc/html/unique-3.0/home.png
+share/gtk-doc/html/unique-3.0/index.html
+share/gtk-doc/html/unique-3.0/index.sgml
+share/gtk-doc/html/unique-3.0/ix01.html
+share/gtk-doc/html/unique-3.0/left.png
+share/gtk-doc/html/unique-3.0/license.html
+share/gtk-doc/html/unique-3.0/right.png
+share/gtk-doc/html/unique-3.0/style.css
+share/gtk-doc/html/unique-3.0/unique-3.0.devhelp
+share/gtk-doc/html/unique-3.0/unique-3.0.devhelp2
+share/gtk-doc/html/unique-3.0/unique-Message-Data.html
+share/gtk-doc/html/unique-3.0/unique-Versioning-Information.html
+share/gtk-doc/html/unique-3.0/unique-glossary.html
+share/gtk-doc/html/unique-3.0/unique-overview.html
+share/gtk-doc/html/unique-3.0/up.png
diff --git a/x11/libunique3/buildlink3.mk b/x11/libunique3/buildlink3.mk
new file mode 100644
index 00000000000..d7ddd28ecae
--- /dev/null
+++ b/x11/libunique3/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/07/14 21:03:57 ryoon Exp $
+
+BUILDLINK_TREE+= libunique
+
+.if !defined(LIBUNIQUE_BUILDLINK3_MK)
+LIBUNIQUE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libunique+= libunique3>=3.0.2
+BUILDLINK_PKGSRCDIR.libunique?= ../../x11/libunique3
+
+.endif # LIBUNIQUE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libunique
diff --git a/x11/libunique3/distinfo b/x11/libunique3/distinfo
new file mode 100644
index 00000000000..eba21a0862b
--- /dev/null
+++ b/x11/libunique3/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/07/14 21:03:57 ryoon Exp $
+
+SHA1 (libunique-3.0.2.tar.bz2) = 3ca7c702741e6fa39ceab364d69056633a326846
+RMD160 (libunique-3.0.2.tar.bz2) = d69b34ae74ddf2f88a1a91b05f8c62f9f1466502
+Size (libunique-3.0.2.tar.bz2) = 342778 bytes