# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emacs/proofgeneral/proofgeneral-3.7.1.ebuild,v 1.4 2009/06/11 19:41:23 maekke Exp $ inherit elisp MY_PN="ProofGeneral" DESCRIPTION="A generic interface for proof assistants" HOMEPAGE="http://proofgeneral.inf.ed.ac.uk/" SRC_URI="http://proofgeneral.inf.ed.ac.uk/releases/${MY_PN}-${PV}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="" S="${WORKDIR}/${MY_PN}-${PV}" SITEFILE="50${PN}-gentoo.el" src_compile() { emake compile EMACS=emacs } src_install() { emake install EMACS=emacs PREFIX="${D}"/usr dohtml doc/*.html doc/*.jpg doinfo doc/*.info* dodoc AUTHORS BUGS CHANGES COMPATIBILITY FAQ FUTURE INSTALL README REGISTER elisp-site-file-install "${FILESDIR}/${SITEFILE}" ${MY_PN} \ || die "elisp-site-file-install failed" # clean up rm -rf "${D}/usr/share/emacs/site-lisp/site-start.d" rm -rf "${D}/usr/share/application-registry" rm -rf "${D}/usr/share/mime-info" } pkg_postinst() { elisp-site-regen elog "Please register your use of Proof General on the web at:" elog " http://proofgeneral.inf.ed.ac.uk/register " elog "(see the REGISTER file for more information)" }