diff options
author | Mamoru Komachi <usata@gentoo.org> | 2003-07-26 16:31:18 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2003-07-26 16:31:18 +0000 |
commit | be3ac081176ecc3de00c5242a96016b94e329cad (patch) | |
tree | 025c2781bb4cb493ade73802cac6bafa70aa260b /app-text | |
parent | New ebuild, closing bug #23130 (diff) | |
download | historical-be3ac081176ecc3de00c5242a96016b94e329cad.tar.gz historical-be3ac081176ecc3de00c5242a96016b94e329cad.tar.bz2 historical-be3ac081176ecc3de00c5242a96016b94e329cad.zip |
New ebuild, closing bug #23130
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/xdvik/Manifest | 4 | ||||
-rw-r--r-- | app-text/xdvik/files/digest-xdvik-22.40y | 2 | ||||
-rw-r--r-- | app-text/xdvik/xdvik-22.40y.ebuild | 62 |
3 files changed, 66 insertions, 2 deletions
diff --git a/app-text/xdvik/Manifest b/app-text/xdvik/Manifest index 5410009f4938..445fbedcdc77 100644 --- a/app-text/xdvik/Manifest +++ b/app-text/xdvik/Manifest @@ -1,3 +1,3 @@ -MD5 80a7ec203f23964b93a17061480884e7 xdvik-22.40y.ebuild 1334 -MD5 f983408c1dd36d1e17a46ce0fe1f7463 ChangeLog 260 +MD5 43bcb8f43f7e1d24cedb7077fc4e92ba xdvik-22.40y.ebuild 1337 +MD5 e13f058aa03ea5f2780a872a3b9ac579 ChangeLog 346 MD5 7605fd292b3cac2b9e0e4372ff8e1277 files/digest-xdvik-22.40y 137 diff --git a/app-text/xdvik/files/digest-xdvik-22.40y b/app-text/xdvik/files/digest-xdvik-22.40y new file mode 100644 index 000000000000..9669e8fa7e52 --- /dev/null +++ b/app-text/xdvik/files/digest-xdvik-22.40y @@ -0,0 +1,2 @@ +MD5 4623886baf11e26566699bc60f93aabf xdvik-22.40y.tar.gz 2255606 +MD5 bb7ee652fbfd502444f929401802b9b9 xdvik-22.40y-j1.17.patch.gz 189833 diff --git a/app-text/xdvik/xdvik-22.40y.ebuild b/app-text/xdvik/xdvik-22.40y.ebuild new file mode 100644 index 000000000000..2748a8d92206 --- /dev/null +++ b/app-text/xdvik/xdvik-22.40y.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/xdvik-22.40y.ebuild,v 1.1 2003/07/26 16:31:11 usata Exp $ + +inherit eutils + +IUSE="cjk libwww" + +XDVIK_PATCH="${P}-j1.17.patch.gz" + +DESCRIPTION="DVI previewer for X Window System" +SRC_URI="mirror://sourceforge/xdvi/${P}.tar.gz + cjk? ( mirror://gentoo/${XDVIK_PATCH} )" +HOMEPAGE="http://sourceforge.net/projects/xdvi/" + +KEYWORDS="~x86 ~alpha ~ppc ~sparc" +SLOT="0" +LICENSE="GPL-2" + +DEPEND=">=media-libs/t1lib-1.3 + virtual/tetex + virtual/x11 + cjk? ( =media-libs/vflib-2* ) + libwww? ( >=net-libs/libwww-5.3.2-r1 )" + +src_unpack () { + + unpack ${P}.tar.gz + use cjk && epatch ${DISTDIR}/${XDVIK_PATCH} +} + +src_compile () { + + local myconf + + use libwww && myconf="--with-system-wwwlib" + + econf --enable-xdvietcdir=/usr/share/texmf/xdvi \ + --disable-multiplatform \ + --with-system-t1lib \ + ${myconf} || die "econf failed" + + cd texk/xdvik + make || die +} + +src_install () { + + dodir /usr/share/texmf/xdvi + dodir /usr/share/man/man1 + + cd ${S}/texk/xdvik + einstall texmf=${D}/usr/share/texmf \ + XDVIETCDIR=${D}/usr/share/texmf/xdvi || die "install failed" + + dodoc ANNOUNCE BUGS FAQ README.* + if [ -n "`use cjk`" ]; then + dodoc CHANGES.xdvik-jp + docinto READMEs + dodoc READMEs/* + fi +} |