summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2003-10-28 14:48:31 +0000
committerDavid Holm <dholm@gentoo.org>2003-10-28 14:48:31 +0000
commit30bdf72afc069601548726b854e3da9520cbdd8a (patch)
tree6fea7e869845b2caa3eb992ed80ab5f4548042a1 /dev-ada
parentfixing Manifest (diff)
downloadgentoo-2-30bdf72afc069601548726b854e3da9520cbdd8a.tar.gz
gentoo-2-30bdf72afc069601548726b854e3da9520cbdd8a.tar.bz2
gentoo-2-30bdf72afc069601548726b854e3da9520cbdd8a.zip
Added to ADA_INCLUDE_PATH and ADA_OBJECTS_PATH
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/gtkada/ChangeLog6
-rw-r--r--dev-ada/gtkada/Manifest6
-rw-r--r--dev-ada/gtkada/gtkada-2.2.0-r1.ebuild19
-rw-r--r--dev-ada/gtkada/gtkada-2.2.1_pre20031005.ebuild19
4 files changed, 42 insertions, 8 deletions
diff --git a/dev-ada/gtkada/ChangeLog b/dev-ada/gtkada/ChangeLog
index 36404e80d2aa..b652cf942df8 100644
--- a/dev-ada/gtkada/ChangeLog
+++ b/dev-ada/gtkada/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ada/gtkada
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/ChangeLog,v 1.5 2003/10/06 00:29:19 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/ChangeLog,v 1.6 2003/10/28 14:48:26 dholm Exp $
+
+ 28 Oct 2003; David Holm <dholm@gentoo.org> gtkada-2.2.0-r1.ebuild,
+ gtkada-2.2.1_pre20031005.ebuild:
+ Added to ADA_INCLUDE_PATH and ADA_OBJECTS_PATH.
*gtkada-2.2.1_pre20031005 (06 Oct 2003)
diff --git a/dev-ada/gtkada/Manifest b/dev-ada/gtkada/Manifest
index cbcaba2fc7cb..2c5c24bebb35 100644
--- a/dev-ada/gtkada/Manifest
+++ b/dev-ada/gtkada/Manifest
@@ -1,7 +1,7 @@
-MD5 8a58ac19c43a8aefbec53f05e15b3b6c ChangeLog 1267
-MD5 abd9cf38f887aea97595ac7bd6eee2b3 gtkada-2.2.0-r1.ebuild 1898
+MD5 4ec6658aa8ae43c1636c9d517debafe3 ChangeLog 1422
+MD5 d2ec7ee30281bbf995da4c21f80ef2da gtkada-2.2.0-r1.ebuild 2413
MD5 406df42dba8304e0bfa98dd1a79452b7 metadata.xml 556
-MD5 3c8d5d924a792281a778b7199fed3432 gtkada-2.2.1_pre20031005.ebuild 1797
+MD5 7eb9516c33bb93d187fe5c5786cbf7b4 gtkada-2.2.1_pre20031005.ebuild 2312
MD5 f6dd28048026dfc33cdadfa70e75217e files/digest-gtkada-2.2.1_pre20031005 78
MD5 27c6dd96e1ff25f77f4f3a50b4961a24 files/digest-gtkada-2.2.0-r1 62
MD5 3272d807414b7bee90c1c4dc64971103 files/gtkada-2.2.0-gentoo.patch 541
diff --git a/dev-ada/gtkada/gtkada-2.2.0-r1.ebuild b/dev-ada/gtkada/gtkada-2.2.0-r1.ebuild
index 49c308ca9ec8..dc9c0e9e1bf1 100644
--- a/dev-ada/gtkada/gtkada-2.2.0-r1.ebuild
+++ b/dev-ada/gtkada/gtkada-2.2.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/gtkada-2.2.0-r1.ebuild,v 1.3 2003/10/06 00:29:20 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/gtkada-2.2.0-r1.ebuild,v 1.4 2003/10/28 14:48:26 dholm Exp $
inherit gnat
@@ -14,7 +14,7 @@ SLOT="1"
KEYWORDS="x86 ~ppc"
IUSE="nls opengl"
-DEPEND="dev-lang/gnat
+DEPEND=">=dev-lang/gnat-3.14p
>=x11-libs/gtk+-2.2.0"
RDEPEND=""
@@ -60,5 +60,20 @@ src_install() {
mv doc/${Name}/* share/${PN}/examples/ share/doc/${PF}
rm -rf doc/ share/${PN}/
cd ${S} #in case need to add anything afterwards
+
+ #set up environment
+ dodir /etc/env.d
+ echo "ADA_OBJECTS_PATH=/usr/lib/ada/adalib/${PN}" \
+ > ${D}/etc/env.d/55gtkada
+ echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" \
+ >> ${D}/etc/env.d/55gtkada
+}
+
+pkg_postinst() {
+ einfo "The envaironment has been set up to make gnat automatically find files for"
+ einfo "GtkAda. In order to immediately activate these settings please do:"
+ einfo "env-update"
+ einfo "source /etc/profile"
+ einfo "Otherwise the settings will become active next time you login"
}
diff --git a/dev-ada/gtkada/gtkada-2.2.1_pre20031005.ebuild b/dev-ada/gtkada/gtkada-2.2.1_pre20031005.ebuild
index 6162e8b512a2..3d5f91e1c383 100644
--- a/dev-ada/gtkada/gtkada-2.2.1_pre20031005.ebuild
+++ b/dev-ada/gtkada/gtkada-2.2.1_pre20031005.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/gtkada-2.2.1_pre20031005.ebuild,v 1.1 2003/10/06 00:29:20 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/gtkada-2.2.1_pre20031005.ebuild,v 1.2 2003/10/28 14:48:26 dholm Exp $
inherit gnat
@@ -13,7 +13,7 @@ SLOT="1"
KEYWORDS="~x86 ~ppc"
IUSE="nls opengl"
-DEPEND="dev-lang/gnat
+DEPEND=">=dev-lang/gnat-3.14p
>=x11-libs/gtk+-2.2.0"
RDEPEND=""
@@ -56,5 +56,20 @@ src_install() {
mv doc/${Name}/* share/${PN}/examples/ share/doc/${PF}
rm -rf doc/ share/${PN}/
cd ${S} #in case need to add anything afterwards
+
+ #set up environment
+ dodir /etc/env.d
+ echo "ADA_OBJECTS_PATH=/usr/lib/ada/adalib/${PN}" \
+ > ${D}/etc/env.d/55gtkada
+ echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" \
+ >> ${D}/etc/env.d/55gtkada
+}
+
+pkg_postinst() {
+ einfo "The envaironment has been set up to make gnat automatically find files for"
+ einfo "GtkAda. In order to immediately activate these settings please do:"
+ einfo "env-update"
+ einfo "source /etc/profile"
+ einfo "Otherwise the settings will become active next time you login"
}