summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-09-02 17:47:54 +0000
committerMamoru Komachi <usata@gentoo.org>2003-09-02 17:47:54 +0000
commit2065eb23ce35127ab32eca7dbc4ac0028c094011 (patch)
tree97dc7842c5e5a95f64e6c0291d05a3739c625ad7 /app-dicts/bookview
parentnew ebuild (diff)
downloadhistorical-2065eb23ce35127ab32eca7dbc4ac0028c094011.tar.gz
historical-2065eb23ce35127ab32eca7dbc4ac0028c094011.tar.bz2
historical-2065eb23ce35127ab32eca7dbc4ac0028c094011.zip
new ebuild
Diffstat (limited to 'app-dicts/bookview')
-rw-r--r--app-dicts/bookview/Manifest4
-rw-r--r--app-dicts/bookview/bookview-3.2.ebuild44
-rw-r--r--app-dicts/bookview/files/Bookview.ad1
-rw-r--r--app-dicts/bookview/files/bookview-3.2-gentoo.diff15
-rw-r--r--app-dicts/bookview/files/digest-bookview-3.21
-rw-r--r--app-dicts/bookview/metadata.xml5
6 files changed, 69 insertions, 1 deletions
diff --git a/app-dicts/bookview/Manifest b/app-dicts/bookview/Manifest
index 08b11aec4a2b..cdbad04966e3 100644
--- a/app-dicts/bookview/Manifest
+++ b/app-dicts/bookview/Manifest
@@ -1,4 +1,6 @@
-MD5 417db3506f899c87f298ff18911c59d7 bookview-3.2.ebuild 792
+MD5 7bb3d9a1e777519b018396a7a9f1ec95 bookview-3.2.ebuild 892
+MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156
+MD5 4e3e6887dd5f24490520e96dc855ed71 ChangeLog 433
MD5 763df96bd7061235ae5c8677c974528c files/Bookview.ad 20
MD5 ea5ee913eea081c97bb2097424c70646 files/bookview-3.2-gentoo.diff 466
MD5 e158f04b11ac0ae80e209226da3ba6d8 files/digest-bookview-3.2 64
diff --git a/app-dicts/bookview/bookview-3.2.ebuild b/app-dicts/bookview/bookview-3.2.ebuild
new file mode 100644
index 000000000000..c3a5d37dfe8c
--- /dev/null
+++ b/app-dicts/bookview/bookview-3.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/bookview/bookview-3.2.ebuild,v 1.1 2003/09/02 17:47:46 usata Exp $
+
+inherit eutils
+
+IUSE="cjk"
+
+DESCRIPTION="NDTP client written in Tcl/Tk"
+HOMEPAGE="http://www.sra.co.jp/people/m-kasahr/bookview/"
+SRC_URI="ftp://ftp.sra.co.jp/pub/net/ndtp/bookview/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=sys-apps/sed-4"
+RDEPEND=">=dev-lang/tk-8.3
+ net-misc/ndtpd"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
+src_compile() {
+
+ econf `use_enable cjk ja-doc` || die
+ emake || die
+}
+
+src_install() {
+
+ einstall || die
+
+ insinto /etc/X11/app-defaults
+ newins ${FILESDIR}/Bookview.ad Bookview
+
+ dodoc AUTHORS ChangeLog* INSTALL NEWS README
+ use cjk && dodoc INSTALL-ja README-ja
+}
diff --git a/app-dicts/bookview/files/Bookview.ad b/app-dicts/bookview/files/Bookview.ad
new file mode 100644
index 000000000000..7fb486fd8beb
--- /dev/null
+++ b/app-dicts/bookview/files/Bookview.ad
@@ -0,0 +1 @@
+Bookview*font: 7x14
diff --git a/app-dicts/bookview/files/bookview-3.2-gentoo.diff b/app-dicts/bookview/files/bookview-3.2-gentoo.diff
new file mode 100644
index 000000000000..e836438b26f9
--- /dev/null
+++ b/app-dicts/bookview/files/bookview-3.2-gentoo.diff
@@ -0,0 +1,15 @@
+diff -urN bookview-3.2.ORIG/bookview/bookview.in bookview-3.2/bookview/bookview.in
+--- bookview-3.2.ORIG/bookview/bookview.in 2003-06-23 16:45:37.000000000 +0900
++++ bookview-3.2/bookview/bookview.in 2003-09-03 01:54:51.000000000 +0900
+@@ -124,6 +124,11 @@
+ # Bitmap size.
+ set bitmap_size 16
+
++# Read Xresource
++if { [ file readable "@sysconfdir@/X11/app-defaults/Bookview" ] } {
++ option readfile "@sysconfdir@/X11/app-defaults/Bookview"
++}
++
+ #
+ # Startup
+ #
diff --git a/app-dicts/bookview/files/digest-bookview-3.2 b/app-dicts/bookview/files/digest-bookview-3.2
new file mode 100644
index 000000000000..bebfb408616b
--- /dev/null
+++ b/app-dicts/bookview/files/digest-bookview-3.2
@@ -0,0 +1 @@
+MD5 dfd95f77d5df8ad65cf12b6e7dd1b9b4 bookview-3.2.tar.gz 244807
diff --git a/app-dicts/bookview/metadata.xml b/app-dicts/bookview/metadata.xml
new file mode 100644
index 000000000000..2d5852c16c60
--- /dev/null
+++ b/app-dicts/bookview/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+</pkgmetadata>