summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-10-17 18:12:36 +0000
committerTim Harder <radhermit@gentoo.org>2011-10-17 18:12:36 +0000
commitc6d0cb0aef9dbcccf705de2b8cdf85858d1826ce (patch)
tree31925b6778127294e56ddaffcb3c8d46bd5bf6d1 /net-mail/mpop
parentFix building with libpng15 wrt #387437 by Ruggero Morsucci (diff)
downloadgentoo-2-c6d0cb0aef9dbcccf705de2b8cdf85858d1826ce.tar.gz
gentoo-2-c6d0cb0aef9dbcccf705de2b8cdf85858d1826ce.tar.bz2
gentoo-2-c6d0cb0aef9dbcccf705de2b8cdf85858d1826ce.zip
Initial import.
(Portage version: 2.2.0_alpha67/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/mpop')
-rw-r--r--net-mail/mpop/ChangeLog10
-rw-r--r--net-mail/mpop/metadata.xml5
-rw-r--r--net-mail/mpop/mpop-1.0.25.ebuild77
3 files changed, 92 insertions, 0 deletions
diff --git a/net-mail/mpop/ChangeLog b/net-mail/mpop/ChangeLog
new file mode 100644
index 000000000000..0f44b945858b
--- /dev/null
+++ b/net-mail/mpop/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-mail/mpop
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mpop/ChangeLog,v 1.1 2011/10/17 18:12:36 radhermit Exp $
+
+*mpop-1.0.25 (17 Oct 2011)
+
+ 17 Oct 2011; Tim Harder <radhermit@gentoo.org> +mpop-1.0.25.ebuild,
+ +metadata.xml:
+ Initial import.
+
diff --git a/net-mail/mpop/metadata.xml b/net-mail/mpop/metadata.xml
new file mode 100644
index 000000000000..51f94e3fbe0e
--- /dev/null
+++ b/net-mail/mpop/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-mail</herd>
+</pkgmetadata>
diff --git a/net-mail/mpop/mpop-1.0.25.ebuild b/net-mail/mpop/mpop-1.0.25.ebuild
new file mode 100644
index 000000000000..5c2b7ee0268f
--- /dev/null
+++ b/net-mail/mpop/mpop-1.0.25.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mpop/mpop-1.0.25.ebuild,v 1.1 2011/10/17 18:12:36 radhermit Exp $
+
+EAPI="4"
+
+inherit python
+
+DESCRIPTION="A small, fast, and portable POP3 client"
+HOMEPAGE="http://mpop.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnome-keyring gnutls idn nls sasl ssl vim-syntax"
+
+RDEPEND="
+ gnome-keyring? (
+ dev-python/gnome-keyring-python
+ gnome-base/libgnome-keyring
+ )
+ idn? ( net-dns/libidn )
+ nls? ( virtual/libintl )
+ sasl? ( virtual/gsasl )
+ ssl? (
+ gnutls? ( net-libs/gnutls )
+ !gnutls? ( dev-libs/openssl )
+ )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ dev-util/pkgconfig"
+
+REQUIRED_USE="gnutls? ( ssl )"
+
+DOCS="AUTHORS ChangeLog NEWS NOTES README THANKS"
+
+src_prepare() {
+ python_convert_shebangs 2 scripts/mpop-gnome-tool/mpop-gnome-tool.py
+}
+
+src_configure() {
+ econf \
+ $(use_with gnome-keyring ) \
+ $(use_with idn libidn) \
+ $(use_enable nls) \
+ $(use_with sasl libgsasl) \
+ $(use_with ssl ssl $(use gnutls && echo "gnutls" || echo "openssl"))
+}
+
+src_install() {
+ default
+
+ if use gnome-keyring ; then
+ src_install_contrib mpop-gnome-tool mpop-gnome-tool.py README
+ fi
+
+ if use vim-syntax ; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins scripts/vim/mpop.vim
+ fi
+}
+
+src_install_contrib() {
+ subdir="$1"
+ bins="$2"
+ docs="$3"
+ local dir=/usr/share/${PN}/$subdir
+ insinto ${dir}
+ exeinto ${dir}
+ for i in $bins ; do
+ doexe scripts/$subdir/$i
+ done
+ for i in $docs ; do
+ newdoc scripts/$subdir/$i $subdir.$i
+ done
+}