| 1 |
# Copyright 1999-2000 Gentoo Technologies, Inc.
|
| 2 |
# Distributed under the terms of the GNU General Public License, v2 or later
|
| 3 |
# Author Achim Gottinger <achim@gentoo.org>
|
| 4 |
# $Header: /home/cvsroot/gentoo-x86/net-mail/pine-maildir/pine-maildir-4.21-r1.ebuild,v 1.5 2000/11/01 04:44:19 achim Exp $
|
| 5 |
|
| 6 |
P=pine-maildir-4.21
|
| 7 |
A="pine4.21.tar.gz pine-4.20-maildir_3.patch"
|
| 8 |
S=${WORKDIR}/pine4.21
|
| 9 |
DESCRIPTION="Pine, Pico, Pilot, imapd"
|
| 10 |
SRC_URI="ftp://ftp.cac.washington.edu/pine/pine4.21.tar.gz
|
| 11 |
ftp://158.195.33.220/pub/pine/pine-4.20-maildir_3.patch"
|
| 12 |
HOMEPAGE="http://www.washington.edu/pine/
|
| 13 |
ftp://158.195.33.220/pub/pine/pine-4.20-maildir_3.howto.txt"
|
| 14 |
|
| 15 |
DEPEND=">=sys-libs/glibc-2.1.3
|
| 16 |
>=sys-libs/gpm-1.19.3
|
| 17 |
>=sys-libs/ncurses-5.1
|
| 18 |
>=sys-libs/pam-0.72"
|
| 19 |
|
| 20 |
src_unpack() {
|
| 21 |
unpack pine4.21.tar.gz
|
| 22 |
cd ${S}
|
| 23 |
patch -p1 < ${DISTDIR}/pine-4.20-maildir_3.patch
|
| 24 |
cd ${S}/pine
|
| 25 |
cp try makefile.lnx try makefile.orig
|
| 26 |
sed -e "s:-g -DDEBUG:${CFLAGS}:" try makefile.orig > try makefile.lnx
|
| 27 |
|
| 28 |
cd ${S}/pico
|
| 29 |
cp try makefile.lnx try makefile.orig
|
| 30 |
sed -e "s:-g -DDEBUG:${CFLAGS}:" try makefile.orig > try makefile.lnx
|
| 31 |
|
| 32 |
}
|
| 33 |
|
| 34 |
src_compile() {
|
| 35 |
./build lnp
|
| 36 |
}
|
| 37 |
|
| 38 |
src_install() {
|
| 39 |
cd ${S}
|
| 40 |
into /usr
|
| 41 |
dobin bin/pine bin/pico bin/pilot bin/mtest
|
| 42 |
dosbin bin/imapd
|
| 43 |
|
| 44 |
doman doc/pico.1 doc/pine.1
|
| 45 |
|
| 46 |
insinto /etc
|
| 47 |
doins doc/mime.types
|
| 48 |
donewins doc/mailcap.unx mailcap
|
| 49 |
|
| 50 |
dodoc CPYRIGHT README doc/brochure.txt doc/tech-notes.txt
|
| 51 |
docinto imap
|
| 52 |
dodoc imap/docs/*.txt imap/docs/CONFIG imap/docs/FAQ imap/docs/RELNOTES
|
| 53 |
docinto imap/rfc
|
| 54 |
dodoc imap/docs/rfc/*.txt
|
| 55 |
docinto html/tech-notes
|
| 56 |
dodoc doc/tech-notes/*.html
|
| 57 |
}
|
| 58 |
|
| 59 |
|
| 60 |
|