blob: 386ce64b69e4f75690f167b71b9070425ccea755 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.16.1.ebuild,v 1.5 2000/11/30 23:14:33 achim Exp $
P=groff-1.16.1
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Text formatter used for man pages"
SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/groff/${A}
ftp://prep.ai.mit.edu/gnu/groff/${A}"
HOMEPAGE="http://www.gnu.org/software/groff/groff.html"
DEPEND=">=sys-libs/glibc-2.1.3
>=sys-devel/gcc-2.95.2"
RDEPEND="$DEPEND
>=sys-devel/perl-5.6
>=sys-apps/bash-2.04"
src_compile() {
try ./configure --host=${CHOST} --prefix=/usr
cd ${S}/tmac
# mv Makefile.sub Makefile.sub.orig
# sed -e "s/all: stamp-strip stamp-wrap/all: stamp-strip/" Makefile.sub.orig > Makefile.sub
#fixed some things with the build process using good 'ol sed
cd ${S}
# pmake does not work !
try make
}
src_install() {
into /usr
dodoc NEWS PROBLEMS PROJECTS README TODO VERSION \
BUG-REPORT COPYING ChangeLog FDL MORE.STUFF \
REVISION
try make prefix=${D}/usr install
}
|