summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-03-23 12:20:10 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-03-23 12:20:10 +0000
commit9860c6a86c5794b3df0399b56120b361d37fb56f (patch)
tree3c91caf3facc916c627b131b54445a6d4dee967b /gnome-extra/mc
parentVersion bump to newer stable. (diff)
downloadgentoo-2-9860c6a86c5794b3df0399b56120b361d37fb56f.tar.gz
gentoo-2-9860c6a86c5794b3df0399b56120b361d37fb56f.tar.bz2
gentoo-2-9860c6a86c5794b3df0399b56120b361d37fb56f.zip
LFH compliance wrt man pages.
Diffstat (limited to 'gnome-extra/mc')
-rw-r--r--gnome-extra/mc/ChangeLog11
-rw-r--r--gnome-extra/mc/files/digest-mc-4.5.55-r2 (renamed from gnome-extra/mc/files/digest-mc-4.5.55)0
-rw-r--r--gnome-extra/mc/mc-4.5.55-r2.ebuild (renamed from gnome-extra/mc/mc-4.5.55.ebuild)59
3 files changed, 41 insertions, 29 deletions
diff --git a/gnome-extra/mc/ChangeLog b/gnome-extra/mc/ChangeLog
index 4ef112dae29f..68c1ac8eb650 100644
--- a/gnome-extra/mc/ChangeLog
+++ b/gnome-extra/mc/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for gnome-extra/mc
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/mc/ChangeLog,v 1.2 2002/03/10 09:41:05 blocke Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/mc/ChangeLog,v 1.3 2002/03/23 12:20:09 seemant Exp $
+
+*mc-4.5.55-r2 (22 Mar 2002)
+
+ 22 Mar 2002; Seemant Kulleen <seemant@gentoo.org> mc-4.5.55-r2.ebuild :
+
+ LFH compliance: Matthew Kennedy submitted us this fix, which places the man
+ pages into the /usr/share/man tree, instead of /usr/man. This turns out to
+ be more LFH compliant, in addition to placin the manpages where man knows to
+ look for them (/usr/man is not in MANPATH).
*mc-4.5.55-r1 (10 Mar 2002)
diff --git a/gnome-extra/mc/files/digest-mc-4.5.55 b/gnome-extra/mc/files/digest-mc-4.5.55-r2
index 60b693823ea7..60b693823ea7 100644
--- a/gnome-extra/mc/files/digest-mc-4.5.55
+++ b/gnome-extra/mc/files/digest-mc-4.5.55-r2
diff --git a/gnome-extra/mc/mc-4.5.55.ebuild b/gnome-extra/mc/mc-4.5.55-r2.ebuild
index 8fba20254113..3ae3f3169ebf 100644
--- a/gnome-extra/mc/mc-4.5.55.ebuild
+++ b/gnome-extra/mc/mc-4.5.55-r2.ebuild
@@ -1,7 +1,7 @@
# 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/gnome-extra/mc/mc-4.5.55.ebuild,v 1.5 2001/10/22 17:35:44 hallski Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/mc/mc-4.5.55-r2.ebuild,v 1.1 2002/03/23 12:20:09 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="GNOME Midnight Commander"
@@ -9,50 +9,52 @@ SRC_URI="http://www.gnome.org/projects/${PN}/${P}.tar.gz"
HOMEPAGE="http://www.gnome.org/projects/mc/"
DEPEND="virtual/glibc
- >=sys-libs/gpm-1.19.3
- pam? ( >=sys-libs/pam-0.72 )
- slang? ( >=sys-libs/slang-1.4.2 )
>=sys-apps/e2fsprogs-1.19
>=dev-libs/glib-1.2.0
- gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )"
-
-
-src_unpack() {
- unpack ${A}
+ gpm? ( >=sys-libs/gpm-1.19.3 )
+ pam? ( >=sys-libs/pam-0.72 )
+ slang? ( >=sys-libs/slang-1.4.2 )
+ nls? ( sys-devel/gettext )
+ gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )
+ samba? ( >=net-fs/samba-2.2.3a-r1 )"
- cd ${S}/vfs
- cp smbfs.c smbfs.c.orig
- sed -e "s:/etc/smb\.conf:/etc/smb/smb\.conf:" smbfs.c.orig > smbfs.c
-}
src_compile() {
local myconf
- if [ "`use pam`" ] ; then
- myconf="--with-pam"
- else
- myconf="--without-pam"
- fi
+ use pam && myconf="${myconf} --with-pam" \
+ || myconf="${myconf} --without-pam"
+
+ use slang && myconf="${myconf} --with-slang" \
+ || myconf="${myconf} --with-included-slang"
+
+ use gnome && myconf="${myconf} --with-gnome" \
+ || myconf="${myconf} --without-gnome"
+
+ use gpm && myconf="${myconf} --with-gpm-mouse=/usr" \
+ || myconf="${myconf} --without-gpm-mouse"
+
+ use nls || myconf="${myconf} --disable-nls"
- if [ "`use slang`" ] ; then
- myconf="$myconf --with-slang"
- else
- myconf="$myconf --with-included-slang"
+ if [ "`use samba`" ] ; then
+ cd ${S}/vfs
+ cp smbfs.c smbfs.c.orig
+ sed -e "s:/etc/smb\.conf:/etc/smb/smb\.conf:" smbfs.c.orig > smbfs.c
+ myconf="${myconf} --with-samba"
fi
- if [ "`use gnome`" ] ; then
- myconf="$myconf --with-gnome"
- else
- myconf="$myconf --without-gnome"
- fi
+ libtoolize --force --copy
+ aclocal
LDFLAGS="-lcrypt -lncurses" ./configure --host=${CHOST} \
--prefix=/usr \
+ --mandir=/usr/share/man \
--sysconfdir=/etc \
--localstatedir=/var/lib \
- --with-samba \
--with-vfs \
--with-netrc \
+ --with-ext2undel \
+ --with-x \
$myconf || die
make || die # Doesn't work with -j 4 (hallski)
@@ -60,6 +62,7 @@ src_compile() {
src_install() {
make prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
sysconfdir=${D}/etc \
localstatedir=${D}/var/lib \
install || die