summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2004-05-02 01:02:36 +0000
committerWilliam Hubbs <williamh@gentoo.org>2004-05-02 01:02:36 +0000
commit9767abc834e1cede82ff6b1a25145d21b3cbe614 (patch)
treea3e2ac37166ec576c43840e9907940ea9c4c2d83 /app-accessibility
parentInitial import, bug #46500. (Manifest recommit) (diff)
downloadgentoo-2-9767abc834e1cede82ff6b1a25145d21b3cbe614.tar.gz
gentoo-2-9767abc834e1cede82ff6b1a25145d21b3cbe614.tar.bz2
gentoo-2-9767abc834e1cede82ff6b1a25145d21b3cbe614.zip
This is the initial commit for the NFBTrans braille translator.
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/nfbtrans/ChangeLog10
-rw-r--r--app-accessibility/nfbtrans/Manifest4
-rw-r--r--app-accessibility/nfbtrans/files/digest-nfbtrans-7.701
-rw-r--r--app-accessibility/nfbtrans/files/nfbtrans-7.70-gentoo-fix.patch24
-rw-r--r--app-accessibility/nfbtrans/metadata.xml9
-rw-r--r--app-accessibility/nfbtrans/nfbtrans-7.70.ebuild37
6 files changed, 85 insertions, 0 deletions
diff --git a/app-accessibility/nfbtrans/ChangeLog b/app-accessibility/nfbtrans/ChangeLog
new file mode 100644
index 000000000000..488be85828b7
--- /dev/null
+++ b/app-accessibility/nfbtrans/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-accessibility/nfbtrans
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/nfbtrans/ChangeLog,v 1.1 2004/05/02 01:02:36 williamh Exp $
+
+*nfbtrans-7.70 (01 May 2004)
+
+ 01 May 2004; William Hubbs,,, <williamh@gentoo.org> nfbtrans-7.70.ebuild,
+ files/nfbtrans-7.70-gentoo-fix.patch:
+ Initial commit.
+
diff --git a/app-accessibility/nfbtrans/Manifest b/app-accessibility/nfbtrans/Manifest
new file mode 100644
index 000000000000..5d68fd96fdab
--- /dev/null
+++ b/app-accessibility/nfbtrans/Manifest
@@ -0,0 +1,4 @@
+MD5 000c6f29acc5cd99dc1ea8d663d103aa nfbtrans-7.70.ebuild 808
+MD5 b1faf238be90a99b8d12591b15992e96 ChangeLog 300
+MD5 4d9150d98875467c85dbe0e275725ca1 files/nfbtrans-7.70-gentoo-fix.patch 1147
+MD5 2ecaeb8ca8564ced87e769f7724eeaec files/digest-nfbtrans-7.70 57
diff --git a/app-accessibility/nfbtrans/files/digest-nfbtrans-7.70 b/app-accessibility/nfbtrans/files/digest-nfbtrans-7.70
new file mode 100644
index 000000000000..b19f459def60
--- /dev/null
+++ b/app-accessibility/nfbtrans/files/digest-nfbtrans-7.70
@@ -0,0 +1 @@
+MD5 643eac79be529d8f9d15070df5169b35 nfbtr770.zip 470129
diff --git a/app-accessibility/nfbtrans/files/nfbtrans-7.70-gentoo-fix.patch b/app-accessibility/nfbtrans/files/nfbtrans-7.70-gentoo-fix.patch
new file mode 100644
index 000000000000..c0b3ebff2283
--- /dev/null
+++ b/app-accessibility/nfbtrans/files/nfbtrans-7.70-gentoo-fix.patch
@@ -0,0 +1,24 @@
+diff -Naur nfbtr.old/NFBTRANS.C nfbtr/NFBTRANS.C
+--- nfbtr.old/NFBTRANS.C 2002-07-04 07:07:16.000000000 -0500
++++ nfbtr/NFBTRANS.C 2004-04-24 11:52:48.113182536 -0500
+@@ -6,7 +6,7 @@
+ #define LINT_ARGS
+ #define DOS
+ #else
+-#define UNIX_PATH "/usr/local/lib/"
++#define UNIX_PATH "/etc/nfbtrans/"
+ #endif /* unix */
+ #include <stdio.h>
+ #include <sys/types.h>
+diff -Naur nfbtr.old/NFBTRANS.FMT nfbtr/NFBTRANS.FMT
+--- nfbtr.old/NFBTRANS.FMT 2002-07-04 07:16:50.000000000 -0500
++++ nfbtr/NFBTRANS.FMT 2004-04-24 12:42:23.268004836 -0500
+@@ -74,7 +74,7 @@
+ three places. First, you can define an environment variable NFBTRANS to point to
+ the directory containing nfbtrans.cnf. In DOS use ~0set NFBTRANS=c:\NFBTRANS.
+ ~2Second the program searches in the current directory. Third, the program
+-location is used in MSDOS or ~0/usr/local/lib ~2in Unix. If nfbtrans.cnf
++location is used in MSDOS or ~0/etc/nfbtrans ~2in Unix. If nfbtrans.cnf
+ is found that directory is used to search for all table files as well as
+ the hyphenation dictionary. In other words, ~0nfbtrans.cnf ~2and ~1braille.tab
+ ~2must be in the same directory.
diff --git a/app-accessibility/nfbtrans/metadata.xml b/app-accessibility/nfbtrans/metadata.xml
new file mode 100644
index 000000000000..2f0bbe44021a
--- /dev/null
+++ b/app-accessibility/nfbtrans/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>accessibility</herd>
+<maintainer>
+ <email>williamh@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-accessibility/nfbtrans/nfbtrans-7.70.ebuild b/app-accessibility/nfbtrans/nfbtrans-7.70.ebuild
new file mode 100644
index 000000000000..3e5b06c2a8ba
--- /dev/null
+++ b/app-accessibility/nfbtrans/nfbtrans-7.70.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/nfbtrans/nfbtrans-7.70.ebuild,v 1.1 2004/05/02 01:02:36 williamh Exp $
+
+inherit eutils
+
+DESCRIPTION="The braille translator from the National Federation of the Blind"
+HOMEPAGE="http://www.nfb.org/nfbtrans.htm"
+SRC_URI="http://www.nfb.org/braille/nfbtrans/nfbtr770.zip"
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+RDEPEND="virtual/glibc"
+DEPEND="${RDEPEND}
+ >=app-arch/unzip-5.50-r2"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gentoo-fix.patch
+ mv MAKEFILE Makefile
+ mv SPANISH.ZIP spanish.zip
+ make lowercase || die
+}
+
+src_compile() {
+ make LIBS= CFLAGS="${CFLAGS} -DLINUX" all || die
+}
+
+src_install() {
+ dobin nfbtrans
+ dodoc *fmt readme.txt makedoc
+ insinto /etc/nfbtrans
+ doins *cnf *tab *dic spell.dat *zip
+}