--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+MY_PV=${PV/_beta/beta}
+MY_P="$PN-${MY_PV}"
+
+DESCRIPTION="A package with many different plugins for gaim"
+HOMEPAGE="http://gaim.guifications.org"
+SRC_URI="http://downloads.guifications.org/gaim-plugins/Plugin%20Pack/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+FLAGS="autorejoin awaynotify bit blistops dice difftopic eight_ball flip
+ gRIM groupmsg irssi lastseen listhandler mystatusbox nicksaid oldlogger
+ plonkers sepandtab showoffline simfix slashexec sslinfo talkfilters
+ xchat-chats"
+IUSE="${FLAGS} bashorg debug"
+
+DEPEND="=net-im/gaim-2.0.0_beta6
+ talkfilters? ( app-text/talkfilters )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ local myconf
+ einfo "The plugins that are to be built are configured via use flags."
+ einfo "If none of the optional use flags is set _ALL_ plugins are built,"
+ einfo "so adjusting /etc/portage/package.use might be a good idea before merging."
+ # XMMS Remote is disabled due to XMMS being masked
+ #
+ # Disabled due to non-working status:
+ # Gaim Schedule (http://gaim.guifications.org/trac/wiki/GaimSchedule)
+ # buddytime
+ # chronic
+ # Stocker (http://gaim.guifications.org/trac/wiki/stocker)
+ #
+ # Disabled due to being included in current gaim release:
+ # Auto Accept
+ # Auto Reply
+ # Buddy Note
+ # convcolors
+ # Marker Line
+ # New Line
+ # Offline Message
+
+ myconf="--with-plugins="
+
+ # bashorg has to add "bash" to the configure
+ if use bashorg ; then
+ myconf="${myconf}bash,"
+ fi
+
+ for flag in $FLAGS ; do
+ if use $flag ; then
+ myconf="${myconf}${flag},"
+ fi
+ done
+
+ econf ${myconf} $(use_enable debug)|| die "Configuration failed with the configuration $myconf"
+ emake -j1 || die "Make failed"
+
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog NEWS README TODO VERSION
+}