summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-08-11 15:36:54 +0000
committerMamoru Komachi <usata@gentoo.org>2004-08-11 15:36:54 +0000
commitf7d92a6778a024a5f8534d07262f08fb6cf39f5c (patch)
tree628960187ee59f804a23e04eb4b906b956945bb0 /app-misc/grass
parentstable on amd64 for security fix. see bug 59948 (diff)
downloadhistorical-f7d92a6778a024a5f8534d07262f08fb6cf39f5c.tar.gz
historical-f7d92a6778a024a5f8534d07262f08fb6cf39f5c.tar.bz2
historical-f7d92a6778a024a5f8534d07262f08fb6cf39f5c.zip
Added nls IUSE flag.
Diffstat (limited to 'app-misc/grass')
-rw-r--r--app-misc/grass/ChangeLog5
-rw-r--r--app-misc/grass/Manifest16
-rw-r--r--app-misc/grass/files/digest-grass-5.0.32
-rw-r--r--app-misc/grass/grass-5.0.3.ebuild33
4 files changed, 36 insertions, 20 deletions
diff --git a/app-misc/grass/ChangeLog b/app-misc/grass/ChangeLog
index 9e6a88f7167b..aee8822aa6ff 100644
--- a/app-misc/grass/ChangeLog
+++ b/app-misc/grass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-misc/grass
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/grass/ChangeLog,v 1.14 2004/06/24 22:14:15 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/grass/ChangeLog,v 1.15 2004/08/11 15:36:54 usata Exp $
+
+ 12 Aug 2004; Mamoru KOMACHI <usata@gentoo.org> grass-5.0.3.ebuild:
+ Added nls IUSE flag.
07 Jun 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
grass-5.0.3.ebuild:
diff --git a/app-misc/grass/Manifest b/app-misc/grass/Manifest
index a9b1926d485c..e4bfaef0be33 100644
--- a/app-misc/grass/Manifest
+++ b/app-misc/grass/Manifest
@@ -1,16 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 b264883b0cb37e259ee7e377de3405f1 ChangeLog 1931
+MD5 4580deaf4ec4f5bff2b55471e8a875c3 ChangeLog 2021
MD5 75ec6d47bcc60fe6869bf1da4ec2fe85 grass-5.0.2.ebuild 2639
-MD5 d1455b1c4c30837360d9a696d05e4b27 grass-5.0.3.ebuild 2616
+MD5 a1c6f2a42d58a958b5e8f64a4595e75c grass-5.0.3.ebuild 3244
MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310
MD5 bdf9112abfe51ff3b2cd0547318640df files/digest-grass-5.0.2 69
-MD5 35189a7ae00c27bf54a1635a71d1f2c1 files/digest-grass-5.0.3 69
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.8 (GNU/Linux)
-
-iD8DBQFA4vRUHTu7gpaalycRAj4ZAKCAzID71Vz76+aqE1kg4FM+wkO5AACg7MG2
-wuvGHPj7C1SAdbHjQGZUnZY=
-=WOdv
------END PGP SIGNATURE-----
+MD5 0595fca992dc9e3ab6f3ddf331323b79 files/digest-grass-5.0.3 209
diff --git a/app-misc/grass/files/digest-grass-5.0.3 b/app-misc/grass/files/digest-grass-5.0.3
index e43e9f9dc5cc..42b4aa3c194d 100644
--- a/app-misc/grass/files/digest-grass-5.0.3
+++ b/app-misc/grass/files/digest-grass-5.0.3
@@ -1 +1,3 @@
MD5 8c1cca7f9f36dca671d0f753501f1f4f grass-5.0.3_src.tar.gz 17503696
+MD5 53fdec5bbbc02dff1bc95acb3456ecbd grass5.0.3_i18n_src.tar.gz 17600067
+MD5 13b07f28e0d771b47702a244b1e2d9ff tcltkgrass-i18n.tar.gz 312974
diff --git a/app-misc/grass/grass-5.0.3.ebuild b/app-misc/grass/grass-5.0.3.ebuild
index b55dbc151338..83818ba7fd2b 100644
--- a/app-misc/grass/grass-5.0.3.ebuild
+++ b/app-misc/grass/grass-5.0.3.ebuild
@@ -1,15 +1,18 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/grass/grass-5.0.3.ebuild,v 1.9 2004/06/30 17:11:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/grass/grass-5.0.3.ebuild,v 1.10 2004/08/11 15:36:54 usata Exp $
DESCRIPTION="An open-source GIS with raster and vector functionality"
-HOMEPAGE="http://grass.itc.it/"
-SRC_URI="http://grass.ibiblio.org/${PN}5/source/${P}_src.tar.gz"
+HOMEPAGE="http://grass.itc.it/
+ http://www.grass-japan.org/FOSS4G/GRASS/grass-inten.html"
+SRC_URI="!nls? ( http://grass.ibiblio.org/${PN}5/source/${P}_src.tar.gz )
+ nls? ( http://www.grass-japan.org/FOSS4G/GRASS/${P/-/}_i18n_src.tar.gz
+ tcltk? ( http://www.grass-japan.org/FOSS4G/GRASS/tcltkgrass-i18n.tar.gz ) )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
-IUSE="tcltk png jpeg tiff postgres odbc gd motif truetype"
+IUSE="tcltk png jpeg tiff postgres odbc gd motif truetype nls"
# Removed cause mesa never goes stable.
# IUSE="${IUSE} nviz"
@@ -35,9 +38,12 @@ DEPEND=">=sys-devel/make-3.80
odbc? ( >=dev-db/unixODBC-2.0.6 )
gd? ( >=media-libs/gd-1.8.3 )
motif? ( x11-libs/openmotif )
- truetype? ( >=media-libs/freetype-2.1.3 )"
+ truetype? ( >=media-libs/freetype-2.1.3 )
+ nls? ( x11-terms/mlterm )"
#nviz? ( >=media-libs/mesa-3.5 )"
+use nls && S="${WORKDIR}/${P}-i18n"
+
src_compile() {
local myconf="--with-blas --with-lapack"
@@ -82,17 +88,32 @@ src_compile() {
#&& myconf="${myconf} --with-glw" \
#|| myconf="${myconf} --without-glw"
+ use nls \
+ && myconf="${myconf} --with-nls --with-freetype"
+
./configure \
--host=${CHOST} \
--prefix=${D}/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
${myconf} || die "./configure failed"
- make || die "make failed"
+ emake -j1 || die "emake failed"
+
+ # clean ccache directories left in ${S}
+ find . -type d -name ".ccache" | xargs rm -rf
}
src_install() {
make install || die
dosed "s:^GISBASE=.*$:GISBASE=/usr/grass5:" \
/usr/bin/grass5
+
+ if use nls && use tcltk ; then
+ pushd ${D}/usr/grass5
+ unpack tcltkgrass-i18n.tar.gz
+ dodoc AUTHORS BUGS NEWS.html README TODO.txt
+ dohtml REQUIREMENTS.html
+ rm [A-Z]*
+ popd
+ fi
}