summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-08-18 03:37:19 +0000
committerMike Frysinger <vapier@gentoo.org>2008-08-18 03:37:19 +0000
commitd91286c3049b7dcb1228f60f4ab6c2ba85e74bdf (patch)
treeeb3c316aa584822634743fc3dbd61b9cafc4867a /sys-fs/mtools
parentdocument the patch, not ebuild (diff)
downloadgentoo-2-d91286c3049b7dcb1228f60f4ab6c2ba85e74bdf.tar.gz
gentoo-2-d91286c3049b7dcb1228f60f4ab6c2ba85e74bdf.tar.bz2
gentoo-2-d91286c3049b7dcb1228f60f4ab6c2ba85e74bdf.zip
Remove /usr/local paths from docs, install using `emake DESTDIR`, and dont bother marking mtools.conf as a sample file #233741.
(Portage version: 2.2_rc6/cvs/Linux 2.6.26.2 x86_64)
Diffstat (limited to 'sys-fs/mtools')
-rw-r--r--sys-fs/mtools/ChangeLog6
-rw-r--r--sys-fs/mtools/mtools-3.9.11.ebuild6
2 files changed, 9 insertions, 3 deletions
diff --git a/sys-fs/mtools/ChangeLog b/sys-fs/mtools/ChangeLog
index db76a575502d..04d0c19edf75 100644
--- a/sys-fs/mtools/ChangeLog
+++ b/sys-fs/mtools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/mtools
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/ChangeLog,v 1.23 2008/08/17 17:26:53 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/ChangeLog,v 1.24 2008/08/18 03:37:19 vapier Exp $
+
+ 18 Aug 2008; Mike Frysinger <vapier@gentoo.org> mtools-3.9.11.ebuild:
+ Remove /usr/local paths from docs, install using `emake DESTDIR`, and dont
+ bother marking mtools.conf as a sample file #233741.
*mtools-3.9.11 (17 Aug 2008)
diff --git a/sys-fs/mtools/mtools-3.9.11.ebuild b/sys-fs/mtools/mtools-3.9.11.ebuild
index 8b24524df42a..afd6643d70e6 100644
--- a/sys-fs/mtools/mtools-3.9.11.ebuild
+++ b/sys-fs/mtools/mtools-3.9.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/mtools-3.9.11.ebuild,v 1.1 2008/08/17 17:26:53 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/mtools-3.9.11.ebuild,v 1.2 2008/08/18 03:37:19 vapier Exp $
inherit eutils
@@ -26,6 +26,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-flags.patch #232766
+ sed -i 's:/usr/local/etc:/etc:g' mtools.5 mtools.texi
}
src_compile() {
@@ -37,8 +38,9 @@ src_compile() {
}
src_install() {
- einstall sysconfdir="${D}"/etc/mtools || die
+ emake -j1 DESTDIR="${D}" install || die
insinto /etc/mtools
doins mtools.conf || die
+ dosed '/^SAMPLE FILE$/s:^:#:' /etc/mtools/mtools.conf # default is fine
dodoc Changelog README* Release.notes
}