| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/games-util/nml/nml-0.2.3.ebuild,v 1.8 2012/12/29 16:31:14 pinkbyte Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
PYTHON_DEPEND="2:2.5"
|
| 7 |
inherit distutils
|
| 8 |
|
| 9 |
DESCRIPTION="Compiler of NML files into grf/nfo files"
|
| 10 |
HOMEPAGE="http://dev.openttdcoop.org/projects/nml"
|
| 11 |
SRC_URI="http://bundles.openttdcoop.org/${PN}/releases/${PV}/${P}.src.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
RDEPEND="dev-python/imaging
|
| 19 |
dev-python/ply"
|
| 20 |
DEPEND="${RDEPEND}
|
| 21 |
dev-python/setuptools"
|
| 22 |
|
| 23 |
DOCS="docs/changelog.txt docs/readme.txt"
|
| 24 |
|
| 25 |
pkg_setup() {
|
| 26 |
python_set_active_version 2
|
| 27 |
python_pkg_setup
|
| 28 |
}
|
| 29 |
|
| 30 |
src_install() {
|
| 31 |
distutils_src_install
|
| 32 |
doman docs/nmlc.1
|
| 33 |
}
|