summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-client/mailx')
-rw-r--r--mail-client/mailx/ChangeLog7
-rw-r--r--mail-client/mailx/mailx-8.1.2.20050715-r6.ebuild70
2 files changed, 76 insertions, 1 deletions
diff --git a/mail-client/mailx/ChangeLog b/mail-client/mailx/ChangeLog
index 3f27d4199eae..f83d43c35c73 100644
--- a/mail-client/mailx/ChangeLog
+++ b/mail-client/mailx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-client/mailx
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/ChangeLog,v 1.73 2012/07/03 20:00:02 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/ChangeLog,v 1.74 2012/07/11 10:26:38 eras Exp $
+
+*mailx-8.1.2.20050715-r6 (11 Jul 2012)
+
+ 11 Jul 2012; Eray Aslan <eras@gentoo.org> +mailx-8.1.2.20050715-r6.ebuild:
+ Fix help file location - bug #424437
03 Jul 2012; Jeroen Roovers <jer@gentoo.org> mailx-8.1.2.20050715-r5.ebuild:
Stable for HPPA (bug #419011).
diff --git a/mail-client/mailx/mailx-8.1.2.20050715-r6.ebuild b/mail-client/mailx/mailx-8.1.2.20050715-r6.ebuild
new file mode 100644
index 000000000000..5dccc42f7b72
--- /dev/null
+++ b/mail-client/mailx/mailx-8.1.2.20050715-r6.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/mailx-8.1.2.20050715-r6.ebuild,v 1.1 2012/07/11 10:26:38 eras Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+MX_MAJ_VER=${PV%.*}
+MX_MIN_VER=${PV##*.}
+MY_PV=${MX_MAJ_VER}-0.${MX_MIN_VER}cvs
+S=${WORKDIR}/${PN}-${MY_PV}.orig/
+debian_patch=${PN}_${MY_PV}-1.diff.gz
+
+DESCRIPTION="The /bin/mail program, which is used to send mail via shell scripts"
+HOMEPAGE="http://www.debian.org/"
+SRC_URI="mirror://gentoo/mailx_${MY_PV}.orig.tar.gz
+ mirror://gentoo/${debian_patch}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+DEPEND=">=net-libs/liblockfile-1.03
+ virtual/mta
+ mail-client/mailx-support"
+
+RDEPEND="${DEPEND}
+ !mail-client/nail
+ !net-mail/mailutils"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${DISTDIR}/${debian_patch}"
+ epatch "${FILESDIR}/${P}-nostrip.patch"
+ sed -i -e "s: -O2: \$(EXTRAFLAGS):g" Makefile
+ epatch "${FILESDIR}/${P}-offsetof.patch"
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) EXTRAFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ dodir /usr/bin /bin /usr/share/man/man1 /etc
+
+ insinto /usr/bin
+ insopts -m 755
+ doins mail || die
+
+ doman mail.1
+
+ dosym mail /usr/bin/Mail
+ dosym mail /usr/bin/mailx
+ dosym mail.1 /usr/share/man/man1/Mail.1
+
+ insinto /usr/share/mailx/
+ doins misc/mail.help misc/mail.tildehelp || die
+ insinto /etc
+ insopts -m 644
+ doins misc/mail.rc || die
+
+ # compatibility link
+ dosym /usr/bin/mail /bin/mail || die
+}
+
+pkg_postinst() {
+ elog "mail command now lives in /usr/bin."
+ elog "Please adjust your scripts."
+}