summaryrefslogtreecommitdiff
blob: 714182f5e4e66307a55c20561048b4090f37e939 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-text/sgml2x/sgml2x-0.11-r1.ebuild,v 1.8 2001/05/29 17:28:19 achim Exp $

P=sgml2x-0.11
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Frontend for jade and jadetex"
SRC_URI="ftp://sgml2x.sourceforge.net/pub/sgml2x/"${A}
HOMEPAGE="http://sgml2x.sourceforge.net/"

DEPEND=">=sys-devel/perl-5"


src_compile() {
  try make
}

src_install() {
  dodir /usr/bin
  dodir /etc
  make PREFIX=${D}/usr prefix=${D}/usr sysconfdir=${D}/etc install
  echo <<END > ${D}/sgml2x.conf
# Path to dsssl-stylesheets
stylepath=/usr/share/sgml/docbook/dsssl-stylesheets-1.64
END
  dodoc README
  docinto html
  dodoc sgml2x.html doc/*.html doc/*.gif
}