From: | "Markos Chandras (hwoarang)" <hwoarang@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in mail-client/nmh: nmh-1.3-r2.ebuild ChangeLog metadata.xml |
Date: | Mon, 27 Sep 2010 17:38:02 |
Message-Id: | 20100927173755.82DAE20054@flycatcher.gentoo.org |
1 | hwoarang 10/09/27 17:37:55 |
2 | |
3 | Added: nmh-1.3-r2.ebuild ChangeLog metadata.xml |
4 | Log: |
5 | Moved from sunrise overlay. Thanks to Seth Robertson <in-gentoo@××××.org> for the ebuild. Bug #336057 |
6 | |
7 | (Portage version: 2.2_rc86/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 mail-client/nmh/nmh-1.3-r2.ebuild |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nmh/nmh-1.3-r2.ebuild?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nmh/nmh-1.3-r2.ebuild?rev=1.1&content-type=text/plain |
14 | |
15 | Index: nmh-1.3-r2.ebuild |
16 | =================================================================== |
17 | # Copyright 1999-2010 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/mail-client/nmh/nmh-1.3-r2.ebuild,v 1.1 2010/09/27 17:37:55 hwoarang Exp $ |
20 | |
21 | EAPI="2" |
22 | |
23 | inherit eutils |
24 | |
25 | DESCRIPTION="New MH mail reader" |
26 | HOMEPAGE="http://www.nongnu.org/nmh/" |
27 | SRC_URI="http://savannah.nongnu.org/download/nmh/${P}.tar.gz" |
28 | |
29 | LICENSE="as-is" |
30 | SLOT="0" |
31 | KEYWORDS="~amd64 ~x86" |
32 | IUSE="gdbm" |
33 | |
34 | DEPEND="gdbm? ( sys-libs/gdbm ) |
35 | !gdbm? ( sys-libs/db ) |
36 | >=sys-libs/ncurses-5.2 |
37 | net-libs/liblockfile |
38 | app-editors/gentoo-editor |
39 | !!media-gfx/pixie" # Bug #295996 media-gfx/pixie also uses show |
40 | RDEPEND="${DEPEND}" |
41 | |
42 | src_prepare() { |
43 | # Patches from bug #22173. |
44 | epatch "${FILESDIR}"/${P}-inc-login.patch |
45 | epatch "${FILESDIR}"/${P}-install.patch |
46 | # bug #57886 |
47 | epatch "${FILESDIR}"/${P}-m_getfld.patch |
48 | # bug #319937 |
49 | epatch "${FILESDIR}"/${P}-db5.patch |
50 | # Allow parallel compiles/installs |
51 | epatch "${FILESDIR}"/${P}-parallelmake.patch |
52 | } |
53 | |
54 | src_configure() { |
55 | [ -z "${PAGER}" ] && export PAGER="/usr/bin/more" |
56 | |
57 | # strip options from ${PAGER} (quoting not good enough) (Bug #262150) |
58 | PAGER=${PAGER%% *} |
59 | |
60 | # Redefining libdir to be bindir so the support binaries get installed |
61 | # correctly. Since no libraries are installed with nmh, this does not |
62 | # pose a problem at this time. |
63 | myconf="--libdir=/usr/bin" |
64 | |
65 | # Have gdbm use flag actually control which version of db in use |
66 | if use gdbm; then |
67 | myconf="${myconf} --with-ndbmheader=gdbm/ndbm.h --with-ndbm=gdbm_compat" |
68 | else |
69 | if has_version ">=sys-libs/db-2"; then |
70 | myconf="${myconf} --with-ndbmheader=db.h --with-ndbm=db" |
71 | else |
72 | myconf="${myconf} --with-ndbmheader=db1/ndbm.h --with-ndbm=db1" |
73 | fi |
74 | fi |
75 | |
76 | # use gentoo-editor to avoid implicit dependencies (Bug #294762) |
77 | EDITOR=/usr/libexec/gentoo-editor |
78 | |
79 | econf \ |
80 | --prefix=/usr \ |
81 | --mandir=/usr/share/man \ |
82 | --with-editor="${EDITOR}" \ |
83 | --with-pager="${PAGER}" \ |
84 | --enable-nmh-pop \ |
85 | --sysconfdir=/etc/nmh \ |
86 | $myconf |
87 | } |
88 | |
89 | src_install() { |
90 | emake prefix="${D}"/usr \ |
91 | mandir="${D}"/usr/share/man \ |
92 | libdir="${D}"/usr/bin \ |
93 | etcdir="${D}"/etc/nmh install || die |
94 | dodoc ChangeLog DATE MACHINES README || die |
95 | } |
96 | |
97 | |
98 | |
99 | 1.26 mail-client/nmh/ChangeLog |
100 | |
101 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nmh/ChangeLog?rev=1.26&view=markup |
102 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nmh/ChangeLog?rev=1.26&content-type=text/plain |
103 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nmh/ChangeLog?r1=1.25&r2=1.26 |
104 | |
105 | |
106 | |
107 | |
108 | 1.3 mail-client/nmh/metadata.xml |
109 | |
110 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nmh/metadata.xml?rev=1.3&view=markup |
111 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nmh/metadata.xml?rev=1.3&content-type=text/plain |
112 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nmh/metadata.xml?r1=1.2&r2=1.3 |