aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/libunique3
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-03-19 13:30:41 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-03-19 13:30:41 +0000
commit65a2ac97296dd817642f19db184a12496ad958f4 (patch)
treec2258aa59da46d0d34f6830d47d04f2a3d3aac1e /x11-toolkits/libunique3
parenteebe4f631a95b6151f791063ddd89470be950018 (diff)
downloadports-65a2ac97296dd817642f19db184a12496ad958f4.tar.gz
ports-65a2ac97296dd817642f19db184a12496ad958f4.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.
Notes
Notes: svn path=/head/; revision=314644
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