summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2008-09-03 09:53:30 +0000
committerChristian Faulhammer <opfer@gentoo.org>2008-09-03 09:53:30 +0000
commitb9c18be6363c0c0c61388f8e75bdc7ebc15f15d6 (patch)
treebd2f1901dde2ae37c9f20b2e32c47c4e447d7019 /dev-util/sgb
parentalpha/ia64/sparc/x86 stable (diff)
downloadgentoo-2-b9c18be6363c0c0c61388f8e75bdc7ebc15f15d6.tar.gz
gentoo-2-b9c18be6363c0c0c61388f8e75bdc7ebc15f15d6.tar.bz2
gentoo-2-b9c18be6363c0c0c61388f8e75bdc7ebc15f15d6.zip
extend dependency to allow virtual/tex-base and quote variables
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-util/sgb')
-rw-r--r--dev-util/sgb/ChangeLog7
-rw-r--r--dev-util/sgb/sgb-20030623.ebuild21
2 files changed, 15 insertions, 13 deletions
diff --git a/dev-util/sgb/ChangeLog b/dev-util/sgb/ChangeLog
index 0f964a79db97..e56c72cc0031 100644
--- a/dev-util/sgb/ChangeLog
+++ b/dev-util/sgb/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/sgb
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/sgb/ChangeLog,v 1.6 2007/06/19 23:25:54 opfer Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/sgb/ChangeLog,v 1.7 2008/09/03 09:53:30 opfer Exp $
+
+ 03 Sep 2008; Christian Faulhammer <opfer@gentoo.org> sgb-20030623.ebuild:
+ extend dependency to allow virtual/tex-base and quote variables
19 Jun 2007; Christian Faulhammer <opfer@gentoo.org> sgb-20030623.ebuild:
stable x86, bug 181580
diff --git a/dev-util/sgb/sgb-20030623.ebuild b/dev-util/sgb/sgb-20030623.ebuild
index f841f5156e87..57a41a740612 100644
--- a/dev-util/sgb/sgb-20030623.ebuild
+++ b/dev-util/sgb/sgb-20030623.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/sgb/sgb-20030623.ebuild,v 1.5 2007/06/19 23:25:54 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/sgb/sgb-20030623.ebuild,v 1.6 2008/09/03 09:53:30 opfer Exp $
DESCRIPTION="Stanford GraphBase"
HOMEPAGE="ftp://labrea.stanford.edu/pub/sgb/"
@@ -9,11 +9,10 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~ppc x86"
IUSE=""
-DEPEND=">=dev-util/cweb-3.00"
+DEPEND="|| ( >=dev-util/cweb-3.00 virtual/tex-base )"
src_unpack() {
- mkdir ${S}
- cd ${S}
+ cd "${S}"
unpack ${A}
echo >>Makefile
echo 'demos: $(DEMOS)' >>Makefile
@@ -30,14 +29,14 @@ src_compile() {
src_install() {
dodir /usr/share/${PN} /usr/include/sgb /usr/lib /usr/bin /usr/share/${PN}/cweb
- emake SGBDIR=${D}/usr/share/${PN} \
- INCLUDEDIR=${D}/usr/include/sgb \
- LIBDIR=${D}/usr/lib \
- BINDIR=${D}/usr/bin \
- CWEBINPUTS=${D}/usr/share/${PN}/cweb \
+ emake SGBDIR="${D}"/usr/share/${PN} \
+ INCLUDEDIR="${D}"/usr/include/sgb \
+ LIBDIR="${D}"/usr/lib \
+ BINDIR="${D}"/usr/bin \
+ CWEBINPUTS="${D}"/usr/share/${PN}/cweb \
CFLAGS="${CFLAGS}" install installdata installdemos
# we don't need no makefile
- rm ${D}/usr/include/sgb/Makefile
+ rm "${D}"/usr/include/sgb/Makefile
dodoc ERRATA README