diff options
author | Dan Armak <danarmak@gentoo.org> | 2001-08-11 21:00:48 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2001-08-11 21:00:48 +0000 |
commit | 15b3af9f170d46e7173d6af43a05cf53f5bea44b (patch) | |
tree | 28c17cd3ebd17cb3096c94f0efc2410cb32c92e6 /app-text | |
parent | ebuild fixed. removing from package.mask (submitted by Ollie Rutherfurd). (diff) | |
download | historical-15b3af9f170d46e7173d6af43a05cf53f5bea44b.tar.gz historical-15b3af9f170d46e7173d6af43a05cf53f5bea44b.tar.bz2 historical-15b3af9f170d46e7173d6af43a05cf53f5bea44b.zip |
finally adding - the r1 of the gv ebuild.
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/gv/files/digest-gv-3.5.8 | 1 | ||||
-rw-r--r-- | app-text/gv/gv-3.5.8-r1.ebuild | 75 |
2 files changed, 75 insertions, 1 deletions
diff --git a/app-text/gv/files/digest-gv-3.5.8 b/app-text/gv/files/digest-gv-3.5.8 deleted file mode 100644 index 38f5c50f72fa..000000000000 --- a/app-text/gv/files/digest-gv-3.5.8 +++ /dev/null @@ -1 +0,0 @@ -MD5 8f2f0bd97395d6cea52926ddee736da8 gv-3.5.8.tar.gz diff --git a/app-text/gv/gv-3.5.8-r1.ebuild b/app-text/gv/gv-3.5.8-r1.ebuild new file mode 100644 index 000000000000..c11d0c4673f1 --- /dev/null +++ b/app-text/gv/gv-3.5.8-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Dan Armak <danarmak@gentoo.org> +# /home/cvsroot/gentoo-x86/skel.build,v 1.3 2001/07/05 02:43:36 drobbins Exp + +# this r1 is a major change. it uses sed instead of patches. +# hopefully this will enable everyone to compile gv on widely +# different configurations, eliminating the gv.man/gv._man problem + +S=${WORKDIR}/${P} + +DESCRIPTION="gv is a standard ghostscript frontend used e.g. by LyX" + +SRC_URI="ftp://ftpthep.physik.uni-mainz.de/pub/gv/unix/${P}.tar.gz" +HOMEPAGE="http://wwwthep.physik.uni-mainz.de/~plass/gv/" + +# There's probably more, but ghostscript also depends on it, +# so I can't identify it +DEPEND="virtual/x11 x11-libs/Xaw3d app-text/ghostscript" + +src_unpack() { + + # need to check if this can be done automatically + + unpack ${P}.tar.gz + cd ${S} + +} + +src_compile() { + + cd ${S} + + cp config.Unix 1 + sed -e 's/usr\/local/usr/' 1 > config.Unix + rm 1 + + try xmkmf + try make Makefiles + + cd source + + sleep 15s + + cp Makefile 1 + cat 1 | sed -e 's/install.man:: gv.man/install.man::/' \ + -e 's/all:: gv./\#all:: gv./' \ + -e '/gv.man/ c \#removed by sed for ebuilding' > Makefile + rm 1 + if [ ! "`grep gv.man Makefile`" = "" ]; + then + echo "sed didn't completely remove gv.man references from the Makefile. +We'll just run make and pray." + sleep 2s + fi + + + cd ${S} + try make + +} + +src_install () { + + cd ${S} + try make DESTDIR=${D} install + # try make DESTDIR=${D} install.man # don't use this!!! + try make DESTDIR=${D} install.doc + + cd ${S}/doc + cp gv.man gv.man.1 + doman gv.man.1 + +} + |