| 1 |
# Copyright 1999-2013 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/re2c/re2c-0.13.5-r1.ebuild,v 1.7 2012/09/02 18:53:32 armin76 Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit eutils
|
| 8 |
|
| 9 |
DESCRIPTION="tool for generating C-based recognizers from regular expressions"
|
| 10 |
HOMEPAGE="http://re2c.sourceforge.net/"
|
| 11 |
MY_PV="${PV/_/.}"
|
| 12 |
MY_P="${PN}-${MY_PV}"
|
| 13 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
| 14 |
|
| 15 |
LICENSE="public-domain"
|
| 16 |
SLOT="0"
|
| 17 |
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 s390 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
| 18 |
IUSE=""
|
| 19 |
|
| 20 |
RDEPEND=""
|
| 21 |
DEPEND="${RDEPEND}"
|
| 22 |
S="${WORKDIR}/${MY_P}"
|
| 23 |
|
| 24 |
src_install() {
|
| 25 |
dobin re2c
|
| 26 |
doman re2c.1
|
| 27 |
dodoc README CHANGELOG doc/*
|
| 28 |
docinto examples
|
| 29 |
dodoc examples/*.c examples/*.re
|
| 30 |
}
|