summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/sgml2x/sgml2x-0.11-r1.ebuild29
1 files changed, 11 insertions, 18 deletions
diff --git a/app-text/sgml2x/sgml2x-0.11-r1.ebuild b/app-text/sgml2x/sgml2x-0.11-r1.ebuild
index 714182f5e4e6..e69d417b84c9 100644
--- a/app-text/sgml2x/sgml2x-0.11-r1.ebuild
+++ b/app-text/sgml2x/sgml2x-0.11-r1.ebuild
@@ -1,35 +1,28 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Copyright 1999-2002 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 $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgml2x/sgml2x-0.11-r1.ebuild,v 1.9 2002/04/27 09:32:57 seemant 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}
+SRC_URI="ftp://sgml2x.sourceforge.net/pub/sgml2x/${P}.tar.gz"
HOMEPAGE="http://sgml2x.sourceforge.net/"
DEPEND=">=sys-devel/perl-5"
-
+SLOT="0"
src_compile() {
- try make
+ make || die
}
src_install() {
- dodir /usr/bin
- dodir /etc
- make PREFIX=${D}/usr prefix=${D}/usr sysconfdir=${D}/etc install
- echo <<END > ${D}/sgml2x.conf
+ 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
+ dodoc README
+ dohtml -r doc
}
-
-
-
-