summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorsmb <smb@pkgsrc.org>2008-06-23 21:00:50 +0000
committersmb <smb@pkgsrc.org>2008-06-23 21:00:50 +0000
commitb8bf34727e986c5eb13708a3beb2816e7ea5aca4 (patch)
treefda05e86efdfead27549ce2aed249a96dbbb1fdc /chat
parentf740336d745685d33e3d5bfb6ad52af8b449018b (diff)
downloadpkgsrc-b8bf34727e986c5eb13708a3beb2816e7ea5aca4.tar.gz
Add initial package for pidgin-facebookchat. The Makefile is ugly,
but so is the underlying code...
Diffstat (limited to 'chat')
-rw-r--r--chat/pidgin-facebookchat/DESCR6
-rw-r--r--chat/pidgin-facebookchat/Makefile29
-rw-r--r--chat/pidgin-facebookchat/PLIST9
-rw-r--r--chat/pidgin-facebookchat/distinfo6
-rw-r--r--chat/pidgin-facebookchat/patches/patch-aa26
5 files changed, 76 insertions, 0 deletions
diff --git a/chat/pidgin-facebookchat/DESCR b/chat/pidgin-facebookchat/DESCR
new file mode 100644
index 00000000000..13679001587
--- /dev/null
+++ b/chat/pidgin-facebookchat/DESCR
@@ -0,0 +1,6 @@
+This is a Facebook chat plugin for Pidgin and libpurple messengers.
+It connects to the new Facebook Chat IM service without the need
+for an API key.
+
+Currently the plugin can log into the Facebook servers, grab the
+buddy list, and send/receive messages.
diff --git a/chat/pidgin-facebookchat/Makefile b/chat/pidgin-facebookchat/Makefile
new file mode 100644
index 00000000000..18b3d6c671a
--- /dev/null
+++ b/chat/pidgin-facebookchat/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2008/06/23 21:00:50 smb Exp $
+
+VERSION= 1.20
+DISTNAME= pidgin-facebookchat-source-${VERSION}
+PKGNAME= pidgin-facebookchat-${VERSION}
+CATEGORIES= chat
+MASTER_SITES= http://pidgin-facebookchat.googlecode.com/files/
+EXTRACT_SUFX= .tar.bz2
+WRKSRC= ${WRKDIR}
+
+MAINTAINER= smb@NetBSD.org
+HOMEPAGE= http://code.google.com/p/pidgin-facebookchat/
+COMMENT= Plugin for pidgin to render LaTeX as images
+
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= pre-configure
+SUBST_MESSAGE.paths= Fixing absolute paths.
+SUBST_FILES.paths= Makefile
+SUBST_SED.paths= -e 's+-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include+-I${BUILDLINK_DIR}/include/glib/glib-2.0/glib -I${BUILDLINK_DIR}/include/glib/glib-2.0 -I${BUILDLINK_DIR}/lib/glib-2.0/include+g'
+SUBST_SED.paths+= -e 's+-I/usr/include/libpurple+-I${BUILDLINK_DIR}/include/libpurple+g'
+SUBST_SED.paths+= -e 's+/usr/share/+${PREFIX}/share/+g'
+SUBST_SED.paths+= -e 's+/usr/lib/+${PREFIX}/lib/+g'
+
+.include "../../chat/pidgin/buildlink3.mk"
+.include "../../chat/libpurple/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/pidgin-facebookchat/PLIST b/chat/pidgin-facebookchat/PLIST
new file mode 100644
index 00000000000..9b064c15c4f
--- /dev/null
+++ b/chat/pidgin-facebookchat/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2008/06/23 21:00:50 smb Exp $
+lib/purple-2/libfacebook.so
+share/pixmaps/pidgin/protocols/16/facebook.png
+share/pixmaps/pidgin/protocols/22/facebook.png
+share/pixmaps/pidgin/protocols/48/facebook.png
+@dirrm share/pixmaps/pidgin/protocols/48
+@dirrm share/pixmaps/pidgin/protocols/22
+@dirrm share/pixmaps/pidgin/protocols/16
+@dirrm lib/purple-2
diff --git a/chat/pidgin-facebookchat/distinfo b/chat/pidgin-facebookchat/distinfo
new file mode 100644
index 00000000000..1ac0fa92868
--- /dev/null
+++ b/chat/pidgin-facebookchat/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2008/06/23 21:00:50 smb Exp $
+
+SHA1 (pidgin-facebookchat-source-1.20.tar.bz2) = 48a2ace2293ef6103237392e1c7c83ca084aa0c2
+RMD160 (pidgin-facebookchat-source-1.20.tar.bz2) = 45e4befb0c40646972b317a069925f8789b3dfe8
+Size (pidgin-facebookchat-source-1.20.tar.bz2) = 28872 bytes
+SHA1 (patch-aa) = 1ad35e329970bfc4333c526f9fec1b8cd42cf6de
diff --git a/chat/pidgin-facebookchat/patches/patch-aa b/chat/pidgin-facebookchat/patches/patch-aa
new file mode 100644
index 00000000000..53158329798
--- /dev/null
+++ b/chat/pidgin-facebookchat/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1 2008/06/23 21:00:50 smb Exp $
+
+--- Makefile.orig 2008-06-23 16:53:09.000000000 -0400
++++ Makefile 2008-06-23 16:53:37.000000000 -0400
+@@ -1,5 +1,5 @@
+ #Customisable stuff here
+-LINUX32_COMPILER = i686-pc-linux-gnu-gcc
++LINUX32_COMPILER = gcc
+ LINUX64_COMPILER = x86_64-pc-linux-gnu-gcc
+ WIN32_COMPILER = /usr/bin/i586-mingw32-gcc
+ #LINUX_ARM_COMPILER = arm-pc-linux-gnu-gcc
+@@ -18,13 +18,10 @@
+ #Standard stuff here
+ .PHONY: all clean install sourcepackage
+
+-all: libfacebook.so libfacebook.dll libfacebook64.so libfacebookarm.so libfacebookppc.so installers sourcepackage
++all: libfacebook.so
+
+ install:
+ cp libfacebook.so /usr/lib/purple-2/
+- cp libfacebook64.so /usr/lib64/purple-2/
+- cp libfacebookarm.so /usr/lib/pidgin/
+- cp libfacebookppc.so /usr/lib/purple-2/
+ cp facebook16.png /usr/share/pixmaps/pidgin/protocols/16/facebook.png
+ cp facebook22.png /usr/share/pixmaps/pidgin/protocols/22/facebook.png
+ cp facebook48.png /usr/share/pixmaps/pidgin/protocols/48/facebook.png