summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/tkhylafax/ChangeLog9
-rw-r--r--x11-misc/tkhylafax/Manifest4
-rw-r--r--x11-misc/tkhylafax/files/digest-tkhylafax-3.21
-rw-r--r--x11-misc/tkhylafax/files/tkhylafax-3.2-gentoo.patch60
-rw-r--r--x11-misc/tkhylafax/metadata.xml21
-rw-r--r--x11-misc/tkhylafax/tkhylafax-3.2.ebuild56
6 files changed, 149 insertions, 2 deletions
diff --git a/x11-misc/tkhylafax/ChangeLog b/x11-misc/tkhylafax/ChangeLog
new file mode 100644
index 000000000000..659f99a67ee1
--- /dev/null
+++ b/x11-misc/tkhylafax/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for x11-misc/tkhylafax
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/tkhylafax/ChangeLog,v 1.1 2003/09/24 02:54:16 nerdboy Exp $
+
+*tkhylafax-3.2 (23 Sep 2003)
+
+ 23 Sep 2003; <sarnold@gentoo.org> metadata.xml, tkhylafax-3.2.ebuild:
+ new tkhylafax ebuild of old but functional code
+
diff --git a/x11-misc/tkhylafax/Manifest b/x11-misc/tkhylafax/Manifest
index 0f7eafda49be..891d0e7ecb58 100644
--- a/x11-misc/tkhylafax/Manifest
+++ b/x11-misc/tkhylafax/Manifest
@@ -1,5 +1,5 @@
MD5 19ccc49b7e8009feff645035f677aa2a metadata.xml 733
-MD5 158bf16afff52a157284652426bd33c2 tkhylafax-3.2.ebuild 1544
-MD5 65cb20b3b902d5abd7fec6a75c0a7eb9 ChangeLog 280
+MD5 7b25dab4dec1b655288708b9f8e79308 tkhylafax-3.2.ebuild 1645
+MD5 cfb09e92b8790296b08a5326213c022e ChangeLog 372
MD5 af7f521e01be67e20287b579d279026b files/digest-tkhylafax-3.2 64
MD5 0c2025b78a16cb6caa64ff3bec151cd6 files/tkhylafax-3.2-gentoo.patch 1832
diff --git a/x11-misc/tkhylafax/files/digest-tkhylafax-3.2 b/x11-misc/tkhylafax/files/digest-tkhylafax-3.2
new file mode 100644
index 000000000000..7344d713e88b
--- /dev/null
+++ b/x11-misc/tkhylafax/files/digest-tkhylafax-3.2
@@ -0,0 +1 @@
+MD5 e764c974563a4a7f6a0b258aa47ddeb3 tkhylafax-3.2.tar.gz 28007
diff --git a/x11-misc/tkhylafax/files/tkhylafax-3.2-gentoo.patch b/x11-misc/tkhylafax/files/tkhylafax-3.2-gentoo.patch
new file mode 100644
index 000000000000..9d055a2c01e0
--- /dev/null
+++ b/x11-misc/tkhylafax/files/tkhylafax-3.2-gentoo.patch
@@ -0,0 +1,60 @@
+--- Makefile.orig 1998-03-14 11:57:48.000000000 -0800
++++ Makefile 2003-09-17 16:29:52.000000000 -0700
+@@ -14,7 +14,7 @@
+ TCLPRG_DEST = $(PREFIX)/bin
+
+ # The directory where the man page will be installed
+-TCLMAN_DEST = $(PREFIX)/man/man1
++TCLMAN_DEST = $(PREFIX)/share/man/man1
+
+ # The full path to tclsh
+ TCLSH = /usr/bin/tclsh
+@@ -23,7 +23,7 @@
+ WISH = /usr/bin/wish
+
+ # The full path to your postscript viewer
+-GHOSTVIEW = /usr/X11/bin/gv
++GHOSTVIEW = /usr/bin/gv
+
+ ### DON'T EDIT ANYTHING BELOW THIS LINE ###
+
+@@ -66,7 +66,7 @@
+
+ $(TCLLIB_DEST):
+ if [ ! -d $(TCLLIB_DEST) ]; then mkdir -p $(TCLLIB_DEST); fi
+- chmod 775 $(TCLLIB_DEST)
++ chmod 755 $(TCLLIB_DEST)
+
+ install.lib: $(TCLLIB_DEST)
+ @echo "Installing tkhylafax library..."
+@@ -78,15 +78,17 @@
+
+ $(TCLPRG_DEST):
+ if [ ! -d $(TCLPRG_DEST) ]; then mkdir -p $(TCLPRG_DEST); fi
+- chmod 775 $(TCLPRG_DEST)
++ chmod 755 $(TCLPRG_DEST)
+
+ install.tkhylafax: $(TCLPRG_DEST) $(TCLPRG_FILE)
+ @echo "Installing tkhylafax command..."
+ cp $(TCLPRG_FILE) $(TCLPRG_DEST)/$(TCLPRG_FILE)
+- chmod 775 $(TCLPRG_DEST)/$(TCLPRG_FILE)
++ chmod 755 $(TCLPRG_DEST)/$(TCLPRG_FILE)
+ @echo "Done"
+
+ install.man:
++ if [ ! -d $(TCLMAN_DEST) ]; then mkdir -p $(TCLMAN_DEST); fi
++ chmod 755 $(TCLMAN_DEST)
+ cp $(TCLMAN_FILE).man $(TCLMAN_DEST)/$(TCLMAN_FILE).1
+
+ clean:
+--- tkhylafax-3.2.README.orig 1998-03-14 10:27:38.000000000 -0800
++++ tkhylafax-3.2.README 2003-09-17 15:52:46.000000000 -0700
+@@ -22,7 +22,7 @@
+ This is release 3.2 of tkhylafax (formally known as tkflexfax). The latest
+ version of tkhylafax can be found at:
+
+- ftp://ftp.sgi.com/sgi/fax/contrib/tkhylafax
++ ftp://ftp.hylafax.org/contrib/tkhylafax
+
+ Tkhylafax is based on tcl7.6 and tk4.2, and may not work with earlier versions.
+ See the file INSTALL to install tkhylafax. Of course, you MUST have
diff --git a/x11-misc/tkhylafax/metadata.xml b/x11-misc/tkhylafax/metadata.xml
new file mode 100644
index 000000000000..f65ea35d96d0
--- /dev/null
+++ b/x11-misc/tkhylafax/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>comm-fax</herd>
+<maintainer>
+ <email>nerdboy@gentoo.org</email>
+ <name>Steve Arnold</name>
+ <description>Primary Maintainer</description>
+</maintainer>
+<longdescription>Front end for sending faxes with HylaFAX. Current features include:
+ o Batching fax destinations
+ o Built-in faxnumber database
+ o Fast cover sheet generation
+ o Cover sheet preview
+ o Cover sheet ONLY transmission option
+ o Directory browser
+ o Fax job dequeuing made easier
+ o Fax job scheduling made easier
+ o Highly configurable
+<longdescription>
+</pkgmetadata>
diff --git a/x11-misc/tkhylafax/tkhylafax-3.2.ebuild b/x11-misc/tkhylafax/tkhylafax-3.2.ebuild
new file mode 100644
index 000000000000..8bf694951276
--- /dev/null
+++ b/x11-misc/tkhylafax/tkhylafax-3.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/tkhylafax/tkhylafax-3.2.ebuild,v 1.1 2003/09/24 02:54:16 nerdboy Exp $
+
+# This is a new ebuild for the tkHylafax client. This code has barely been
+# touched in several years, but it works well enough, and is the only
+# *nix client I found that has certain features...
+
+IUSE="tcltk"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Tk-based client for HylaFAX(tm) with rolodex and batch faxing support."
+HOMEPAGE="http://www.hylafax.org"
+SRC_URI="ftp://ftp.hylafax.org/contrib/tkhylafax/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="freedist"
+KEYWORDS="x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm"
+
+DEPEND="dev-lang/tk"
+
+RDEPEND="${DEPEND}
+ app-text/gv"
+
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}/${P}
+ patch -p0 < ${FILESDIR}/${PF}-gentoo.patch
+}
+
+src_compile() {
+ # no 'econf' here because it only uses a static Makefile :(
+ make PREFIX=/usr build || die
+}
+
+src_install() {
+
+ dodir /usr/bin /usr/lib/tkhylafax-3.2 /usr/share/man/man1
+
+ # no 'emake' for the same reason.
+ make PREFIX=${D}/usr install.lib install.man install.tkhylafax || die
+
+ dodoc INSTALL CHANGES VERSION tkhylafax-3.2.README
+}
+
+pkg_postinst() {
+
+ cd /usr/lib/tkhylafax-3.2
+ echo 'auto_mkindex /usr/lib/tkhylafax-3.2 *.tcl *.t' | /usr/bin/tclsh
+
+ einfo "This package requires a HylaFAX(tm) server somewhere on your"
+ einfo "network (it can also be on the same machine) in order to be"
+ einfo "useful. Read the tkhylafax man page for important tips on"
+ einfo "configuring the proper environment variables for the batch"
+ einfo "and rolodex data."
+} \ No newline at end of file