summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2007-07-28 12:13:33 +0000
committergdt <gdt@pkgsrc.org>2007-07-28 12:13:33 +0000
commit211f90b1defb5df748005333d25f5e1344d3dd91 (patch)
tree257950f1a8ee0948b8aef75f80dd681b209d37d7 /chat
parentb192955c66a82b385aa2e38125363115983be1ba (diff)
downloadpkgsrc-211f90b1defb5df748005333d25f5e1344d3dd91.tar.gz
finch 2.0.1 (text version of pidgin)
From Jan Danielsson via pkgsrc-wip.
Diffstat (limited to 'chat')
-rw-r--r--chat/finch/DESCR4
-rw-r--r--chat/finch/Makefile44
-rw-r--r--chat/finch/PLIST52
-rw-r--r--chat/finch/TODO9
-rw-r--r--chat/finch/options.mk19
5 files changed, 128 insertions, 0 deletions
diff --git a/chat/finch/DESCR b/chat/finch/DESCR
new file mode 100644
index 00000000000..a071e84a906
--- /dev/null
+++ b/chat/finch/DESCR
@@ -0,0 +1,4 @@
+Finch is a command line instant messaging program for Windows, Linux,
+BSD, and other Unixes. You can talk to your friends using AIM, ICQ,
+Jabber/XMPP, MSN Messenger, Yahoo!, Bonjour, Gadu-Gadu, IRC, Novell
+GroupWise Messenger, QQ, Lotus Sametime, SILC, SIMPLE, and Zephyr.
diff --git a/chat/finch/Makefile b/chat/finch/Makefile
new file mode 100644
index 00000000000..b17e5586152
--- /dev/null
+++ b/chat/finch/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/07/28 12:13:33 gdt Exp $
+#
+
+PKGNAME= finch-${VERSION}
+
+COMMENT= Multi-protocol Instant Messaging client console frontend
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../chat/libpurple/Makefile.common"
+
+PKGCONFIG_OVERRIDE+= finch/libgnt/gnt.pc.in
+PKGCONFIG_OVERRIDE+= gaim.pc.in
+PKGCONFIG_OVERRIDE+= libpurple/purple.pc.in
+PKGCONFIG_OVERRIDE+= pidgin/pidgin.pc.in
+
+CONFIGURE_ARGS+= --disable-gevolution
+CONFIGURE_ARGS+= --disable-gtkui
+CONFIGURE_ARGS+= --enable-consoleui
+
+CONFIGURE_ARGS+= --disable-gnutls
+CONFIGURE_ARGS+= --disable-nss
+#CONFIGURE_ARGS+= --disable-plugins
+
+USE_NCURSES= yes # force ncurses, for libpanel
+
+BUILD_DIRS=finch
+
+.include "options.mk"
+
+pre-build:
+ # XXX Find a cleaner way.
+ ${TEST} -r ${WRKSRC}/libpurple/libpurple.la || \
+ ${LN} -s ${BUILDLINK_DIR}/lib/libpurple.la ${WRKSRC}/libpurple/.
+
+post-install:
+ ${INSTALL_MAN_DIR} ${DESTDIR:Q}${PREFIX:Q}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/finch.1 ${DESTDIR:Q}${PREFIX:Q}/man/man1
+
+.include "../../chat/libpurple/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/finch/PLIST b/chat/finch/PLIST
new file mode 100644
index 00000000000..03e92ae2f60
--- /dev/null
+++ b/chat/finch/PLIST
@@ -0,0 +1,52 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/07/28 12:13:33 gdt Exp $
+bin/finch
+include/finch/finch.h
+include/finch/gntaccount.h
+include/finch/gntblist.h
+include/finch/gntconn.h
+include/finch/gntconv.h
+include/finch/gntdebug.h
+include/finch/gntft.h
+include/finch/gntidle.h
+include/finch/gntnotify.h
+include/finch/gntplugin.h
+include/finch/gntpounce.h
+include/finch/gntprefs.h
+include/finch/gntrequest.h
+include/finch/gntstatus.h
+include/finch/gntui.h
+include/gnt/gnt.h
+include/gnt/gntbindable.h
+include/gnt/gntbox.h
+include/gnt/gntbutton.h
+include/gnt/gntcheckbox.h
+include/gnt/gntclipboard.h
+include/gnt/gntcolors.h
+include/gnt/gntcombobox.h
+include/gnt/gntentry.h
+include/gnt/gntfilesel.h
+include/gnt/gntkeys.h
+include/gnt/gntlabel.h
+include/gnt/gntline.h
+include/gnt/gntmarshal.h
+include/gnt/gntmenu.h
+include/gnt/gntmenuitem.h
+include/gnt/gntmenuitemcheck.h
+include/gnt/gntstyle.h
+include/gnt/gnttextview.h
+include/gnt/gnttree.h
+include/gnt/gntutils.h
+include/gnt/gntwidget.h
+include/gnt/gntwindow.h
+include/gnt/gntwm.h
+lib/finch/gntclipboard.la
+lib/finch/gntgf.la
+lib/finch/gnthistory.la
+lib/finch/gntlastlog.la
+lib/finch/s.la
+lib/libgnt.la
+lib/pkgconfig/gnt.pc
+man/man1/finch.1
+@dirrm include/finch
+@dirrm include/gnt
+@dirrm lib/finch
diff --git a/chat/finch/TODO b/chat/finch/TODO
new file mode 100644
index 00000000000..4001bda7881
--- /dev/null
+++ b/chat/finch/TODO
@@ -0,0 +1,9 @@
++ Builds, installs and does not crash on start but does not do anything useful
+ for me. At least CTRL-c works.
+
+- PKG_SUGGESTED_OPTIONS should be: gstreamer
+- during install:
+ libtool: install: warning: relinking `s.la'
+ cd: can't cd to ../../../libpurple/.libs
+ libtool: link: cannot determine absolute directory name of `../../../libpurple/.libs'
+
diff --git a/chat/finch/options.mk b/chat/finch/options.mk
new file mode 100644
index 00000000000..587ac60ed71
--- /dev/null
+++ b/chat/finch/options.mk
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1.1.1 2007/07/28 12:13:33 gdt Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.finch
+PKG_SUPPORTED_OPTIONS+= gstreamer debug
+PKG_SUGGESTED_OPTIONS+=
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgstreamer)
+. include "../../multimedia/gstreamer0.10/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-gstreamer
+.endif
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+= --enable-debug
+.else
+CONFIGURE_ARGS+= --disable-debug
+.endif