summaryrefslogtreecommitdiff
blob: 51a73968043e022039864d976cb8ec141c941ae3 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.17.2-r1.ebuild,v 1.9 2002/10/20 18:54:50 vapier 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"
KEYWORDS="x86 ppc sparc sparc64"
SLOT="0"
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
}