# Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Your Name # $Header: /var/cvsroot/gentoo-x86/app-text/psgml/psgml-1.2.2-r1.ebuild,v 1.1 2002/03/28 09:58:33 tod Exp $ S=${WORKDIR}/${P} DESCRIPTION="PSGML is a GNU Emacs Major Mode for editing SGML and XML coded documents." SRC_URI="http://ftp1.sourceforge.net/${PN}/${P}.tar.gz" HOMEPAGE="http://psgml.sourceforge.net" DEPEND="virtual/emacs" src_compile() { ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --host=${CHOST} || die "Configuration failed." emake || die "parallel make failed." } src_install () { make prefix=${D}/usr install || die "Installation failed." dodir /usr/share/info make infodir=${D}/usr/share/info install-info || die "install-info failed." dodoc ChangeLog README.psgml ${FILESDIR}/dot_emacs }