summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/mysqltool/mysqltool-0.95-r1.ebuild')
-rw-r--r--dev-db/mysqltool/mysqltool-0.95-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-db/mysqltool/mysqltool-0.95-r1.ebuild b/dev-db/mysqltool/mysqltool-0.95-r1.ebuild
index 797e2bba0b96..a70b753bafde 100644
--- a/dev-db/mysqltool/mysqltool-0.95-r1.ebuild
+++ b/dev-db/mysqltool/mysqltool-0.95-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqltool/mysqltool-0.95-r1.ebuild,v 1.5 2002/10/15 16:44:47 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqltool/mysqltool-0.95-r1.ebuild,v 1.6 2002/11/10 00:36:14 rphillips Exp $
inherit perl-module
@@ -20,6 +20,10 @@ src_install() {
eval `perl '-V:installarchlib'`
mkdir -p ${D}/$installarchlib
+ cp ${S}/Makefile ${S}/Makefile.orig
+ cat ${S}/Makefile | sed -e "s!INSTALLMAN1DIR = /usr/share/man/man1!INSTALLMAN1DIR = ${D}/usr/share/man/man1!" -e "s!INSTALLMAN3DIR = /usr/share/man/man3!INSTALLMAN3DIR = ${D}/usr/share/man/man3!" > ${S}/Makefile.gentoo
+ mv ${S}/Makefile.gentoo ${S}/Makefile
+
make install || die
dodoc COPYING Changes MANIFEST README Upgrade