summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2017-11-25 22:00:08 +0100
committerTupone Alfredo <tupone@gentoo.org>2017-11-25 22:00:08 +0100
commitd15df9946005fa5e60fddfd4d253305a22748156 (patch)
treec14c40b040aab2e80a8766625ca37c8f08fc1b0d /dev-ada
parentnet-analyzer/nagios-plugins: stable 2.2.1-r2 for sparc, bug #626430 (thanks t... (diff)
downloadgentoo-d15df9946005fa5e60fddfd4d253305a22748156.tar.gz
gentoo-d15df9946005fa5e60fddfd4d253305a22748156.tar.bz2
gentoo-d15df9946005fa5e60fddfd4d253305a22748156.zip
dev-ada/gps: Adding gnat documentation
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/gps/Manifest1
-rw-r--r--dev-ada/gps/gps-2017.ebuild14
2 files changed, 13 insertions, 2 deletions
diff --git a/dev-ada/gps/Manifest b/dev-ada/gps/Manifest
index 4baa367cf94f..1730df8afcbe 100644
--- a/dev-ada/gps/Manifest
+++ b/dev-ada/gps/Manifest
@@ -1 +1,2 @@
+DIST gnat-gpl-2017-x86_64-linux-bin.tar.gz 496338280 BLAKE2B b3eee6d311fb9c20bc8fa7217c0731ca1e91ced38700df1d63d91a16c3fa28dfd44c7c8e867c3a857b88e4f0c8b2a7200fb6a8a630b8403538c4784f8914d1a5 SHA512 01a8f3be9b7b7e83cc5bd4a45137b1d35c6448bc22a88bcaf5d312cd63e11081b6b2fe9f09ad2a27d8f0b6471fc5c1a99573bf3bcee1589329054074eaeef04f
DIST gps-gpl-2017-src.tar.gz 41216830 BLAKE2B 51ca89c38fa81888a9cf1831cf97f7e0ad72c444328a29063249a4fe72bbdc8357552d470872e9fbbeaf349ef0427b59fa41a0efb56200a07a9426343c731a57 SHA512 101ecef7f183de1da0c2b09d77f284a5e8c5ae56f34a897c8d471e79fe9a2832742608ff5251197ba2a52b5d9dfee6c6937fc22cd55f6d8f38359b070393cb64
diff --git a/dev-ada/gps/gps-2017.ebuild b/dev-ada/gps/gps-2017.ebuild
index b346b3515497..209c3305c697 100644
--- a/dev-ada/gps/gps-2017.ebuild
+++ b/dev-ada/gps/gps-2017.ebuild
@@ -10,12 +10,14 @@ MYP=${PN}-gpl-${PV}-src
DESCRIPTION="The GNAT Programming Studio"
HOMEPAGE="http://libre.adacore.com/tools/gps/"
SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed03b
- -> ${MYP}.tar.gz"
+ -> ${MYP}.tar.gz
+ doc? ( http://mirrors.cdn.adacore.com/art/591c6d80c7a447af2deed1d7
+ -> gnat-gpl-2017-x86_64-linux-bin.tar.gz )"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-IUSE=""
+IUSE="doc"
RDEPEND="${PYTHON_DEPS}
>=dev-ada/gnatcoll-2017[gtk,iconv,projects,pygobject,shared,sqlite,tools]
@@ -57,3 +59,11 @@ src_prepare() {
src_compile() {
emake GPRBUILD_FLAGS="-v ${MAKEOPTS}"
}
+
+src_install() {
+ default
+ if use doc; then
+ insinto /usr/share/doc
+ doins -r "${WORKDIR}"/gnat-gpl-2017-x86_64-linux-bin/share/doc/gnat
+ fi
+}