summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1997-06-08 11:23:36 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1997-06-08 11:23:36 +0000
commita57abb68af0b60bb8eec0d13ec7e678eaeb42f0f (patch)
tree130963875e0e91a02ca957ca04d71cbe240732b0
parentDiablo isn't written in perl; I am therefore not the MAINTAINTER. (diff)
Added new port tkhylafax which is a tcl/tk frontend to Sam Lefflers
hylafax package. Packaging tested.
Notes
Notes: svn path=/head/; revision=6797
-rw-r--r--comms/tkhylafax/Makefile24
-rw-r--r--comms/tkhylafax/distinfo1
-rw-r--r--comms/tkhylafax/files/patch-aa46
-rw-r--r--comms/tkhylafax/files/patch-ab19
-rw-r--r--comms/tkhylafax/pkg-comment1
-rw-r--r--comms/tkhylafax/pkg-descr12
-rw-r--r--comms/tkhylafax/pkg-plist18
7 files changed, 121 insertions, 0 deletions
diff --git a/comms/tkhylafax/Makefile b/comms/tkhylafax/Makefile
new file mode 100644
index 000000000000..fda7e96c0d0e
--- /dev/null
+++ b/comms/tkhylafax/Makefile
@@ -0,0 +1,24 @@
+# New ports collection Makefile for: tkhylafax-3.0
+# Version required: 3.0b2
+# Date released: Sun Jun 8 11:51:21 CEST 1997
+# Whom: Andreas Klemm <andreas@klemm.gtn.com>
+#
+# $Id$
+#
+
+DISTNAME= tkhylafax-3.0b2
+PKGNAME= tkhylafax-3.0
+CATEGORIES= comms
+MASTER_SITES= http://www.NeoSoft.com/tcl/ftparchive/sorted/comm/tkhylafax-3.0b2/
+
+MAINTAINER= andreas@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/tkhylafax-3.0
+RUN_DEPENDS= wish4.2:${PORTSDIR}/x11/tk42 \
+ sendfax:${PORTSDIR}/comms/hylafax \
+ gs:${PORTSDIR}/print/ghostscript4 \
+ gv:${PORTSDIR}/print/gv
+
+MAN1= tkhylafax.1
+
+.include <bsd.port.mk>
diff --git a/comms/tkhylafax/distinfo b/comms/tkhylafax/distinfo
new file mode 100644
index 000000000000..c78625ae48ac
--- /dev/null
+++ b/comms/tkhylafax/distinfo
@@ -0,0 +1 @@
+MD5 (tkhylafax-3.0b2.tar.gz) = 69b349ff7c6509769d17080109d2c765
diff --git a/comms/tkhylafax/files/patch-aa b/comms/tkhylafax/files/patch-aa
new file mode 100644
index 000000000000..269edad06a01
--- /dev/null
+++ b/comms/tkhylafax/files/patch-aa
@@ -0,0 +1,46 @@
+--- Makefile.orig Sun Dec 29 19:26:39 1996
++++ Makefile Sun Jun 8 13:06:59 1997
+@@ -14,10 +14,10 @@
+ TCLMAN_DEST = /usr/local/man/man1
+
+ # The full path to tclsh
+-TCLSH = /usr/local/bin/tclsh
++TCLSH = tclsh7.6
+
+ # The full path to wish.
+-WISH = /usr/local/bin/wish
++WISH = wish4.2
+ ### DON'T EDIT ANYTHING BELOW THIS LINE ###
+
+ TCLLIB_FILES = \
+@@ -40,7 +40,9 @@
+ TCLPRG_FILE = tkhylafax
+ TCLMAN_FILE = tkhylafax
+
+-all: lib install.man tkhylafax
++all:
++
++install: lib install.man tkhylafax.inst
+ echo 'auto_mkindex $(TCLLIB_DEST) *.tcl *.t' | $(TCLSH);
+
+ $(TCLLIB_DEST):
+@@ -59,16 +61,15 @@
+ if [ ! -d $(TCLPRG_DEST) ]; then mkdir -p $(TCLPRG_DEST); fi
+ chmod 775 $(TCLPRG_DEST)
+
+-tkhylafax: $(TCLPRG_DEST)
++tkhylafax.inst: $(TCLPRG_DEST)
+ @echo "Patching tkhylafax..."
+ mv tkhylafax tkhylafax.unpatched
+ sed -e 's|XXX_TKHYLAFAX_XXX|$(TCLLIB_DEST)|g' \
+ tkhylafax.unpatched > tkhylafax
+ @echo "Done"
+ @echo "Installing tkhylafax command..."
+- cp $(TCLPRG_FILE) $(TCLPRG_DEST)/$@
+- chmod 775 $(TCLPRG_DEST)/$@
+- mv tkhylafax.unpatched tkhylafax
++ cp $(TCLPRG_FILE) $(TCLPRG_DEST)/tkhylafax
++ chmod 775 $(TCLPRG_DEST)/tkhylafax
+ @echo "Done"
+
+ install.man:
diff --git a/comms/tkhylafax/files/patch-ab b/comms/tkhylafax/files/patch-ab
new file mode 100644
index 000000000000..22301325fc6d
--- /dev/null
+++ b/comms/tkhylafax/files/patch-ab
@@ -0,0 +1,19 @@
+--- tkhylafax.orig Tue Dec 31 02:49:43 1996
++++ tkhylafax Sun Jun 8 12:34:58 1997
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ #\
+-exec wish "$0" ${1+"$@"}
++exec wish4.2 "$0" ${1+"$@"}
+
+ #
+ #
+@@ -291,7 +291,7 @@
+
+ proc previewCover { args } {
+
+- set faxcmd "[mkCover] | ghostview -"
++ set faxcmd "[mkCover] | gv -"
+
+ # Exec it
+ if {[catch {eval exec $faxcmd &} err]} {
diff --git a/comms/tkhylafax/pkg-comment b/comms/tkhylafax/pkg-comment
new file mode 100644
index 000000000000..e5afccad593e
--- /dev/null
+++ b/comms/tkhylafax/pkg-comment
@@ -0,0 +1 @@
+a tcl/tk interface to Sam Leffler's fax package
diff --git a/comms/tkhylafax/pkg-descr b/comms/tkhylafax/pkg-descr
new file mode 100644
index 000000000000..552e5f9d448a
--- /dev/null
+++ b/comms/tkhylafax/pkg-descr
@@ -0,0 +1,12 @@
+tkhylafax is a tcl/tk interface to Sam Leffler's HYLAFAX package
+
+features:
+ o Batching fax destinations
+ o Builtin 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
diff --git a/comms/tkhylafax/pkg-plist b/comms/tkhylafax/pkg-plist
new file mode 100644
index 000000000000..e674b0e07709
--- /dev/null
+++ b/comms/tkhylafax/pkg-plist
@@ -0,0 +1,18 @@
+bin/tkhylafax
+lib/tkhylafax-3.0/entryDialog.t
+lib/tkhylafax-3.0/extract.t
+lib/tkhylafax-3.0/faxIt.t
+lib/tkhylafax-3.0/fileSelect.t
+lib/tkhylafax-3.0/listBatches.t
+lib/tkhylafax-3.0/mkCover.t
+lib/tkhylafax-3.0/mkWidgets.t
+lib/tkhylafax-3.0/options.t
+lib/tkhylafax-3.0/preferences.t
+lib/tkhylafax-3.0/rolodex.t
+lib/tkhylafax-3.0/searchEntries.t
+lib/tkhylafax-3.0/sendBatch.t
+lib/tkhylafax-3.0/svrStatus.t
+lib/tkhylafax-3.0/tkhylafax.xbm
+lib/tkhylafax-3.0/viewBatch.t
+lib/tkhylafax-3.0/tclIndex
+man/man1/tkhylafax.1.gz