summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-02-11 11:19:51 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-02-11 11:19:51 +0000
commita154f53db80aaeb74f4f7bb4f3202f05d9dc1605 (patch)
treec866529ee7ea81899f0f444c2c8b24bae7aa6847 /app-text/mgv/mgv-3.1.5-r1.ebuild
parentVersion bump (diff)
downloadhistorical-a154f53db80aaeb74f4f7bb4f3202f05d9dc1605.tar.gz
historical-a154f53db80aaeb74f4f7bb4f3202f05d9dc1605.tar.bz2
historical-a154f53db80aaeb74f4f7bb4f3202f05d9dc1605.zip
moved config file to /etc
Diffstat (limited to 'app-text/mgv/mgv-3.1.5-r1.ebuild')
-rw-r--r--app-text/mgv/mgv-3.1.5-r1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/app-text/mgv/mgv-3.1.5-r1.ebuild b/app-text/mgv/mgv-3.1.5-r1.ebuild
new file mode 100644
index 000000000000..0c29461c28dc
--- /dev/null
+++ b/app-text/mgv/mgv-3.1.5-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# /home/cvsroot/gentoo-x86/skel.build,v 1.2 2001/02/15 18:17:31 achim Exp
+# $Header: /var/cvsroot/gentoo-x86/app-text/mgv/mgv-3.1.5-r1.ebuild,v 1.1 2004/02/11 11:19:51 lanius Exp $
+
+inherit eutils
+
+IUSE=""
+
+DESCRIPTION="Motif PostScript viewer loosely based on Ghostview"
+SRC_URI="http://www.trends.net/~mu/srcs/${P}.tar.gz"
+HOMEPAGE="http://www.trends.net/~mu/mgv.html"
+
+KEYWORDS="~x86 ~sparc"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="virtual/ghostscript
+ x11-libs/openmotif"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-stderr.patch || die
+}
+
+src_compile() {
+ econf || die
+ make || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS COPYING ChangeLog NEWS README
+ dohtml doc/*.sgml
+
+ # move config file to /etc
+ dodir /etc/
+ mv ${D}/usr/share/mgv/${PV}/MGv ${D}/etc/mgv.conf
+ dosym /etc/mgv.conf /usr/share/mgv/${PV}/MGv
+}
+
+pkg_postinst() {
+ einfo "The default browser for help documents is netscape"
+ einfo "You can change it in /etc/mgv.conf"
+}