summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-10-20 22:19:43 +0000
committerjlam <jlam@pkgsrc.org>2001-10-20 22:19:43 +0000
commitb2b199f784944ad14bc429e789fab3518bf56198 (patch)
tree65ca0ec3121f35e0d93952d3fe3bcce8cdc69c56
parent11c0beb7b124da1e530445f1e12423f48ecb9b6f (diff)
downloadpkgsrc-b2b199f784944ad14bc429e789fab3518bf56198.tar.gz
chat/libyahoo: Yahoo! Messenger client library
Libyahoo is the Yahoo! Messenger client library used by gtkyahoo, kyahoo, everybuddy, jabber, etc. It encapsulates routines to speak the Yahoo! Instant Messenging protocol. Provided in pkg/14313 by ken@246gt.com.
-rw-r--r--chat/libyahoo/Makefile14
-rw-r--r--chat/libyahoo/buildlink.mk47
-rw-r--r--chat/libyahoo/distinfo4
-rw-r--r--chat/libyahoo/pkg/DESCR3
-rw-r--r--chat/libyahoo/pkg/PLIST7
5 files changed, 75 insertions, 0 deletions
diff --git a/chat/libyahoo/Makefile b/chat/libyahoo/Makefile
new file mode 100644
index 00000000000..d9017fd7fe4
--- /dev/null
+++ b/chat/libyahoo/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/10/20 22:19:43 jlam Exp $
+
+DISTNAME= libyahoo-0.18.2
+CATEGORIES= chat
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libyahoo/}
+
+MAINTAINER= ken@246gt.com
+HOMEPAGE= http://sourceforge.net/projects/libyahoo/
+COMMENT= Yahoo! Messenger client library
+
+USE_BUILDLINK_ONLY= YES
+GNU_CONFIGURE= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/libyahoo/buildlink.mk b/chat/libyahoo/buildlink.mk
new file mode 100644
index 00000000000..aaf7dde1574
--- /dev/null
+++ b/chat/libyahoo/buildlink.mk
@@ -0,0 +1,47 @@
+# $NetBSD: buildlink.mk,v 1.1.1.1 2001/10/20 22:19:43 jlam Exp $
+#
+# This Makefile fragment is included by packages that use libyahoo.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.libyahoo to the dependency pattern
+# for the version of libyahoo desired.
+# (2) Include this Makefile fragment in the package Makefile,
+# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
+# search path, and
+# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
+# path.
+
+.if !defined(LIBYAHOO_BUILDLINK_MK)
+LIBYAHOO_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.libyahoo?= libyahoo>=0.18.2
+BUILD_DEPENDS+= ${BUILDLINK_DEPENDS.libyahoo}:../../chat/libyahoo
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libyahoo=libyahoo
+BUILDLINK_PREFIX.libyahoo_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libyahoo= include/libyahoo/*.h
+BUILDLINK_FILES.libyahoo+= lib/libyahoo.a
+
+BUILDLINK_TARGETS.libyahoo= libyahoo-buildlink
+BUILDLINK_TARGETS.libyahoo+= libyahoo-buildlink-config-wrapper
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libyahoo}
+
+BUILDLINK_CONFIG.libyahoo= ${BUILDLINK_PREFIX.libyahoo}/bin/libyahoo-config
+BUILDLINK_CONFIG_WRAPPER.libyahoo= ${BUILDLINK_DIR}/bin/libyahoo-config
+REPLACE_BUILDLINK_SED+= \
+ -e "s|${BUILDLINK_CONFIG_WRAPPER.libyahoo}|${BUILDLINK_CONFIG.libyahoo}|g"
+
+.if defined(USE_CONFIG_WRAPPER)
+LIBYAHOO_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.libyahoo}
+CONFIGURE_ENV+= LIBYAHOO_CONFIG="${LIBYAHOO_CONFIG}"
+MAKE_ENV+= LIBYAHOO_CONFIG="${LIBYAHOO_CONFIG}"
+.endif
+
+pre-configure: ${BUILDLINK_TARGETS.libyahoo}
+libyahoo-buildlink: _BUILDLINK_USE
+libyahoo-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE
+
+.endif # LIBYAHOO_BUILDLINK_MK
diff --git a/chat/libyahoo/distinfo b/chat/libyahoo/distinfo
new file mode 100644
index 00000000000..bb21260acb8
--- /dev/null
+++ b/chat/libyahoo/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/10/20 22:19:43 jlam Exp $
+
+SHA1 (libyahoo-0.18.2.tar.gz) = 0ca4ed90e5e95aba999d32874fa5c765d2b9053e
+Size (libyahoo-0.18.2.tar.gz) = 74389 bytes
diff --git a/chat/libyahoo/pkg/DESCR b/chat/libyahoo/pkg/DESCR
new file mode 100644
index 00000000000..f8a9071765d
--- /dev/null
+++ b/chat/libyahoo/pkg/DESCR
@@ -0,0 +1,3 @@
+Libyahoo is the Yahoo! Messenger client library used by gtkyahoo, kyahoo,
+everybuddy, jabber, etc. It encapsulates routines to speak the Yahoo!
+Instant Messenging protocol.
diff --git a/chat/libyahoo/pkg/PLIST b/chat/libyahoo/pkg/PLIST
new file mode 100644
index 00000000000..2d7ea9a12e7
--- /dev/null
+++ b/chat/libyahoo/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/20 22:19:43 jlam Exp $
+bin/libyahoo-config
+include/libyahoo/libyahoo-debug.h
+include/libyahoo/libyahoo-proto.h
+include/libyahoo/libyahoo.h
+lib/libyahoo.a
+@dirrm include/libyahoo