summaryrefslogtreecommitdiff
blob: f8832357bb8f92c7f8e6d6cc18b3e35193b6f4d1 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.17.2-r1.ebuild,v 1.3 2002/07/11 06:30:54 drobbins Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Text formatter used for man pages"
SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/groff/${P}.tar.gz"
HOMEPAGE="http://www.gnu.org/software/groff/groff.html"
LICENSE="GPL-2"

DEPEND="virtual/glibc"

src_compile() {
	./configure --host=${CHOST} --prefix=/usr --mandir=/usr/share/man || die
	# emake doesn't work
	make || die
}

src_install() {
	dodir /usr
	make prefix=${D}/usr manroot=${D}/usr/share/man install || die
	cd ${D}/usr/bin
	#the following links are required for xman
	ln -s eqn geqn
	ln -s tbl gtbl
	ln -s soelim zsoelim
	dodoc NEWS PROBLEMS PROJECTS README TODO VERSION BUG-REPORT \
		COPYING ChangeLog FDL MORE.STUFF REVISION
}