|
Lines 2-47
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /home/cvsroot/gentoo-x86/net-mail/nmh/nmh-1.0.4-r2.ebuild,v 1.7 2003/02/13 14:34:59 vapier Exp $ |
3 |
# $Header: /home/cvsroot/gentoo-x86/net-mail/nmh/nmh-1.0.4-r2.ebuild,v 1.7 2003/02/13 14:34:59 vapier Exp $ |
| 4 |
|
4 |
|
| 5 |
S=${WORKDIR}/${P} |
5 |
MY_P=${PN}-1.1-RC1 |
|
|
6 |
S=${WORKDIR}/${MY_P} |
| 6 |
DESCRIPTION="New MH mail reader" |
7 |
DESCRIPTION="New MH mail reader" |
| 7 |
SRC_URI="ftp://ftp.mhost.com/pub/nmh/${P}.tar.gz" |
8 |
SRC_URI="http://savannah.nongnu.org/download/nmh/${MY_P}.tar.gz" |
| 8 |
HOMEPAGE="http://www.mhost.com/nmh/" |
9 |
HOMEPAGE="http://www.mhost.com/nmh/" |
| 9 |
|
10 |
|
| 10 |
SLOT="0" |
11 |
SLOT="0" |
| 11 |
LICENSE="as-is" |
12 |
LICENSE="as-is" |
| 12 |
KEYWORDS="x86 sparc " |
13 |
KEYWORDS="x86 sparc sparc64" |
| 13 |
|
14 |
|
| 14 |
DEPEND="virtual/glibc |
15 |
DEPEND="virtual/glibc |
| 15 |
=sys-libs/db-1.85* |
16 |
=sys-libs/db-1.85* |
| 16 |
>=sys-libs/ncurses-5.2 |
17 |
>=sys-libs/ncurses-5.2" |
| 17 |
app-editors/vi" |
|
|
| 18 |
|
| 19 |
# Without a valid /usr/bin/vi, the following sandbox violation is produced: |
| 20 |
# |
| 21 |
# --------------------------- ACCESS VIOLATION SUMMARY --------------------------- |
| 22 |
# LOG FILE = "/tmp/sandbox-nmh-1.0.4-r2-9221.log" |
| 23 |
# |
| 24 |
# open_wr: /.nonexist-file.swp |
| 25 |
# open_wr: /.nonexist-file.swp |
| 26 |
# open_wr: /root/tmp/nonexist-file.swp |
| 27 |
# open_wr: /root/tmp/nonexist-file.swp |
| 28 |
# -------------------------------------------------------------------------------- |
| 29 |
# |
| 30 |
# Thus I am making vi a DEPEND until somebody with more time can figure out a |
| 31 |
# better way of fixing this. NOTE: /usr/bin/vi being a symlink to /usr/bin/vim |
| 32 |
# also fixes this problem. |
| 33 |
|
| 34 |
|
18 |
|
| 35 |
src_compile() { |
19 |
src_compile() { |
| 36 |
[ -z "${EDITOR}" ] && export EDITOR="/usr/bin/vi" |
|
|
| 37 |
[ -z "${PAGER}" ] && export PAGER="/usr/bin/more" |
| 38 |
|
20 |
|
| 39 |
# Redifining libdir to be bindir so the support binaries get installed |
21 |
# the use of the ${EDITOR} variable assumes the user has actually defined |
| 40 |
# correctly. Since no libraries are installed with nmh, this does not |
22 |
# it and makes whatever it's set to a dependancy. Better to just set it to |
| 41 |
# pose a problem at this time. |
23 |
# nano (since everyone has _that_it) for a guranteed successful emerge and |
|
|
24 |
# let the user set up their .mh_profile |
| 42 |
./configure --prefix=/usr \ |
25 |
./configure --prefix=/usr \ |
| 43 |
--mandir=/usr/share/man \ |
26 |
--mandir=/usr/share/man \ |
| 44 |
--with-editor=${EDITOR} \ |
27 |
--with-editor=/bin/nano \ |
| 45 |
--with-pager=${PAGER} \ |
28 |
--with-pager=${PAGER} \ |
| 46 |
--enable-nmh-pop \ |
29 |
--enable-nmh-pop \ |
| 47 |
--sysconfdir=/etc/nmh \ |
30 |
--sysconfdir=/etc/nmh \ |
|
Lines 57-60
Link Here
|
| 57 |
dodoc COMPLETION-TCSH COMPLETION-ZSH TODO FAQ DIFFERENCES \ |
40 |
dodoc COMPLETION-TCSH COMPLETION-ZSH TODO FAQ DIFFERENCES \ |
| 58 |
MAIL.FILTERING Changelog* COPYRIGHT |
41 |
MAIL.FILTERING Changelog* COPYRIGHT |
| 59 |
} |
42 |
} |
| 60 |
|
|
|