aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libunique3
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2013-03-19 21:30:41 +0800
committerkwm <kwm@FreeBSD.org>2013-03-19 21:30:41 +0800
commitb3661793f2278d0d2c18ab600f57f9ccaaeef4a7 (patch)
treec2258aa59da46d0d34f6830d47d04f2a3d3aac1e /x11-toolkits/libunique3
parentd9178b625992dd320fd8040f32d80c75231042f9 (diff)
downloadfreebsd-ports-gnome-b3661793f2278d0d2c18ab600f57f9ccaaeef4a7.tar.gz
freebsd-ports-gnome-b3661793f2278d0d2c18ab600f57f9ccaaeef4a7.tar.zst
freebsd-ports-gnome-b3661793f2278d0d2c18ab600f57f9ccaaeef4a7.zip
Add libunique3, this is the gtk+3 version of x11-toolkits/unique.
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.
Diffstat (limited to 'x11-toolkits/libunique3')
-rw-r--r--x11-toolkits/libunique3/Makefile33
-rw-r--r--x11-toolkits/libunique3/distinfo2
-rw-r--r--x11-toolkits/libunique3/pkg-descr12
-rw-r--r--x11-toolkits/libunique3/pkg-plist15
4 files changed, 62 insertions, 0 deletions
diff --git a/x11-toolkits/libunique3/Makefile b/x11-toolkits/libunique3/Makefile
new file mode 100644
index 000000000000..e5c29675641a
--- /dev/null
+++ b/x11-toolkits/libunique3/Makefile
@@ -0,0 +1,33 @@
+# Created by: Koop Mast <kwm@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= libunique
+PORTVERSION= 3.0.2
+CATEGORIES= x11-toolkits
+MASTER_SITES= GNOME
+
+MAINTAINER= kwm@FreeBSD.org
+COMMENT= Library for single instance applications
+
+BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
+LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+
+LATEST_LINK= libunique3
+USE_XORG= ice x11
+USE_XZ= yes
+USE_GMAKE= yes
+USE_GETTEXT= yes
+USE_LDCONFIG= yes
+USE_AUTOTOOLS= libtool
+USE_GNOME= gtk30 gnomeprefix ltverhack:0
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-maintainer-flags --enable-gtk-doc-html=no
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|g' \
+ -e 's|unique tests doc|unique tests|g' \
+ ${WRKSRC}/configure ${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/libunique3/distinfo b/x11-toolkits/libunique3/distinfo
new file mode 100644
index 000000000000..843e239728ff
--- /dev/null
+++ b/x11-toolkits/libunique3/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libunique-3.0.2.tar.xz) = a8f02ce073e2b920cca8ac45d418e7cb64438ad0814780c5912c6d63f8a4e038
+SIZE (libunique-3.0.2.tar.xz) = 294712
diff --git a/x11-toolkits/libunique3/pkg-descr b/x11-toolkits/libunique3/pkg-descr
new file mode 100644
index 000000000000..01b9245662a2
--- /dev/null
+++ b/x11-toolkits/libunique3/pkg-descr
@@ -0,0 +1,12 @@
+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.
+
+WWW: http://live.gnome.org/LibUnique
diff --git a/x11-toolkits/libunique3/pkg-plist b/x11-toolkits/libunique3/pkg-plist
new file mode 100644
index 000000000000..69a968dca8dc
--- /dev/null
+++ b/x11-toolkits/libunique3/pkg-plist
@@ -0,0 +1,15 @@
+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/girepository-1.0/Unique-3.0.typelib
+lib/libunique-3.0.a
+lib/libunique-3.0.la
+lib/libunique-3.0.so
+lib/libunique-3.0.so.0
+libdata/pkgconfig/unique-3.0.pc
+share/gir-1.0/Unique-3.0.gir
+@dirrm include/unique-3.0/unique
+@dirrm include/unique-3.0