aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-07-16 05:35:33 +0800
committermiwi <miwi@FreeBSD.org>2007-07-16 05:35:33 +0800
commitd4a9fb58b0c0936296768324345516af3e23225c (patch)
treec26e99a4e644b2246bce9ec6a9794bf022cf341e /net-im
parent0b8e0c90cd4c38df6ed3e7757d85a00bfd3d8b18 (diff)
downloadfreebsd-ports-gnome-d4a9fb58b0c0936296768324345516af3e23225c.tar.gz
freebsd-ports-gnome-d4a9fb58b0c0936296768324345516af3e23225c.tar.zst
freebsd-ports-gnome-d4a9fb58b0c0936296768324345516af3e23225c.zip
This plugin adds a libnotify interface to pidgin, enabling popups much like
guifications. It has some configuration options, to show popups when a buddy signs on, on new messages and on new conversations only. WWW: http://gaim-libnotify.sourceforge.net/ PR: ports/114479 Submitted by: Meethune Bhowmick <meethune at gmail.com>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/Makefile1
-rw-r--r--net-im/pidgin-libnotify/Makefile44
-rw-r--r--net-im/pidgin-libnotify/distinfo3
-rw-r--r--net-im/pidgin-libnotify/pkg-descr8
-rw-r--r--net-im/pidgin-libnotify/pkg-plist14
5 files changed, 70 insertions, 0 deletions
diff --git a/net-im/Makefile b/net-im/Makefile
index a565169fffd5..8034441a4a8e 100644
--- a/net-im/Makefile
+++ b/net-im/Makefile
@@ -99,6 +99,7 @@
SUBDIR += pidgin
SUBDIR += pidgin-guifications
SUBDIR += pidgin-hotkeys
+ SUBDIR += pidgin-libnotify
SUBDIR += pidgin-rhythmbox
SUBDIR += pork
SUBDIR += py-msnp
diff --git a/net-im/pidgin-libnotify/Makefile b/net-im/pidgin-libnotify/Makefile
new file mode 100644
index 000000000000..98c7c9ff3212
--- /dev/null
+++ b/net-im/pidgin-libnotify/Makefile
@@ -0,0 +1,44 @@
+# Ports collection Makefile for: pidgin-libnotify
+# Date created: 2007-07-10
+# Whom: Meethune Bhowmick <meethune@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libnotify
+PORTVERSION= 0.13
+CATEGORIES= net-im
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S^%SUBDIR%^gaim-libnotify^}
+PKGNAMEPREFIX= pidgin-
+DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= meethune@gmail.com
+COMMENT= This plugin adds a libnotify interface to Pidgin
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/pidgin:${PORTSDIR}/net-im/pidgin \
+ ${LOCALBASE}/libdata/pkgconfig/libnotify.pc:${PORTSDIR}/devel/libnotify
+LIB_DEPENDS= notify.1:${PORTSDIR}/devel/libnotify \
+ purple.0:${PORTSDIR}/net-im/libpurple
+
+USE_XLIB= yes
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+USE_GNOME= pkgconfig gtk20
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
+
+CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+
+CONFIGURE_ARGS= --disable-static
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/net-im/pidgin-libnotify/distinfo b/net-im/pidgin-libnotify/distinfo
new file mode 100644
index 000000000000..cbd457e55907
--- /dev/null
+++ b/net-im/pidgin-libnotify/distinfo
@@ -0,0 +1,3 @@
+MD5 (pidgin-libnotify-0.13.tar.gz) = cb71adcb3aa116b6480281e211e61fda
+SHA256 (pidgin-libnotify-0.13.tar.gz) = 2a2aa46f23fac202bb23c2a7bb297576e8e43a0dac7ca67cf5363eb489d24593
+SIZE (pidgin-libnotify-0.13.tar.gz) = 356042
diff --git a/net-im/pidgin-libnotify/pkg-descr b/net-im/pidgin-libnotify/pkg-descr
new file mode 100644
index 000000000000..e4db211263eb
--- /dev/null
+++ b/net-im/pidgin-libnotify/pkg-descr
@@ -0,0 +1,8 @@
+This plugin adds a libnotify interface to pidgin, enabling popups much like
+guifications. It has some configuration options, to show popups when a buddy
+signs on, on new messages and on new conversations only.
+
+WWW: http://gaim-libnotify.sourceforge.net/
+
+- Meethune Bhowmick
+meethune@gmail.com
diff --git a/net-im/pidgin-libnotify/pkg-plist b/net-im/pidgin-libnotify/pkg-plist
new file mode 100644
index 000000000000..9aead91dc11b
--- /dev/null
+++ b/net-im/pidgin-libnotify/pkg-plist
@@ -0,0 +1,14 @@
+%%NLS%%share/locale/es/LC_MESSAGES/pidgin-libnotify.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/pidgin-libnotify.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/pidgin-libnotify.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/pidgin-libnotify.mo
+%%NLS%%share/locale/it/LC_MESSAGES/pidgin-libnotify.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/pidgin-libnotify.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/pidgin-libnotify.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/pidgin-libnotify.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/pidgin-libnotify.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/pidgin-libnotify.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/pidgin-libnotify.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/pidgin-libnotify.mo
+lib/purple-2/pidgin-libnotify.so
+lib/purple-2/pidgin-libnotify.la