# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils gnat DESCRIPTION="Aflex is a lexical analyzer generating tool for Ada." HOMEPAGE="http://www.ten15.org/wiki/aflex" SRC_URI="http://www.ten15.org/~maxr/${PN}-${PV}.tar.bz2" LICENSE="as-is" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="virtual/ada" RDEPEND="" S=${WORKDIR}/${PN} lib_compile() { ${ADAMAKE} -Isrc aflex -cargs ${ADACFLAGS} || die } lib_install() { # just save it once, not per profile basis cp aflex ${S} } src_install() { exeinto /usr/bin/ doexe aflex dodoc PORTING README RELEASE.NOTES newman doc/${PN}.man ${PN}.1 # There is also user manual in doc/aflex_user_man.tex, but have # no idea how to make using latex } pkg_postinst(){ # To skip message about gnat profile false }