summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/unique/Makefile42
-rw-r--r--x11-toolkits/unique/distinfo2
-rw-r--r--x11-toolkits/unique/pkg-descr12
-rw-r--r--x11-toolkits/unique/pkg-plist32
4 files changed, 88 insertions, 0 deletions
diff --git a/x11-toolkits/unique/Makefile b/x11-toolkits/unique/Makefile
new file mode 100644
index 000000000..4dee8ed0d
--- /dev/null
+++ b/x11-toolkits/unique/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: libunique
+# Date created: 22 Feb 2009
+# Whom: Koop Mast <kwm@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/x11-toolkits/unique/Makefile,v 1.9 2010/06/29 21:14:06 kwm Exp $
+#
+
+PORTNAME= unique
+PORTVERSION= 1.1.6
+PORTREVISION= 2
+CATEGORIES= x11-toolkits
+MASTER_SITES= GNOME/sources/lib${PORTNAME}/${PORTVERSION:R}/
+DISTNAME= lib${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= kwm@FreeBSD.org
+COMMENT= Library for single instance applications
+
+LIB_DEPENDS= dbus-1.3:${PORTSDIR}/devel/dbus
+
+USE_XORG= ice
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GETTEXT= yes
+USE_LDCONFIG= yes
+USE_AUTOTOOLS= libtool
+USE_GNOME= gtk20 gnomeprefix ltverhack:2
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-maintainer-flags
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|g' \
+ ${WRKSRC}/configure ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|G_CONST_RETURN|const|g' \
+ ${WRKSRC}/unique/uniqueapp.c \
+ ${WRKSRC}/unique/uniquebackend.[ch] \
+ ${WRKSRC}/unique/uniqueinternals.h \
+ ${WRKSRC}/unique/uniquemessage.[ch]
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/unique/distinfo b/x11-toolkits/unique/distinfo
new file mode 100644
index 000000000..c8103ca7d
--- /dev/null
+++ b/x11-toolkits/unique/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libunique-1.1.6.tar.bz2) = e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb
+SIZE (libunique-1.1.6.tar.bz2) = 335534
diff --git a/x11-toolkits/unique/pkg-descr b/x11-toolkits/unique/pkg-descr
new file mode 100644
index 000000000..01b924566
--- /dev/null
+++ b/x11-toolkits/unique/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/unique/pkg-plist b/x11-toolkits/unique/pkg-plist
new file mode 100644
index 000000000..37507d057
--- /dev/null
+++ b/x11-toolkits/unique/pkg-plist
@@ -0,0 +1,32 @@
+include/unique-1.0/unique/unique.h
+include/unique-1.0/unique/uniqueapp.h
+include/unique-1.0/unique/uniquebackend.h
+include/unique-1.0/unique/uniqueenumtypes.h
+include/unique-1.0/unique/uniquemessage.h
+include/unique-1.0/unique/uniqueversion.h
+lib/girepository-1.0/Unique-1.0.typelib
+lib/libunique-1.0.a
+lib/libunique-1.0.la
+lib/libunique-1.0.so
+lib/libunique-1.0.so.2
+libdata/pkgconfig/unique-1.0.pc
+share/gir-1.0/Unique-1.0.gir
+%%DOCSDIR%%/UniqueApp.html
+%%DOCSDIR%%/UniqueBackend.html
+%%DOCSDIR%%/home.png
+%%DOCSDIR%%/index.html
+%%DOCSDIR%%/index.sgml
+%%DOCSDIR%%/ix01.html
+%%DOCSDIR%%/left.png
+%%DOCSDIR%%/license.html
+%%DOCSDIR%%/right.png
+%%DOCSDIR%%/style.css
+%%DOCSDIR%%/unique-Message-Data.html
+%%DOCSDIR%%/unique-Versioning-Information.html
+%%DOCSDIR%%/unique-overview.html
+%%DOCSDIR%%/unique.devhelp
+%%DOCSDIR%%/unique.devhelp2
+%%DOCSDIR%%/up.png
+@dirrm %%DOCSDIR%%
+@dirrm include/unique-1.0/unique
+@dirrm include/unique-1.0