summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/yard')
-rw-r--r--sys-apps/yard/files/digest-yard-2.0-r11
-rw-r--r--sys-apps/yard/yard-2.0-r1.ebuild26
2 files changed, 20 insertions, 7 deletions
diff --git a/sys-apps/yard/files/digest-yard-2.0-r1 b/sys-apps/yard/files/digest-yard-2.0-r1
new file mode 100644
index 000000000000..41f5511082f8
--- /dev/null
+++ b/sys-apps/yard/files/digest-yard-2.0-r1
@@ -0,0 +1 @@
+MD5 c2d115e0a12945b6057a30e2c47532ae yard-2.0.tar.gz
diff --git a/sys-apps/yard/yard-2.0-r1.ebuild b/sys-apps/yard/yard-2.0-r1.ebuild
index f2b136f5cdc2..7508f74fc084 100644
--- a/sys-apps/yard/yard-2.0-r1.ebuild
+++ b/sys-apps/yard/yard-2.0-r1.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/sys-apps/yard/yard-2.0-r1.ebuild,v 1.1 2001/04/09 03:03:13 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/yard/yard-2.0-r1.ebuild,v 1.2 2001/04/09 03:19:49 achim Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
@@ -14,7 +14,7 @@ src_unpack() {
unpack ${A}
cd ${S}
cp ${FILESDIR}/configure .
- #cp Makefile.in makefile.in.orig
+ cp Makefile.in Makefile.in.orig
patch -p0 < ${FILESDIR}/${P}-Makefile.in-gentoo.diff
patch -p0 < ${FILESDIR}/${P}-doc-Makefile.in-gentoo.diff
patch -p0 < ${FILESDIR}/${P}-extras-Makefile.in-gentoo.diff
@@ -32,7 +32,7 @@ src_install () {
cd ${S}
try make DESTDIR=${D} install customize
-
+ rm -rf ${D}/usr/share/doc/${P}
cd doc
docinto txt
dodoc *.txt Broken*
@@ -41,7 +41,7 @@ src_install () {
docinto sgml
dodoc *.sgml
docinto print
- gunzip *.ps.gz
+ gunzip Yard_doc.ps.gz
dodoc *.ps
# Now overwrite to make it usable under gentoo
@@ -52,8 +52,8 @@ src_install () {
insinto /etc/yard
doins etc/Bootdisk* etc/Config.pl
insinto /etc/yard/Replacements/etc
- doins etc/Replacements/[a-z]*
- chmod +x ${D}/etc/yard/Replacements/rc
+ doins etc/Replacements/etc/[a-z]*
+ chmod +x ${D}/etc/yard/Replacements/etc/rc
insinto /etc/yard/Replacements/etc/pam.d
doins etc/Replacements/pam.d/other
insinto /etc/yard/Replacements/root
@@ -62,6 +62,18 @@ src_install () {
# modified scripts
exeinto /usr/sbin
- doins sbin/{*_root_fs,mklibs.sh,write_rescue_disk,reduce_libs_root_fs}
+ doexe sbin/{*_root_fs,mklibs.sh,write_rescue_disk,reduce_libs_root_fs}
+
+ # devices
+
+ dodir /etc/yard/Replacements/dev
+ cd ${D}/etc/yard/Replacements/dev
+ for i in hda hdb hdc hdd hde hdf hdg hdh scd
+ do
+ MAKEDEV $i
+ done
+
+
+
}