# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit elisp subversion DESCRIPTION="Java Development Environment for Emacs" HOMEPAGE="http://jdee.sourceforge.net/" SRC_URI="" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="app-emacs/elib >=app-emacs/cedet-1.0_beta3" RDEPEND="${DEPEND} >=virtual/jdk-1.3" SITEFILE=70${PN}-gentoo.el ESVN_REPO_URI="https://jdee.svn.sourceforge.net/svnroot/jdee/branches/${PV}" ESVN_PATCHES="${FILESDIR}/*.patch" src_compile() { cd "${S}/jde" ant dist -Dcedet.dir=/usr/share/emacs/site-lisp/cedet -Delib.dir=/usr/share/emacs/site-lisp/elib } src_install() { dodir ${SITELISP}/${PN} # Java cd "${S}"/${PN} cp -r java "${D}"/${SITELISP}/${PN} cp -rf dist/java/lib "${D}"/${SITELISP}/${PN}/java # Lisp cd "${S}"/${PN}/build/lisp elisp-install ${PN}/lisp *.el *.elc # Doc dodir /usr/share/doc/${P} cp -r dist/doc/* "${D}"/usr/share/doc/${P}/ # Install elisp-site-file-install "${FILESDIR}/${SITEFILE}" # Bin cd "${S}"/${PN}/lisp exeinto /usr/bin doexe jtags # Other dodoc ChangeLog ReleaseNotes.txt }