summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mail/pine-maildir/pine-maildir-4.33.ebuild11
-rw-r--r--net-mail/pine/pine-4.33.ebuild12
2 files changed, 19 insertions, 4 deletions
diff --git a/net-mail/pine-maildir/pine-maildir-4.33.ebuild b/net-mail/pine-maildir/pine-maildir-4.33.ebuild
index 55eb7e29c416..233518bf082e 100644
--- a/net-mail/pine-maildir/pine-maildir-4.33.ebuild
+++ b/net-mail/pine-maildir/pine-maildir-4.33.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-mail/pine-maildir/pine-maildir-4.33.ebuild,v 1.1 2001/05/15 20:49:11 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/pine-maildir/pine-maildir-4.33.ebuild,v 1.2 2001/05/15 21:26:47 achim Exp $
A="pine4.33.tar.gz pine-maildir-4.33"
S=${WORKDIR}/pine4.33
@@ -15,6 +15,9 @@ DEPEND="virtual/glibc
>=sys-libs/ncurses-5.1
>=sys-libs/pam-0.72"
+if [ "`use imap`" ] ; then
+ PROVIDE="virtual/imap"
+fi
src_unpack() {
unpack pine4.33.tar.gz
patch -p0 < ${DISTDIR}/pine-maildir-4.33
@@ -39,7 +42,11 @@ src_install() {
into /usr
dobin bin/pine bin/pico bin/pilot bin/mtest
dosbin bin/imapd
-
+ if [ "`use imap`" ] ; then
+ insinto /usr/include
+ doins imap/c-client/{mail,imap4r1,rfc822,linkage}.h
+ dolib.a imap/c-client/c-client.a
+ fi
doman doc/pico.1 doc/pine.1
insinto /etc
diff --git a/net-mail/pine/pine-4.33.ebuild b/net-mail/pine/pine-4.33.ebuild
index d4fb77facdbe..68cd2d11bd0a 100644
--- a/net-mail/pine/pine-4.33.ebuild
+++ b/net-mail/pine/pine-4.33.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-mail/pine/pine-4.33.ebuild,v 1.1 2001/04/29 23:40:14 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/pine/pine-4.33.ebuild,v 1.2 2001/05/15 21:26:47 achim Exp $
A=pine4.33.tar.gz
S=${WORKDIR}/pine4.33
@@ -13,6 +13,10 @@ DEPEND="virtual/glibc
>=sys-libs/ncurses-5.1
>=sys-libs/pam-0.72"
+if [ "`use imap`" ] ; then
+ PROVIDE="virtual/imap"
+fi
+
src_unpack() {
unpack ${A}
@@ -37,7 +41,11 @@ src_install() {
into /usr
dobin bin/pine bin/pico bin/pilot bin/mtest
dosbin bin/imapd
-
+ if [ "`use imap`" ] ; then
+ insinto /usr/include
+ doins imap/c-client/{mail,imap4r1,rfc822,linkage}.h
+ dolib.a imap/c-client/c-client.a
+ fi
doman doc/pico.1 doc/pine.1
insinto /etc