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