summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2007-09-25 07:08:03 +0000
committerChristian Faulhammer <fauli@gentoo.org>2007-09-25 07:08:03 +0000
commitb4f645e436dbc3e02ddd8f94e61fc34e291da795 (patch)
tree019e4a787113348fb333d177fa002f7d778610ce /sci-misc
parentfix quoting (diff)
downloadhistorical-b4f645e436dbc3e02ddd8f94e61fc34e291da795.tar.gz
historical-b4f645e436dbc3e02ddd8f94e61fc34e291da795.tar.bz2
historical-b4f645e436dbc3e02ddd8f94e61fc34e291da795.zip
introduce doc and examples USE flag, handling emacs USE flag correctly by preventing a file to be installed if it is not set
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/gri/ChangeLog9
-rw-r--r--sci-misc/gri/Manifest21
-rw-r--r--sci-misc/gri/files/digest-gri-2.12.16-r13
-rw-r--r--sci-misc/gri/gri-2.12.16-r1.ebuild76
4 files changed, 101 insertions, 8 deletions
diff --git a/sci-misc/gri/ChangeLog b/sci-misc/gri/ChangeLog
index f0fb3c82df8f..4530783a3d49 100644
--- a/sci-misc/gri/ChangeLog
+++ b/sci-misc/gri/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-misc/gri
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/gri/ChangeLog,v 1.14 2007/09/25 06:20:45 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/gri/ChangeLog,v 1.15 2007/09/25 07:08:03 opfer Exp $
+
+*gri-2.12.16-r1 (25 Sep 2007)
+
+ 25 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
+ +gri-2.12.16-r1.ebuild:
+ introduce doc and examples USE flag, handling emacs USE flag correctly by
+ preventing a file to be installed if it is not set
25 Sep 2007; Christian Faulhammer <opfer@gentoo.org> gri-2.12.16.ebuild:
correct the sed macro so it actually replaces the correct line
diff --git a/sci-misc/gri/Manifest b/sci-misc/gri/Manifest
index cc6aa6aca4db..035d8c71b088 100644
--- a/sci-misc/gri/Manifest
+++ b/sci-misc/gri/Manifest
@@ -23,6 +23,10 @@ EBUILD gri-2.12.14.ebuild 1320 RMD160 e50d7003c660789bd36f33aa1400a9be0d89bae3 S
MD5 76d8c5b24a0c3a4e537c6719bf36f59d gri-2.12.14.ebuild 1320
RMD160 e50d7003c660789bd36f33aa1400a9be0d89bae3 gri-2.12.14.ebuild 1320
SHA256 633e92931c7f4114c256c43537b671145d35f8112a368103d9d893910c0c507d gri-2.12.14.ebuild 1320
+EBUILD gri-2.12.16-r1.ebuild 1879 RMD160 c7fb1fe493aa5826f379e5d6acc96a21a15ee945 SHA1 29dcdd4ac60677844fe35f487d98041083fdeef5 SHA256 6fe9e955a6423257db79bf229c1a0d47027590ea733a151ca3197aa376f7f473
+MD5 bc7430898007ca2999fa9644171a7525 gri-2.12.16-r1.ebuild 1879
+RMD160 c7fb1fe493aa5826f379e5d6acc96a21a15ee945 gri-2.12.16-r1.ebuild 1879
+SHA256 6fe9e955a6423257db79bf229c1a0d47027590ea733a151ca3197aa376f7f473 gri-2.12.16-r1.ebuild 1879
EBUILD gri-2.12.16.ebuild 1359 RMD160 9bffc25e8051f6262632e2d401ef3d6b6a0b65cb SHA1 38fe5cbfe7e19a518a1cf9f1430036471d85e9d7 SHA256 7edfa77f5ee5443d511cbbd4c9e3849bc8b2561752081d9bbffd8d57cfb666ac
MD5 fc67204acf8e02e0a95550ff3ecb419e gri-2.12.16.ebuild 1359
RMD160 9bffc25e8051f6262632e2d401ef3d6b6a0b65cb gri-2.12.16.ebuild 1359
@@ -35,10 +39,10 @@ EBUILD gri-2.12.9.ebuild 1046 RMD160 d833c90d0cc57ed00ec6c929f55e25ea88b2c40b SH
MD5 04d3376658abdc82e6d9ebfa0afa9a95 gri-2.12.9.ebuild 1046
RMD160 d833c90d0cc57ed00ec6c929f55e25ea88b2c40b gri-2.12.9.ebuild 1046
SHA256 eb819e019061714860724b93ac8f0181f3050c8cc89adc3ae5cd40c8fdeaaf31 gri-2.12.9.ebuild 1046
-MISC ChangeLog 3945 RMD160 1dbee33616a9c0af1066b5b15b21a70206444217 SHA1 542ef9827a39497d97275bdfd03e5c8f7d2c49e0 SHA256 c25e33132c6da315915a43cd3671557b554aed8ffca5ace43799dc18a69a5174
-MD5 8e5395bde599b954b67805f78fca9dc4 ChangeLog 3945
-RMD160 1dbee33616a9c0af1066b5b15b21a70206444217 ChangeLog 3945
-SHA256 c25e33132c6da315915a43cd3671557b554aed8ffca5ace43799dc18a69a5174 ChangeLog 3945
+MISC ChangeLog 4187 RMD160 7141d20cb6f339554192b69b538994a3e669e7dc SHA1 09e2265868a6ea9204e7e898d69142e679ca6043 SHA256 9b098cab980d28d199d4f76c90d90ebb368ab8b08632cc214a19666a21b5a8cd
+MD5 f885310fd8aa4c551b1b48e7b1753104 ChangeLog 4187
+RMD160 7141d20cb6f339554192b69b538994a3e669e7dc ChangeLog 4187
+SHA256 9b098cab980d28d199d4f76c90d90ebb368ab8b08632cc214a19666a21b5a8cd ChangeLog 4187
MISC metadata.xml 175 RMD160 369480802064328bcb4b293dcdf9b0db2acc1a14 SHA1 5b64fbb76e5bd297a21b64990d5c87ecd3c3ade0 SHA256 65307ae1ea731454f30f453db37e77be6595a54f7889777b02cf34becf5b6675
MD5 b794166086d412cac7bea6605136ed9e metadata.xml 175
RMD160 369480802064328bcb4b293dcdf9b0db2acc1a14 metadata.xml 175
@@ -55,6 +59,9 @@ SHA256 d5604da62966f81ad1d2786be80614193600eb81b7a578a013ab5fce72b15985 files/di
MD5 1e5f15a735a0321b05d7f7bbb8e3d0ec files/digest-gri-2.12.16 238
RMD160 37164f9d1541cf600043fb167ddecd1f36421249 files/digest-gri-2.12.16 238
SHA256 b9f16563fe21deea685f5db9685211f015147dc8907205088416b3291807cfd0 files/digest-gri-2.12.16 238
+MD5 1e5f15a735a0321b05d7f7bbb8e3d0ec files/digest-gri-2.12.16-r1 238
+RMD160 37164f9d1541cf600043fb167ddecd1f36421249 files/digest-gri-2.12.16-r1 238
+SHA256 b9f16563fe21deea685f5db9685211f015147dc8907205088416b3291807cfd0 files/digest-gri-2.12.16-r1 238
MD5 b25fe1f88f62ebc4aed0a11670888b43 files/digest-gri-2.12.7 226
RMD160 b8376df1dca58ca3753eca30f2decaad14d8a8f8 files/digest-gri-2.12.7 226
SHA256 886a17f728d23a88d8cf939bd223e86eea49233cad37636f2f57a05f70d4fc54 files/digest-gri-2.12.7 226
@@ -64,7 +71,7 @@ SHA256 e0b229ac7072d87bcdcc4d5360bbc6b3676a8d6950d374ac0c30b21eda3885d1 files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
-iD8DBQFG+KjENQqtfCuFneMRAoI8AJ9Ruhy2et1NYSkyKUNtrbC5NfV1JQCeNHpv
-e99tju8vKBtkzKiObdt2IJY=
-=+Qjo
+iD4DBQFG+LPZNQqtfCuFneMRAlDKAJ4noW+zBzwzcXXQPEOh2qDOg7Pu6wCY6o2M
+UGkMmXmZRzbSc1ATAjv3dA==
+=Gvjp
-----END PGP SIGNATURE-----
diff --git a/sci-misc/gri/files/digest-gri-2.12.16-r1 b/sci-misc/gri/files/digest-gri-2.12.16-r1
new file mode 100644
index 000000000000..e057eeb9718d
--- /dev/null
+++ b/sci-misc/gri/files/digest-gri-2.12.16-r1
@@ -0,0 +1,3 @@
+MD5 6c368b024367ad56b2c4a02666ce6672 gri-2.12.16.tar.gz 1431717
+RMD160 c42d77d4af370b7a0119e6b10ba69e18a1ed775a gri-2.12.16.tar.gz 1431717
+SHA256 dfe384cc8ebd82760b9c8a1af9644a69a995b2d4bd0f166abb667c918bd68df3 gri-2.12.16.tar.gz 1431717
diff --git a/sci-misc/gri/gri-2.12.16-r1.ebuild b/sci-misc/gri/gri-2.12.16-r1.ebuild
new file mode 100644
index 000000000000..e49b3618a7d1
--- /dev/null
+++ b/sci-misc/gri/gri-2.12.16-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/gri/gri-2.12.16-r1.ebuild,v 1.1 2007/09/25 07:08:03 opfer Exp $
+
+inherit eutils elisp-common
+
+DESCRIPTION="language for scientific graphics programming"
+HOMEPAGE="http://gri.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gri/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc emacs examples"
+RESTRICT="test"
+
+DEPEND=">=sci-libs/netcdf-3.5.0
+ virtual/tetex
+ media-gfx/imagemagick
+ virtual/ghostscript
+ emacs? ( virtual/emacs )"
+
+SITEFILE="50gri-gentoo.el"
+
+src_compile() {
+ econf || die "econf failed."
+ emake || die "emake failed."
+ if use emacs; then
+ cd src
+ elisp-comp *.el || die "elisp-comp failed"
+ fi
+}
+
+src_install() {
+ # Replace PREFIX now and correct paths in the startup message.
+ sed -e s,PREFIX/share/gri/doc/,/usr/share/doc/${P}/, -i "${S}/src/startup.msg"
+
+ einstall || die "einstall failed."
+
+ # license text not necessary
+ rm "${D}"/usr/share/gri/doc/license.txt
+
+ # install target installs it always
+ use emacs || rm -rf "${D}"/usr/share/emacs
+
+ if ! use doc; then
+ sed -e "s/Manual at.*//" -i "${D}"/usr/share/gri/startup.msg
+ rm "${D}"/usr/share/gri/doc/cmdrefcard.ps
+ rm "${D}"/usr/share/gri/doc/refcard.ps
+ rm -rf "${D}"/usr/share/gri/doc/html
+ fi
+ if ! use examples; then
+ sed -e "s/Examples at.*//" -i "${D}"/usr/share/gri/startup.msg
+ rm -rf "${D}"/usr/share/gri/doc/examples
+ fi
+
+ dodoc README
+
+ #move docs to the proper place
+ mv "${D}"/usr/share/gri/doc/* "${D}/usr/share/doc/${PF}"
+ rmdir "${D}/usr/share/gri/doc/"
+
+ if use emacs; then
+ cd src
+ elisp-install gri *.{el,elc} || die "elisp-install failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}