/[gentoo-x86]/sys-apps/man/man-1.5i-r3.ebuild
Gentoo

Contents of /sys-apps/man/man-1.5i-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Mon Dec 9 04:37:26 2002 UTC (17 years, 6 months ago) by manson
Branch: MAIN
CVS Tags: GENTOO_1_4_SNAP_2003010800
Changes since 1.8: +2 -2 lines
12-08-02 Keyword change remove sparc64 Rodney Rees manson@gentoo.org

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/sys-apps/man/man-1.5i-r3.ebuild,v 1.8 2002/10/04 06:27:17 vapier Exp $
4
5 NV=1.5i2
6 S=${WORKDIR}/${PN}-${NV}
7 DESCRIPTION="Standard commands to read man pages"
8 SRC_URI="http://www.kernel.org/pub/linux/utils/man/man-${NV}.tar.gz"
9 HOMEPAGE="http://freshmeat.net/projects/man/"
10 DEPEND="virtual/glibc"
11
12 RDEPEND="virtual/glibc
13 sys-apps/cronbase
14 sys-apps/groff"
15
16
17 SLOT="0"
18 KEYWORDS="x86 ppc sparc "
19 LICENSE="GPL-2"
20
21 src_unpack() {
22 unpack ${A}
23 cd ${S}
24 cp configure configure.orig
25 sed -e 's/confdir=.*$/confdir=\/etc/' \
26 -e 's:/usr/lib/locale:$prefix/usr/lib/locale:g' \
27 -e 's!/bin:/usr/bin:/usr/ucb:/usr/local/bin:$PATH!/bin:/usr/bin:/usr/local/bin:$PATH!' \
28 configure.orig > configure
29 local x
30 for x in / src/ man2html/ msgs/
31 do
32 cd ${S}/${x}
33 cp Makefile.in Makefile.in.orig
34 sed -e '/inst.sh/d' \
35 -e '/^CC =/c\' \
36 -e "CC = gcc" \
37 -e '/^CFLAGS =/c\' \
38 -e "CFLAGS = $CFLAGS" \
39 Makefile.in.orig > Makefile.in
40 done
41 }
42
43 src_compile() {
44 ./configure +sgid +fhs +lang all || die
45 #for FOOF in src man2html
46 #do
47 # pmake ${FOOF}/Makefile MANCONFIG=/etc/man.conf || die
48 # cd ${S}/${FOOF}
49 # cp Makefile Makefile.orig
50 # sed -e "s/gcc -O/gcc ${CFLAGS}/" Makefile.orig > Makefile
51 # cd ${S}
52 #done
53 make || die
54 }
55
56 src_install() {
57 dodir /usr/sbin /usr/bin
58 cd ${S}
59 make PREFIX=${D} install || die
60 cd ${S}/msgs
61 ./inst.sh ?? ${D}/usr/share/locale/%L/%N
62 chmod 2555 ${D}/usr/bin/man
63 chown root.man ${D}/usr/bin/man
64 insinto /etc
65 cd ${S}
66 doins src/man.conf
67 dodoc COPYING LSM README* TODO
68
69 exeinto /etc/cron.daily
70 doexe ${FILESDIR}/makewhatis.cron
71
72 }
73
74

  ViewVC Help
Powered by ViewVC 1.1.20