You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/docbook2X/docbook2X-0.8.7-r1.ebuild

35 lines
938 B

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook2X/docbook2X-0.8.7-r1.ebuild,v 1.3 2009/11/17 21:40:15 robbat2 Exp $
DESCRIPTION="Tools to convert docbook to man and info"
SRC_URI="mirror://sourceforge/docbook2x/${P}.tar.gz"
HOMEPAGE="http://docbook2x.sourceforge.net"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~hppa"
IUSE=""
LICENSE="GPL-2"
DEPEND=""
RDEPEND=">=dev-perl/XML-Writer-0.4
>=dev-perl/XML-XSLT-0.31
>=dev-perl/SGMLSpm-1.03
dev-perl/XML-SAX
dev-libs/libxslt"
src_compile () {
econf \
--with-xslt-processor=libxslt \
--program-suffix=.pl \
|| die "econf failed"
emake || die "emake failed"
}
src_install () {
make DESTDIR="${D}" install || die "install failed"
elog "To avoid conflict with docbook-sgml-utils, which is much more widely used,"
elog "all executables have been renamed to *.pl."
}